diff options
author | Matthew Lemon <y@yulqen.org> | 2023-03-17 14:18:36 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-03-17 14:18:36 +0000 |
commit | 9f90160ce7b0b1d05dcb2ea0c9a6b1144a4024af (patch) | |
tree | d5dc77c417818ae532fd4099a499625d6184ee18 /vim | |
parent | e2e70a4c360f929103b4899e2a0f44fbb8ae5f63 (diff) |
added vim stuff for copy and paste
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -445,6 +445,13 @@ command! -bang -nargs=* Rg nnoremap <C-p>a :Rg +" from https://www.youtube.com/watch?v=E_rbfQqrm7g +" easier copy and pasting to and from external in vim! +" this copies to clipboard and primary selection +vn remap <C-c> "*y let @+=@*<CR> +" make sure you are in normal mode for this to work, I think. +map <C-v> "+P + "" Quick Editing vimrc nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr> |