I can use fd
to jump to the next d
character. How can I jump to the next semicolun? f;
doesn't seem to work. Also, for other special symbols.
Thanks
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityI had a similar problem a while back. As a temporary solution you can use /;
, and then use n.
This will search for ;
and jump to that position
:map f
and:map f;
. If there's nothing there start vim withvim -u NONE <file>
and try again. If that works than you have something in your configuration, probably a plugin, interfering with the default behavior.:nmap f
show? Regardless, I see a plugin called vim-yankstack that has a similar looking mapping that is applied dynamically:smap <expr>' key '<SID>yank_with_key("' . key . '")
. There is also a Normal mode mapping along the same lines. If you are using this plugin it seems like a good place to dig further.:echo g:yankstack_yank_keys
. If there's a result and it contains "f" (the default does not) then that's a probable cause.