Explore and Delete Files in vim

grepliz profile image Liz Lam ・1 min read

Hello World! I'm back to talk to about my favorite editor.

Did you know that you are not just restricted to editing in vim?

Alt Text

You can explore your current directory by hitting :Ex.

This will show a list view of your files and you can navigate up (j) or down (k) with the usual methods.

You can also delete a file by hitting: SHIFT + D and confirming with y.

To go back to editing, select the file and hit ENTER.


markdown guide

Thanks for the post! If you want some enhancements to the directory browser, you can check out github.com/tpope/vim-vinegar


Always get amazed when I open a JAR file with vim and navigate/search through its content. This is agile!