I would like to select the whole function by going to VISUAL
mode and using to go to the last character and then going to the matching bracket with
.
Doing this in
NORMAL
mode works fine, but when in VISUAL
, it doesn’t.
How can I fix this? Or, what should I check to fix this?
Fixed by changing major mode. It seems
typescript-ts-mode
didn’t work well with tsx files, so switched totsx-ts-mode
(after upgrading https://github.com/llemaitre19/jtsx)