You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<cr> Netrw will enter the directory or read the file
<del> Netrw will attempt to remove the file/directory
<c-h> Edit file hiding list
<c-l> Causes Netrw to refresh the directory listing
<c-r> Browse using a gvim server
<c-tab> Shrink/expand a netrw/explore window
- Makes Netrw go up one directory
a Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide), and showing (display only files which match g:netrw_list_hide)
c Make browsing directory the current directory
C Setting the editing window
d Make a directory
D Attempt to remove the file(s)/directory(ies)
gb Go to previous bookmarked directory
gd Force treatment as directory
gf Force treatment as file
gh Quick hide/unhide of dot-files
gn Make top of tree the directory below the cursor
i Cycle between thin, long, wide, and tree listings
mb Bookmark current directory
mc Copy marked files to marked-file target directory
md Apply diff to marked files (up to 3)
me Place marked files on arg list and edit them
mf Mark a file
mF Unmark files
mg Apply vimgrep to marked files
mh Toggle marked file suffices' presence on hiding list
mm Move marked files to marked-file target directory
mp Print marked files
mr Mark files using a shell-style |regexp|
mt Current browsing directory becomes markfile target
mT Apply ctags to marked files
mu Unmark all marked files
mv Apply arbitrary vim command to marked files
mx Apply arbitrary shell command to marked files
mX Apply arbitrary shell command to marked files en bloc
mz Compress/decompress marked files
o Enter the file/directory under the cursor in a new browser window. A horizontal split is used.
O Obtain a file specified by cursor
p Preview the file
P Browse in the previously used window
qb List bookmarked directories and history
qf Display information on file
qF Mark files using a quickfix list
qL Mark files using a |location-list|
r Reverse sorting order
R Rename the designated file(s)/directory(ies)
s Select sorting style: by name, time, or file size
S Specify suffix priority for name-sorting
t Enter the file/directory under the cursor in a new tab
u Change to recently-visited directory
U Change to subsequently-visited directory
v Enter the file/directory under the cursor in a new browser window. A vertical split is used.
x View file with an associated program
X Execute filename under cursor via |system()|
% Open a new file in netrw's current directory
<leftmouse> (gvim only) selects word under mouse as if a had been pressed (ie. edit file, change directory)
<middlemouse> (gvim only) same as P selecting word under mouse; see |netrw-P|
<rightmouse> (gvim only) delete file/directory using word under mouse
<2-leftmouse> (gvim only) when: * in a netrw-selected file, AND * |g:netrw_retmap| == 1 AND * the user doesn't already have a <2-leftmouse> mapping defined before netrw is autoloaded, then a double clicked leftmouse button will return to the netrw browser window. See |g:netrw_retmap|.
<s-leftmouse> (gvim only) like mf, will mark files. Dragging the shifted leftmouse will mark multiple files. (see |netrw-mf|)
The text was updated successfully, but these errors were encountered:
danprince
changed the title
additional netrw shortcuts
netrw shortcuts
Sep 7, 2023
The text was updated successfully, but these errors were encountered: