falstro / ghost-text-vim

Ghost Text for VIm
MIT License
52 stars 9 forks source link

Expands literal \t #19

Closed inducer closed 5 years ago

inducer commented 6 years ago

If the textarea contains a \t (not a Tab, but a backslash-T), that shows up as a Tab in vim.

jclds139 commented 5 years ago

It looks like it processes all \ characters as escapes. Using this with e.g. a LaTeX editor is impractical since every \ command gets removed.

falstro commented 5 years ago

Not sure what I was thinking, but forgot to escape backslashes (in addition to quotes) when creating the vim expression