diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index ba5b59b..5e3eb89 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -19,16 +19,24 @@ set showtabline=0 " performance? set lazyredraw nocursorline ttyfast -" use system clipboard instead of internal -set clipboard=unnamedplus -" when using c or s, do not overwrite clipboard -nnoremap c "-c -vnoremap c "-c -nnoremap s "-s -vnoremap s "-s - let mapleader = "," +" " use system clipboard instead of internal +" set clipboard=unnamedplus +" " when using c or s, do not overwrite clipboard +" nnoremap c "-c +" vnoremap c "-c +" nnoremap s "-s +" vnoremap s "-s + +" easier binds to use system clipboard with +nnoremap cy "+yy +vnoremap cy "+y +vnoremap cd "+d +nnoremap cd "+dd +nnoremap cp "+p +nnoremap cP "+P + set shell=/bin/sh hi Search cterm=NONE ctermfg=white ctermbg=blue