I know how to run shell commands within vim using
:!, but is there a way I can do that from outside, i.e. from bash?
Something along the lines of
vim 'ls -al'. The output of
ls should be in vim and editable.
This question came from our site for professional and enthusiast programmers.