Tip43: Explore the File System with netrw
January 12, 2021 ยท View on GitHub
Enable netrw plugin
set nocompatible filetype plugin on
Meet netrw ---Vim's Native File Explorer
vim directoryname
It's a regular Vim buffer, represents the contents of a directory.
if the cursor is positioned on a filename, the file is loaded into a buffer in the current window, replacing the file explorer.
-
.. <CR>
goto parent directory.
:edit {directory path}
open the file explorer
.
stands for the current working directory.
