diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-03-02 00:51:30 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-03-02 00:51:30 +0100 |
| commit | 86a45264bb20a918d428d8939ab16f701389498b (patch) | |
| tree | e6674380b9a054f660b18e6fff4da026aecd2e54 /.vimrc | |
| parent | e6de2fbdf210bf110dfe43d8f8a6cf89bcf07fcb (diff) | |
Fixes vim multi-instance copy fails on first paste on wayland
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -76,6 +76,9 @@ let &colorcolumn="80,".join(range(121,125),",") " Highlight the 80, 121-> column set encoding=utf-8 " set the encoding to utf-8 set t_Co=256 " set terminal color 265 set clipboard=unnamedplus,unnamed " fix not copying between clipboard and vim +if !empty($WAYLAND_DISPLAY) && executable('wl-copy') + autocmd TextYankPost * silent! call system('wl-copy', @") +endif set backspace=indent,eol,start " fix backspace not deleteing existing text set number " set numbers column on the left set complete-=i " Faster vim completion |
