Vi - ": call append ()"

Where can I find out about additional commands like this using the call command? I can't seem to type relevant keywords on Google.

+6
vi
source share
2 answers

"call" can call any vim function. You can write your own function or use the built-in function.

To see all the built-in functions and what they do, use

:help functions 

in vim. Ctrl +] when viewing this list, advanced explanations of functions will switch. Use j / k, as usual, to scroll through the list.

+3
source share

You can write a Vim function to do anything, and then call it with :call func() . The language is called vim script, it is not too difficult to learn. Vim wiki has an excellent tutorial on this . There is also a vim vikibook script there.

So, to answer your question, the challenge command can do anything! This is what you program.

+1
source share

All Articles