Closed michamos closed 8 years ago
Hmm, no, this does not reproduce with me. That is, I can confirm that the motion is unexpected outside of $...$
pairs, but not for the other ones.
Should be fixed in the recent update.
:+1: it works great now!
Great :)
%
behaves differently withvimtex
from standard Vim.To reproduce, start Vim with the provided
minivimrc
asvimrc
(using the-u
option), and in an empty Vim buffer (that does not haveft=tex
), add the linePlace the cursor on the first
b
and execute the commandd%
. Result:(aaa)
.Do the same thing in a buffer with
ft=tex
(for example, add that line to thetest/template/minmal.tex
file). Result:bb (ccc)
, meaning that the%
motion goes backwards when using Vimtex instead of forwards. This is a general feature, and occurs for many paired delimiters ({...}
,$...$
, etc.) and makes the%
motion completely useless when being outside a pair.