Skip to content

Commit

Permalink
Merge pull request #5 from atweiden/silent
Browse files Browse the repository at this point in the history
Silence textobj-quote in educate mode
  • Loading branch information
reedes committed Nov 13, 2014
2 parents 85e6874 + b698e7b commit 85b6b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/textobj/quote/educate.vim
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function! textobj#quote#educate#mapKeys(...)
if b:textobj_quote_educate_mapped
" For details on the leading <C-R>, see :help ins-special-special
" TODO use <expr> instead?
inoremap <buffer> " <C-R>=<SID>educateQuotes(1)<CR>
inoremap <buffer> ' <C-R>=<SID>educateQuotes(0)<CR>
inoremap <silent> <buffer> " <C-R>=<SID>educateQuotes(1)<CR>
inoremap <silent> <buffer> ' <C-R>=<SID>educateQuotes(0)<CR>
else
silent! iunmap <buffer> "
silent! iunmap <buffer> '
Expand Down

0 comments on commit 85b6b30

Please sign in to comment.