To call a Vimscript method in Vim, first source the file.
:source ~/path/to/vimscript.vim
Next, put the cursor over the method call, and run that line.
:exec getline(".")
To call a Vimscript method in Vim, first source the file.
:source ~/path/to/vimscript.vim
Next, put the cursor over the method call, and run that line.
:exec getline(".")
Don’t miss my next essay
Hear from me immediately when I post: no ads, unsubscribe anytime.