I'm using vim for C programming and I have a question about jumping to the next/previous character. I can use f or F to jump to the next or previous character correspondingly. But this does not work with multiline.
The problem I'm trying to solve is to jump to the previous {
or next }
to quickly get to the function signature I'm currently looking at.
{
and}
, this would be[[
and][
. Have a look at:h 29.3
, paragraph MOVING IN CODE BLOCKS. Also this answer by me gives some more context about them. – Hotschke Nov 18 '18 at 8:53fFtT
are not restricted to the current line, there are several plugins which provide this and additional functionality: vim-fanfingtastic, improvedft, vim-extended-ft, clever-f.vim and probably more. – Hotschke Nov 18 '18 at 9:02/?
are easymotion and vim-sneak. – Hotschke Nov 18 '18 at 9:06