added copy and paste from clipboard to neovim

This commit is contained in:
paul-loedige
2021-04-26 17:55:37 +02:00
parent 4f529a44c5
commit e9141b2f01
+12
View File
@@ -29,6 +29,18 @@ let g:vimtex_view_method = 'zathura'
" lightline
set laststatus=2
" activate spell-checking
set spell
" enable copy and past to and fro clipboard
vnoremap <leader>y "+y
nnoremap <leader>Y "+yg_
nnoremap <leader>y "+y
nnoremap <leader>p "+p
nnoremap <leader>P "+P
vnoremap <leader>p "+p
vnoremap <leader>P "+P
"NERDTree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif