Is it possible to make the surround plugin work on `TeX-style quotes' and ``TeX-style double quotes''? (Normally, if `this is quoted'| and `this', va' will select from the first closing mark to the second (if the cursor is at |).)
surround plugin and TeX quotes `'
cursor motions;plugin vim surround
You can create a customize surround by defining a variable g:surround_{key code}So for example you could dolet g:surround_96 = `\r'Where 96 is the key code for `. You can make this more readable by putting by letting vim determine the key code by using let g:surround_{char2nr(`)} = `\r'\r will be replaced by the relevant text. If you only want this to work in tex files you can put it in an autocmdautocmd FileType tex let b:surround_{char2nr(`)} = `\r'Usage would be ysiw`. Read :help surround-customizing