Vim: Insert the output of a command
In normal mode insert the output of a command as a new line like this:
!! cat ~/.ssh/id_dsa.pub
In insert mode you can insert the output at current cursor position with something like this:
Ctrl+R =system('date')
Written by Ed
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#