diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2014-05-28 23:42:44 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2014-05-28 23:42:44 +0200 |
commit | 652b98647f3018fcbca53e8c559d4ff78ee64912 (patch) | |
tree | 4c4ab84bbd85c6f05c572389d3d1df97b0ea5c9f /.vimrc | |
parent | Match <, > too in vim % command (diff) | |
download | vim_sync-652b98647f3018fcbca53e8c559d4ff78ee64912.tar.xz |
Add leader and use it in "reselect pasted text" operation
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ "Cancel vi compatibility set nocompatible +let mapleader="," + "Move .swp files to /tmp - SSD will like it! "set backupdir=/tmp "set directory=/tmp @@ -175,6 +177,9 @@ nnoremap <C-j> <C-W>j nnoremap <C-k> <C-W>k nnoremap <C-l> <C-W>l +"reselect just pasted text +nnoremap <leader>p `[V`] + "edit operations imap <C-F> </><Esc>2F<lywf>f/pF<i imap <C-D> </><Esc>2F<lywf>f/pF<i<Enter><Enter><Up><Tab> |