summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-05-17 03:23:37 +0200
committerache <ache@ache.one>2017-05-17 03:23:37 +0200
commit005e1c8906179cf77baa880a03677ef8f35847ef (patch)
tree0ea8e240a05714268ac6f9f99169a15cbab8d59f
parentNew C inormap (diff)
nnoremap for clipboard
-rwxr-xr-xplugin/perso.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/perso.vim b/plugin/perso.vim
index 40e88ee..fbfd8c4 100755
--- a/plugin/perso.vim
+++ b/plugin/perso.vim
@@ -69,7 +69,10 @@ inoremap ##main int main(int argc, char* argv[]) {<CR>}<Esc><Up>A
" Personal shortcurts
-nnoremap <silent>èè__ :set paste<CR>m`o<Esc>``:set nopaste<CR>
+" Copy clip
+nnoremap <silent>èè__ :set paste<CR>mn"+p'n:set nopaste<CR>
+" Select clip
+nnoremap <silent>èèè_ :set paste<CR>mn"*p'n:set nopaste<CR>
nmap <C-X> :TagbarToggle<CR>
ca tn tabnew