diff options
author | claw0ry <me@claw0ry.net> | 2025-01-06 14:05:59 +0100 |
---|---|---|
committer | claw0ry <me@claw0ry.net> | 2025-01-06 14:05:59 +0100 |
commit | bdb3404ecdc5ff7e46abc0a2b95f396255490cb9 (patch) | |
tree | 729fe2b54000bf297c6c870b73aab7626a22d38f /.vimrc | |
parent | vim: add statusline (diff) |
vim: keybinding for copying whole file to system clipboard
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,8 +145,8 @@ autocmd FocusGained,BufEnter * :checktime " open file explorer nnoremap <leader>pv :Ex<CR> -" copy the whole file and stay where you are -nnoremap <leader>yy ggVGy<C-o> +" copy the whole file +nnoremap <leader>a :%y+<CR> " move visual line(s) up and down vnoremap J :m '>+1<CR>gv=gv |