vim keybinding for copy-paste

This commit is contained in:
2024-04-15 17:32:09 +05:30
parent 47c2c5e214
commit e6c800748d

6
vimrc
View File

@@ -91,3 +91,9 @@ nmap <leader>r <Plug>(coc-rename)
nnoremap <C-p> :Files<Cr> nnoremap <C-p> :Files<Cr>
" the_silver_searcher " the_silver_searcher
nnoremap <C-g> :Ag<Cr> nnoremap <C-g> :Ag<Cr>
" copy-paste
noremap <Leader>y "*y
noremap <Leader>p "*p
noremap <Leader>Y "+y
noremap <Leader>P "+p