Thursday, May 3, 2012

Accessing command line from within VIM

This has proven pretty handy and wanted to document so I wouldn't forget.

To suspend VIM and reveal the current command line:

"Ctrl+Z" then run your commands as normal and then "fg" to return to VIM.

This will also execute the command and wait for you to hit enter before proceeding:

":!"

No comments: