commit c2f5ae194eb4665a8ec6e39f706ed926c3ab4e28
parent 12d2624e12d5704e5c03c23c98156ac9e64e5997
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 29 Sep 2020 13:12:14 +0200
vim: mapping to sync clipboards
Former-commit-id: 2814fa3985eb4fb5c45b5dd4cb3d2c7e95c37438
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -814,6 +814,7 @@ nnoremap <leader>P "+P
nnoremap <leader>n "_
vnoremap <leader>n "_
nnoremap <leader>yy "+yg_
+nnoremap <leader>y<leader> :<c-u>let @*=@0<CR>
nnoremap Y y$
" Insert lines without moving cursor and going into insert mode