Skip to content

Instantly share code, notes, and snippets.

@akimdi
Forked from heroheman/ranger-cheatsheet.md
Created September 4, 2019 20:18
Show Gist options
  • Save akimdi/b2a1ef6971fdb0893cf8f80aca526306 to your computer and use it in GitHub Desktop.
Save akimdi/b2a1ef6971fdb0893cf8f80aca526306 to your computer and use it in GitHub Desktop.

Revisions

  1. @heroheman heroheman revised this gist Mar 8, 2018. No changes.
  2. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -55,6 +55,7 @@ shift + tab | Previous tab
    alt + [n] | goto / create [n] tab

    ## File substituting
    Shortcut | Description
    ---|---
    `%f` | Substitute highlighted file
    `%d` | Substitute current directory
  3. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -54,3 +54,14 @@ tab | Next tab
    shift + tab | Previous tab
    alt + [n] | goto / create [n] tab

    ## File substituting
    ---|---
    `%f` | Substitute highlighted file
    `%d` | Substitute current directory
    `%s` | Substitute currently selected files
    `%t` | Substitute currently tagged files

    ### Example for substitution
    `:bulkrename %s`


  4. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -51,6 +51,6 @@ Shortcut | Description
    `C-n` | Create new tab
    `C-w` | Close current tab
    tab | Next tab
    shift + tab> | Previous tab
    shift + tab | Previous tab
    alt + [n] | goto / create [n] tab

  5. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -50,7 +50,7 @@ Shortcut | Description
    ---|---
    `C-n` | Create new tab
    `C-w` | Close current tab
    <tab> | Next tab
    <shift> <tab> | Previous tab
    <alt> [n] | goto / create [n] tab
    tab | Next tab
    shift + tab> | Previous tab
    alt + [n] | goto / create [n] tab

  6. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 33 additions and 33 deletions.
    66 changes: 33 additions & 33 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -3,54 +3,54 @@
    ## General
    Shortcut | Description
    ---|---
    ranger | Start Ranger
    Q | Quit Ranger
    R | Reload current directory
    ? | Ranger Manpages / Shortcuts
    `ranger` | Start Ranger
    `Q` | Quit Ranger
    `R` | Reload current directory
    `?` | Ranger Manpages / Shortcuts

    ## Movement
    Shortcut | Description
    ---|---
    k | up
    j | down
    h | parent directory
    l | subdirectory
    gg | go to top of list
    G | go t bottom of list
    J | half page down
    K | half page up
    H | History Back
    L | History Forward
    `k` | up
    `j` | down
    `h` | parent directory
    `l`| subdirectory
    `gg` | go to top of list
    `G` | go t bottom of list
    `J` | half page down
    `K` | half page up
    `H` | History Back
    `L` | History Forward

    ## File Operations
    Shortcut | Description
    ---|---
    <Enter> | Open
    r | open file with
    z | toggle settings
    o | change sort order
    zh | view hidden files
    cw | rename current file
    yy | yank / copy
    / | search for files `:search`
    n | next match
    N | prev match
    <delete> | Delete
    `<Enter>` | Open
    `r` | open file with
    `z` | toggle settings
    `o` | change sort order
    `zh` | view hidden files
    `cw` | rename current file
    `yy` | yank / copy
    `/` | search for files `:search`
    `n` | next match
    `N``| prev match
    `<delete>` | Delete

    ## Commands
    Shortcut | Description
    ---|---
    : | Execute Range Command
    ! | Execute Shell Command
    chmod | Change file Permissions
    du | Disk Usage Current Directory
    `:` | Execute Range Command
    `!` | Execute Shell Command
    `chmod` | Change file Permissions
    `du` | Disk Usage Current Directory

    ## Tabs
    Shortcut | Description
    ---|---
    <ctrl>n | Create new tab
    <ctrl>w | Close current tab
    `C-n` | Create new tab
    `C-w` | Close current tab
    <tab> | Next tab
    <shift><tab> | Previous tab
    <alt>[n] | goto / create [n] tab
    <shift> <tab> | Previous tab
    <alt> [n] | goto / create [n] tab

  7. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 12 additions and 2 deletions.
    14 changes: 12 additions & 2 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ K | half page up
    H | History Back
    L | History Forward

    # File Operations
    ## File Operations
    Shortcut | Description
    ---|---
    <Enter> | Open
    @@ -37,10 +37,20 @@ n | next match
    N | prev match
    <delete> | Delete

    # Commands
    ## Commands
    Shortcut | Description
    ---|---
    : | Execute Range Command
    ! | Execute Shell Command
    chmod | Change file Permissions
    du | Disk Usage Current Directory

    ## Tabs
    Shortcut | Description
    ---|---
    <ctrl>n | Create new tab
    <ctrl>w | Close current tab
    <tab> | Next tab
    <shift><tab> | Previous tab
    <alt>[n] | goto / create [n] tab

  8. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 43 additions and 4 deletions.
    47 changes: 43 additions & 4 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,46 @@
    # Ranger Cheatsheet

    ## General
    Shortcut | Description
    ----------|----------
    k | up
    j | down
    h | left
    ---|---
    ranger | Start Ranger
    Q | Quit Ranger
    R | Reload current directory
    ? | Ranger Manpages / Shortcuts

    ## Movement
    Shortcut | Description
    ---|---
    k | up
    j | down
    h | parent directory
    l | subdirectory
    gg | go to top of list
    G | go t bottom of list
    J | half page down
    K | half page up
    H | History Back
    L | History Forward

    # File Operations
    Shortcut | Description
    ---|---
    <Enter> | Open
    r | open file with
    z | toggle settings
    o | change sort order
    zh | view hidden files
    cw | rename current file
    yy | yank / copy
    / | search for files `:search`
    n | next match
    N | prev match
    <delete> | Delete

    # Commands
    Shortcut | Description
    ---|---
    : | Execute Range Command
    ! | Execute Shell Command
    chmod | Change file Permissions
    du | Disk Usage Current Directory
  9. @heroheman heroheman revised this gist Feb 9, 2018. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Ranger Cheatsheet
    *
    | Column 1 | Column 2 |
    |----------|----------|
    | foo | bar |
    | baz | qux |
    | quux | quuz |

    Shortcut | Description
    ----------|----------
    k | up
    j | down
    h | left
  10. @heroheman heroheman created this gist Feb 9, 2018.
    7 changes: 7 additions & 0 deletions ranger-cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Ranger Cheatsheet
    *
    | Column 1 | Column 2 |
    |----------|----------|
    | foo | bar |
    | baz | qux |
    | quux | quuz |