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 recognizei$
usable motion;vi$
select expected range.
Comments
Post a Comment