added copy and paste from clipboard to neovim
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user