[Vim-latex-devel] feature request: a$, i$ word objects
Brought to you by:
srinathava,
tmaas
From: Dan S. <da...@st...> - 2014-03-19 17:49:54
|
It would be nice to allow selection of the text within dollar signs by typing vi$ (similarly, replacing this text with ci$, etc.). This is the only feature I miss from LatexBox. To see how LatexBox does it, search their code for "SelectInlineMath". I was able to steal this functionality by copying this and a few support functions into my after/ftplugin/tex.vim. A less sophisticated way is explained in http://vim.wikia.com/wiki/Text_object_for_formulas_in_Latex And thanks to all of the developers who make vim-latex a success! - Dan |