0

When using vim, we can use :!ls to execute shell command, but how can we import the ls output into vim for editing?

1 Answer 1

3

See ":help :read!". For example:

:read !ls

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .