commit db25f8471da832641a399bd331d6f7099f61e6a1
parent 04cc94c1f351fef51e00541b9c8ebd4867e26c4f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 7 Apr 2019 11:14:53 +0200
Visual yank to clipboard map
Former-commit-id: e0eed59f7ad3f6ec86cc06d2724729769654ccc1
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -104,10 +104,12 @@ nnoremap <C-E><C-M> :vsplit $CONF_DIR/vim/map.vimrc<CR>
nnoremap <C-E><C-P> :vsplit $CONF_DIR/vim/plugins.vimrc<CR>
nnoremap <C-E><C-L> :vsplit $CONF_DIR/vim/pluginconf.vimrc<CR>
+" Yank to clipboard
nnoremap <leader>y "*y
nnoremap <leader>p "*p
nnoremap <leader>P "*P
nnoremap <leader>ny "_y
+vnoremap <leader>y "*y
" This should be a plugin but for now...
" time (hh:mm-hh:mm) to duration in hours