Tutorial by Examples

When attempting to print something for debugging in vimscript, it is tempting to simply do the following. echo "Hello World!" However, in the context of a complex plugin, there are often many other things happening right after you attempt to print your message, so it is important to ad...
Since a Vimscript file is a collection of Command mode actions, the user needs to specify that the desired actions should be executed in normal mode. Therefore executing a normal mode command like i, a, d etc. in Vimscript is done by prepending the command with normal: Going to the bottom of the f...

Page 1 of 1