Your cart is currently empty!
Vim: External Command
Insert from other file
:read <somefile> :r <somefile>
Insert command result
:read !ls :r !ls
Output to external command. If you do not define the range, then by default, it will use all lines (1, $) in the file as an input for that command.
console.log("Hello, World") :write !node :w !node
Running external command
:!ls :!node
Leave a Reply