How do I open the directory containing the current file in netrw from within Vim?
The command :e %:h opens netrw (Vim's built-in file browser) in the directory that contains the current file.
category:
command-line
tags:
#command-line
#navigation
#buffers
#netrw
#editing
How do I create new files and directories directly inside Vim's built-in file browser without leaving Vim?
Vim's built-in file explorer netrw (opened with :Explore or :Ex) is more capable than it looks.
category:
buffers-windows
tags:
#buffers
#navigation
#netrw
#editing
How do I make Vim's built-in file explorer display files as a tree rather than a flat list?
Vim ships with a built-in file browser called netrw, opened with :Explore (or :Ex).
category:
config
tags:
#config
#navigation
#netrw
#buffers
How do I open a persistent file explorer sidebar using Vim's built-in netrw?
:Lexplore opens Vim's built-in netrw file explorer as a persistent sidebar anchored to the left of the screen.
category:
buffers-windows
tags:
#netrw
#file-explorer
#buffers
#windows
#navigation
How do I make netrw display files in a tree-style directory listing?
:let g:netrw_liststyle = 3
By default, netrw shows files in a flat listing.
category:
plugins
tags:
#netrw
#file-browser
#plugins
#configuration
#built-in
How do I rename files directly from Vim's built-in netrw file browser?
Vim's built-in file explorer netrw lets you rename files and directories without leaving the editor.
category:
plugins
tags:
#netrw
#file-management
#plugins
#rename
#built-in
How do I quickly browse the directory of the current file without leaving Vim?
The vim-vinegar plugin by Tim Pope enhances Neovim's built-in netrw file browser.
category:
plugins
tags:
#navigation
#files
#netrw
#plugins
#buffers
How do I open a URL under the cursor in my web browser from Vim?
The gx command opens the URL, file path, or identifier under the cursor using the system's default handler.
category:
navigation
tags:
#navigation
#netrw
#workflow
#browser
#normal-mode
How do I edit a file on a remote server directly from Vim?
:e scp://user@host//path/to/file
Vim's built-in netrw plugin supports editing files over the network using protocols like SCP, SFTP, and HTTP.
category:
command-line
tags:
#command-line
#netrw
#remote
#file-management
How do I browse and manage files using Vim's built-in file explorer?
:Explore / :Vexplore / :Sexplore
Vim ships with netrw, a built-in file explorer that lets you browse directories, open files, create new files, rename, and delete — all without plugins.
category:
buffers-windows
tags:
#navigation
#buffers
#file-management
#netrw
#productivity