aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorclaw0ry <me@claw0ry.net>2025-01-06 14:05:59 +0100
committerclaw0ry <me@claw0ry.net>2025-01-06 14:05:59 +0100
commitbdb3404ecdc5ff7e46abc0a2b95f396255490cb9 (patch)
tree729fe2b54000bf297c6c870b73aab7626a22d38f /.vimrc
parentvim: add statusline (diff)
vim: keybinding for copying whole file to system clipboard
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index fce04da..5434ffa 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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