mirror of
1
0
Fork 0

Fixed a conflict between yankstack and surround

It's related to re-mapping of the vmap
This commit is contained in:
amix 2017-08-16 11:16:53 +02:00
parent 866fbde30a
commit 3be3af28e5
1 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ map <leader>f :MRU<CR>
"""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""
" => YankStack " => YankStack
"""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""
let g:yankstack_yank_keys = ['y', 'd']
nmap <c-p> <Plug>yankstack_substitute_older_paste nmap <c-p> <Plug>yankstack_substitute_older_paste
nmap <c-n> <Plug>yankstack_substitute_newer_paste nmap <c-n> <Plug>yankstack_substitute_newer_paste
@ -92,7 +94,7 @@ let g:multi_cursor_next_key="\<C-s>"
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => surround.vim config " => surround.vim config
" Annotate strings with gettext http://amix.dk/blog/post/19678 " Annotate strings with gettext
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
vmap Si S(i_<esc>f) vmap Si S(i_<esc>f)
au FileType mako vmap Si S"i${ _(<esc>2f"a) }<esc> au FileType mako vmap Si S"i${ _(<esc>2f"a) }<esc>