commit 0f24de55a53dd8e0902d2b01443e1c5754008e80
parent aa232d73f6e55c8818bf9b9946f6de52a1cc94c5
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 11 Jan 2021 12:05:29 +0100
vim: map <leader>p to "0, <leader><leader>p to "*
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -828,8 +828,8 @@ vnoremap <leader>d "+d
nnoremap <leader>D "+D
nnoremap <leader>y "+y
vnoremap <leader>y "+y
-nnoremap <leader>p "+p
-nnoremap <leader>P "+P
+nnoremap <leader><leader>p "+p
+nnoremap <leader><leader>P "+P
nnoremap <leader>n "_
vnoremap <leader>n "_
nnoremap <leader>yy "+yg_
@@ -910,7 +910,9 @@ cnoremap <expr> <S-Tab> getcmdtype() =~ '[?/]' ? "<c-t>" : "<S-Tab>"
" Easier pasting
nnoremap <leader>p "0p
+vnoremap <leader>p "0p
nnoremap <leader>P "0P
+vnoremap <leader>P "0P
" Autocommands {{{1
if has('autocmd')
augroup vimrc_sets