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

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind