commit e6c800748d614268f421a3b9b2f6ac9ffb8d77f5
parent 47c2c5e2147a6328ef802bdcc48a0a64efecfc7d
Author: Nirmal Kumar R <tildezero@gmail.com>
Date: Mon, 15 Apr 2024 17:32:09 +0530
vim keybinding for copy-paste
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/vimrc b/vimrc
@@ -91,3 +91,9 @@ nmap <leader>r <Plug>(coc-rename)
nnoremap <C-p> :Files<Cr>
" the_silver_searcher
nnoremap <C-g> :Ag<Cr>
+
+" copy-paste
+noremap <Leader>y "*y
+noremap <Leader>p "*p
+noremap <Leader>Y "+y
+noremap <Leader>P "+p