How do I get the output from a Vim function into the current buffer?
You can insert the return value from a function using the following command in insert mode:
=MyFunc()
Note, that this will only insert the return value of the function. For more information, read: i_CTRL-R i_CTRL-R_CTRL-R i_CTRL-R_CTRL-O expression
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE