For instance, I want to list all the files contained into a directory:
:r ! ls -l my_dir
Another nice example, I want to show the directory tree of my project into my documentation :
:r ! tree -d
Note : On OSX, you can install
tree
with Homebrew easily:brew install tree
Aucun commentaire:
Enregistrer un commentaire