commit 6a24f2f3dc89225ebc61ef5e33b20dc874572e53
parent 1609121174b43d3e1b40020fdde6a2eec78d73b4
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 5 May 2019 16:58:21 +0200
vim: delete/change/yank mappings
Former-commit-id: 3921c54d898c8b41c8509906a9de764e1be64586
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -88,11 +88,14 @@ nnoremap <C-E><C-P> :vsplit $DOTFILES/vim/plugins.vimrc<CR>
nnoremap <C-E><C-L> :vsplit $DOTFILES/vim/pluginconf.vimrc<CR>
" Yank to clipboard
+nnoremap <leader>d "*d
nnoremap <leader>y "*y
nnoremap <leader>p "*p
nnoremap <leader>P "*P
nnoremap <leader>ny "_y
+nnoremap <leader>nd "_d
vnoremap <leader>y "*y
+vnoremap <leader>d "*d
" This should be a plugin but for now...
" time (hh:mm-hh:mm) to duration in hours