Where can I learn about more commands like this using the "call" command? I can't seem to be able to type relevant keywords into google.
"call" can call any vim function. You can write your own function or use a built-in function.
To see all of the built-in functions and what they do, use
:help functions
in vim. Ctrl+] while viewing that list will toggle expanded function explanations. Use j/k as usual to scroll the list.
You can write a Vim function to do basically anything, then call it using :call func()
. The language is called vim script, it's not too difficult to learn. The vim wiki has an excellent tutorial on the matter. There's a wikibook on vim scripting as well.
So, to answer your question, the "call" command can do anything! It's whatever you program functions for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With