From 5ee21b885e8561da7b997f58f8dc31789fed7867 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Sat, 23 Oct 2021 13:53:50 +0200 Subject: [PATCH] nvim add copy&paste from system clipboard --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.vim b/init.vim index 70394b4..eea24dc 100644 --- a/init.vim +++ b/init.vim @@ -182,6 +182,10 @@ au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit " for file watching set backupcopy=yes +" copy&paste from system clipboard +vnoremap y "+y +vnoremap p "+p + " shortcut for theme change nnoremap :colorscheme gruvbox \| set background=dark \| highlight normal ctermbg=0 guibg=#000000 nnoremap :colorscheme gruvbox \| set background=light