diff options
author | Minijackson <minijackson@riseup.net> | 2021-05-28 19:01:05 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-05-28 19:01:05 +0200 |
commit | 906e4bf006317e53f407910ff1b089795060a1a1 (patch) | |
tree | e163e13034d13388cc809c6f98e3c5a7bccc29d5 /dotfiles/vim.lua | |
parent | 7b56fcf4c4bf95f763162a69e69290cb0c78bf9f (diff) | |
download | nixos-config-reborn-906e4bf006317e53f407910ff1b089795060a1a1.tar.gz nixos-config-reborn-906e4bf006317e53f407910ff1b089795060a1a1.zip |
vim: add vim-oscyank
Diffstat (limited to 'dotfiles/vim.lua')
-rw-r--r-- | dotfiles/vim.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/vim.lua b/dotfiles/vim.lua index ff29d30..27fa722 100644 --- a/dotfiles/vim.lua +++ b/dotfiles/vim.lua | |||
@@ -221,3 +221,9 @@ require("lualine").setup { | |||
221 | -- Snippets.nvim | 221 | -- Snippets.nvim |
222 | 222 | ||
223 | require("snippets").use_suggested_mappings() | 223 | require("snippets").use_suggested_mappings() |
224 | |||
225 | -- OSCyank | ||
226 | |||
227 | -- Text yanked into the "t register gets copied using OSC52 escape sequences | ||
228 | -- (e.g. goes through SSH) | ||
229 | vim.cmd "autocmd TextYankPost * if v:event.regname is 't' | OSCYankReg t | endif" | ||