diff options
author | Max Christian Pohle | 2023-10-20 16:43:03 +0200 |
---|---|---|
committer | Max Christian Pohle | 2023-10-20 17:36:48 +0200 |
commit | dd2623b7ce5f00ef9b1728efeef4538fd47a0d31 (patch) | |
tree | 71b4c7ad35ea258c359c4bd8d2ff9e494fadbfec /vimrc | |
parent | c0f915ed8c808c73195c90fdae62c19fc97a8d29 (diff) | |
parent | ebe1de13f1ae081af20ba22d7b62f7477d5062cd (diff) | |
download | vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.tar.bz2 vim-dd2623b7ce5f00ef9b1728efeef4538fd47a0d31.zip |
Merge Windows config
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") |