Select inside dollar signs in Vim with Vim/LaTeX plugin -


is there way select inside dollar signs $...$ possibly using tools within vim-latex suite? ideally, vi$ match vi(, vi[, vi" select contents inside parentheses, brackets, , quotes, respectively.

a macro such

let @q='f$lvt$'

is undesirable since isn't invoked obvious vi$.

thank you.

a possible answer is:

:onoremap <silent> i$ :<c-u>normal! t$vt$<cr> :vnoremap i$ t$ot$ 

this make following work:

  • di$, yi$, gui$, or command expects motion recognize i$ usable motion;
  • vi$ select expected range.

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -