Skip to content

Instantly share code, notes, and snippets.

@ThreeNG
Forked from t-mart/netrw quick reference.md
Created January 30, 2018 08:45
Show Gist options
  • Select an option

  • Save ThreeNG/b29fbcdbe59192f1c39986a42cfe2cfa to your computer and use it in GitHub Desktop.

Select an option

Save ThreeNG/b29fbcdbe59192f1c39986a42cfe2cfa to your computer and use it in GitHub Desktop.

Revisions

  1. @t-mart t-mart revised this gist Dec 30, 2015. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions netrw quick reference.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    | Map | Action |
    |-----|--------|
    | <F1> | Causes Netrw to issue help |
    | <cr> | Netrw will enter the directory or read the file |
    | <del> | Netrw will attempt to remove the file/directory |
    | &lt;F1&gt; | Causes Netrw to issue help |
    | &lt;cr&gt; | Netrw will enter the directory or read the file |
    | &lt;del&gt; | Netrw will attempt to remove the file/directory |
    | - | Makes Netrw go up one directory |
    | a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide) |
    | c | Make browsing directory the current directory |
    @@ -11,9 +11,9 @@
    | D | Attempt to remove the file(s)/directory(ies) |
    | gb | Go to previous bookmarked directory |
    | gh | Quick hide/unhide of dot-files |
    | <c-h> | Edit file hiding list |
    | &lt;c-h&gt; | Edit file hiding list |
    | i | Cycle between thin, long, wide and tree listings |
    | <c-l> | Causes Netrw to refresh the directory listing |
    | &lt;c-l&gt; | Causes Netrw to refresh the directory listing |
    | mb | Bookmark current directory |
    | mc | Copy marked files to marked-file target directory |
    | md | Apply diff to marked files (up to 3) |
  2. @t-mart t-mart created this gist Dec 30, 2015.
    47 changes: 47 additions & 0 deletions netrw quick reference.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    | Map | Action |
    |-----|--------|
    | <F1> | Causes Netrw to issue help |
    | <cr> | Netrw will enter the directory or read the file |
    | <del> | Netrw will attempt to remove the file/directory |
    | - | Makes Netrw go up one directory |
    | a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) 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 |
    | gh | Quick hide/unhide of dot-files |
    | <c-h> | Edit file hiding list |
    | i | Cycle between thin, long, wide and tree listings |
    | <c-l> | Causes Netrw to refresh the directory listing |
    | 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 |
    | 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 satisfying a shell-style |regexp| |
    | mt | Current browsing directory becomes markfile target |
    | mT | Apply ctags to marked files |
    | mu | Unmark all marked files |
    | mx | Apply arbitrary shell command to marked files |
    | 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 |
    | r | Reverse sorting order |
    | R | Rename the designed 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 |