Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 230 Bytes

call-a-vimscript-method-in-vim.md

File metadata and controls

13 lines (9 loc) · 230 Bytes

Call a Vimscript Method in Vim

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(".")