Skip to content

Instantly share code, notes, and snippets.

@john2x
Last active February 12, 2023 14:27
Show Gist options
  • Save john2x/7541716 to your computer and use it in GitHub Desktop.
Save john2x/7541716 to your computer and use it in GitHub Desktop.

Revisions

  1. john2x revised this gist Nov 19, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions tmux cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    `prefix == Ctrl+f`

    ![screenshot](http://i.imgur.com/MkTAZJp.png)

    (`prefix == Ctrl+f`)

    # Panes
    ## Navigation

  2. john2x revised this gist Nov 19, 2013. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions tmux cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -13,10 +13,11 @@

    ## Resizing

    prefix shift+h (increase/decrease left side)
    prefix shift+j (increase/decrease bottom side)
    prefix shift+k (increase/decrease top side)
    prefix shift+l (increase/decrease right side)
    prefix shift+h (increase left side or decrease right side*)
    prefix shift+j (increase bottom side or decrease top side*)
    prefix shift+k (increase top side or decrease bottom side*)
    prefix shift+l (increase right side or decrease left side*)
    * depending on the current pane's position

    # Windows

  3. john2x revised this gist Nov 19, 2013. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion tmux cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    prefix == `Ctrl+f`
    `prefix == Ctrl+f`

    ![screenshot](http://i.imgur.com/MkTAZJp.png)

    # Panes
    ## Navigation
  4. john2x created this gist Nov 19, 2013.
    34 changes: 34 additions & 0 deletions tmux cheatsheet.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    prefix == `Ctrl+f`

    # Panes
    ## Navigation

    (vim movement keys)
    prefix h
    prefix j
    prefix k
    prefix l

    ## Resizing

    prefix shift+h (increase/decrease left side)
    prefix shift+j (increase/decrease bottom side)
    prefix shift+k (increase/decrease top side)
    prefix shift+l (increase/decrease right side)

    # Windows

    ## Create/close window

    prefix c (create new window)
    prefix x (close current window)

    ## Navigation

    prefix n ([n]ext window)
    prefix b (previous window a.k.a. [b]ack)

    ## Splitting

    prefix | (vertical split)
    prefix _ (horizontal split)