Quotation marks in LaTeX are different than in normal text, in that they're formatted ``like this''
(or `like this'
for single quotes). This makes it difficult to navigate through them in Vim.
I usually use something like T`ct'
(backwards until `
, change until '
). However, this is clunky and unnatural. I would prefer to be able to use something along the lines of ciq
("change in quotes"), just like I can do ciw
, ca)
, ci"
, ca'
, etc.
Is there any way to tell Vim to treat ``LaTeX'' `quotes'
as text objects? (As a plus, is there any way to only trigger this while editing a .tex
file?)