diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,11 +8,11 @@ set signcolumn=yes | |||
8 | set foldcolumn=1 | 8 | set foldcolumn=1 |
9 | 9 | ||
10 | 10 | ||
11 | if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) | 11 | " if ($XDG_SESSION_TYPE ==# 'wayland' || ! empty($WAYLAND_DISPLAY)) |
12 | autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents')) | 12 | " autocmd TextYankPost * call system("wl-copy", get(v:event, 'regcontents')) |
13 | nnoremap p :silent put =system('wl-paste')<CR> | 13 | " nnoremap p :silent put =system('wl-paste')<CR> |
14 | nnoremap P :silent put! =system('wl-paste')<CR> | 14 | " nnoremap P :silent put! =system('wl-paste')<CR> |
15 | endif | 15 | " endif |
16 | 16 | ||
17 | 17 | ||
18 | if has("nvim") | 18 | if has("nvim") |