Hi Andrew! How does vim knows what is a function? You used Python in your examples, but what if I use Javascript, Go, or something more niche like Scala?
If I understand it correctly, I is derived from the ftype (file mode). In some languages (C, Javascript, etc) where braces are used, it's less precise, where it jumps by block. Not precisely method or function, but once you get the feel for how it works for a particular file type it's certainly still useful.
Hi Andrew! How does vim knows what is a function? You used Python in your examples, but what if I use Javascript, Go, or something more niche like Scala?
If I understand it correctly, I is derived from the ftype (file mode). In some languages (C, Javascript, etc) where braces are used, it's less precise, where it jumps by block. Not precisely method or function, but once you get the feel for how it works for a particular file type it's certainly still useful.
In languages where braces are used, try ']]' and '[[' instead