Filesystem Exploration
Vim provides a file manager plugin called netrw. Since netrw is shipped with Vim, it is present in any Vim installation including systems you remotely access occasionally. Its this omnipresence that makes it worth taking the time to learn. Not to mention, the plugin is incredibly comprehensive. My use of it scarcely scratches the surface of its capabilities. I generally use netrw to perform simple filesystem navigation as well as adding or removing files and directories. To enter netrw:
:Explore
– explore the directory of the current file.:e .
– explore the current working directory of Vim.
Once inside netrw, the navigation experience is familiar. Keyboard motions like j
and k
and searching are supported. Here are some of the most common things I use in netrw:
%
– create a file.d
– create a directoryD
– remove a file or directoryR
– rename a file or directoryx
– open file in external program, like an image viewer.
The following screen capture shows a simple filesystem navigation and removal of a file.

For more information about netrw including neat features like editing files on remote systems, see :help netrw
.