Skip to content

Commit

Permalink
Fixed a conflict between yankstack and surround
Browse files Browse the repository at this point in the history
It's related to re-mapping of the vmap
  • Loading branch information
amix committed Aug 16, 2017
1 parent 866fbde commit 3be3af2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vimrcs/plugins_config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ map <leader>f :MRU<CR>
""""""""""""""""""""""""""""""
" => YankStack
""""""""""""""""""""""""""""""
let g:yankstack_yank_keys = ['y', 'd']

nmap <c-p> <Plug>yankstack_substitute_older_paste
nmap <c-n> <Plug>yankstack_substitute_newer_paste
Expand Down Expand Up @@ -92,7 +94,7 @@ let g:multi_cursor_next_key="\<C-s>"

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => surround.vim config
" Annotate strings with gettext http://amix.dk/blog/post/19678
" Annotate strings with gettext
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
vmap Si S(i_<esc>f)
au FileType mako vmap Si S"i${ _(<esc>2f"a) }<esc>
Expand Down

0 comments on commit 3be3af2

Please sign in to comment.