summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 87bb5bb..a4fae72 100644
--- a/.vimrc
+++ b/.vimrc
@@ -34,6 +34,10 @@ Bundle 'junegunn/limelight.vim'
call vundle#end()
filetype plugin indent on
"}}}
+"
+xnoremap "+y y:call system("wl-copy", @")<cr>
+nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
+nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
" Basic stuff {{{
set encoding=utf-8
set scrolloff=3