Skip to content

Instantly share code, notes, and snippets.

@briskgopesh
Forked from squarism/iterm2.md
Created November 13, 2019 06:53
Show Gist options
  • Save briskgopesh/ba27d09c76ece8ca05a7fba66f7895e6 to your computer and use it in GitHub Desktop.
Save briskgopesh/ba27d09c76ece8ca05a7fba66f7895e6 to your computer and use it in GitHub Desktop.

Revisions

  1. @squarism squarism revised this gist Oct 25, 2019. 1 changed file with 8 additions and 10 deletions.
    18 changes: 8 additions & 10 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,7 @@ Next Tab | `⌘`+ `Right Arrow`
    Go to Window | `` + `Option` + `Number`


    My Favorite Shell Key Combos
    ===========
    ## My Favorite Shell Key Combos

    These might be helpful to getting you faster with the shell but really this
    isn't iTerm2 specific. I'm assuming you are using bash or zsh on Mac.
    @@ -48,8 +47,7 @@ Clear screen | `Ctrl` + `L` | This is telling the shell to do it. When this doe



    Moving Faster
    =============
    ## Moving Faster

    A lot of shell shortcuts work in iterm and it's good to learn these because arrow keys, home/end
    keys and Mac equivalents don't always work. For example `` + `Left Arrow` is usually the same as `Home`
    @@ -68,8 +66,8 @@ Moving by word on a line (this is a shell thing but passes through fine)| `Ctrl`
    Cursor Jump with Mouse (shell and vim - might depend on config) | `Option` + `Left Click`


    Copy and Paste with iTerm without using the mouse
    =============
    ## Copy and Paste with iTerm without using the mouse

    I don't use this feature too much.

    **Function** | **Shortcut**
    @@ -82,17 +80,17 @@ Copy text in Copy Mode | `Ctrl` + `K`
    Copy actions goes into the normal system clipboard which you can paste like normal.


    Search the Command History
    ==========================
    ## Search the Command History

    **Function** | **Shortcut**
    -------- | --------
    Search as you type | `Ctrl` + `R` and type the search term; Repeat `Ctrl` + `R` to loop through result
    Search the last remembered search term | `Ctrl` + `R` twice
    End the search at current history entry | `Ctrl` + `Y`
    Cancel the search and restore original line | `Ctrl` + `G`

    Misc
    ==========================
    ## Misc

    **Function** | **Shortcut**
    -------- | --------
    Clear the screen/pane (when `Ctrl + L` won't work) | `` + `K` (I use this all the time)
  2. @squarism squarism revised this gist Oct 25, 2019. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -26,11 +26,15 @@ Next Tab | `⌘`+ `Right Arrow`
    Go to Window | `` + `Option` + `Number`


    Basic Moves
    My Favorite Shell Key Combos
    ===========

    These might be helpful to getting you faster with the shell but really this
    isn't iTerm2 specific. I'm assuming you are using bash or zsh on Mac.
    There are many tips but I use these quite a bit. There is also more than one way
    to do it sometimes so adopt what you like best.

    Hopefully some of these change your life. :)

    **Function** | **Shortcut** | **Use**
    -------- | -------- | --------
  3. @squarism squarism revised this gist Oct 25, 2019. 1 changed file with 13 additions and 6 deletions.
    19 changes: 13 additions & 6 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -28,12 +28,19 @@ Go to Window | `⌘` + `Option` + `Number`

    Basic Moves
    ===========
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | `Ctrl` + `B`
    Move forward one character | `Ctrl` + `F`
    Delete current character | `Ctrl` + `D`
    Delete previous word (in shell) | `Ctrl` + `W`

    These might be helpful to getting you faster with the shell but really this
    isn't iTerm2 specific. I'm assuming you are using bash or zsh on Mac.

    **Function** | **Shortcut** | **Use**
    -------- | -------- | --------
    Delete to start of line (favorite) | `Ctrl` + `U` | Use this to start over typing without hitting Ctrl-C
    Delete to end of line (favorite) | `Ctrl` + `K` | Use this with command history to repeat commands and changing one thing at the end!
    Repeat last command | `Ctrl` + `Up Arrow` | Cycle and browse your history with up and down. `Ctrl-R` is faster if you know the string you are looking for.
    Move back and forth on a line | `Arrow Keys` | This takes you off the home row but it's easy to remember
    Move back and forth on a line by words | `Ctrl` + `Arrow Keys` | Fast way to jump to a word to correct a typo or "run again" with minor changes
    Delete previous word (in shell) | `Ctrl` + `W` | Faster to delete by words
    Clear screen | `Ctrl` + `L` | This is telling the shell to do it. When this doesn't work `` + `C` will tell iTerm to do it which works when you aren't in a shell.



  4. @squarism squarism revised this gist Jun 10, 2019. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ Move back one character | `Ctrl` + `B`
    Move forward one character | `Ctrl` + `F`
    Delete current character | `Ctrl` + `D`
    Delete previous word (in shell) | `Ctrl` + `W`
    Moving by word on a line (this is a shell thing but passes through fine)| `Ctrl` + `Left/Right Arrow`



    Moving Faster
    @@ -53,6 +53,8 @@ Move forward a word | `Option` + `F`
    Move backward a word | `Option` + `B`
    Set Mark | `` + `M`
    Jump to Mark | `` + `J`
    Moving by word on a line (this is a shell thing but passes through fine)| `Ctrl` + `Left/Right Arrow`
    Cursor Jump with Mouse (shell and vim - might depend on config) | `Option` + `Left Click`


    Copy and Paste with iTerm without using the mouse
    @@ -83,4 +85,5 @@ Misc
    **Function** | **Shortcut**
    -------- | --------
    Clear the screen/pane (when `Ctrl + L` won't work) | `` + `K` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + `I` (again to toggle)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + `I` (again to toggle)
    Find Cursor | `` + `/` _or use a theme or cursor shape that is easy to see_
  5. @squarism squarism revised this gist Jun 10, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ Move back one character | `Ctrl` + `B`
    Move forward one character | `Ctrl` + `F`
    Delete current character | `Ctrl` + `D`
    Delete previous word (in shell) | `Ctrl` + `W`
    Undo | `Ctrl` + `-`
    Moving by word on a line (this is a shell thing but passes through fine)| `Ctrl` + `Left/Right Arrow`


    Moving Faster
  6. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -3,19 +3,19 @@

    **Function** | **Shortcut**
    -------- | --------
    New Tab | `` + T
    Close Tab or Window | `` + W (same as many mac apps)
    New Tab | `` + `T`
    Close Tab or Window | `` + `W` (same as many mac apps)
    Go to Tab | `` + `Number Key` (ie: `⌘2` is 2nd tab)
    Go to Split Pane by Direction | `` + `Option` + `Arrow Key`
    Cycle iTerm Windows | `` + `backtick` (ttrue of all mac apps and works with desktops/mission control)
    Cycle iTerm Windows | `` + `backtick` (true of all mac apps and works with desktops/mission control)
    **Splitting** |
    Split Window Vertically (same profile) | `` + `D`
    Split Window Horizontally (same profile) | `` + `Shift` + `D` (mnemonic: shift is a wide horizontal key)
    **Moving** |
    Move a pane with the mouse | `` + `Alt` + `Shift` and then drag the pane from anywhere
    **Fullscreen** |
    Fullscreen | ``+ `Enter`
    Maximize a pane | `` + `Shift` + Enter (use with fullscreen to temp fullscreen a pane!)
    Maximize a pane | `` + `Shift` + `Enter` (use with fullscreen to temp fullscreen a pane!)
    Resize Pane | `Ctrl` + `` + `Arrow` (given you haven't mapped this to something else)
    **Less Often Used By Me** |
    Go to Split Pane by Order of Use | `` + `]` , `` + `[`
    @@ -63,7 +63,7 @@ I don't use this feature too much.
    -------- | --------
    Enter Copy Mode | `Shift` + `` + `C`
    Enter Character Selection Mode in Copy Mode | `Ctrl` + `V`
    Move cursor in Copy Mode | HJKL vim motions or arrow keys
    Move cursor in Copy Mode | `HJKL` vim motions or arrow keys
    Copy text in Copy Mode | `Ctrl` + `K`

    Copy actions goes into the normal system clipboard which you can paste like normal.
    @@ -73,7 +73,7 @@ Search the Command History
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `R` to loop through result
    Search as you type | `Ctrl` + `R` and type the search term; Repeat `Ctrl` + `R` to loop through result
    Search the last remembered search term | `Ctrl` + `R` twice
    End the search at current history entry | `Ctrl` + `Y`
    Cancel the search and restore original line | `Ctrl` + `G`
    @@ -82,5 +82,5 @@ Misc
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Clear the screen/pane (when `ctrl + L` won't work) | `` + `K` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + I (again to toggle)
    Clear the screen/pane (when `Ctrl + L` won't work) | `` + `K` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + `I` (again to toggle)
  7. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -73,14 +73,14 @@ Search the Command History
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search the last remembered search term | `Ctrl` + `r` twice
    End the search at current history entry | `Ctrl` + `y`
    Cancel the search and restore original line | `Ctrl` + `g`
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `R` to loop through result
    Search the last remembered search term | `Ctrl` + `R` twice
    End the search at current history entry | `Ctrl` + `Y`
    Cancel the search and restore original line | `Ctrl` + `G`

    Misc
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Clear the screen/pane (when ctrl-l won't work) | `` + `k` (I use this all the time)
    Clear the screen/pane (when `ctrl + L` won't work) | `` + `K` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + I (again to toggle)
  8. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -80,5 +80,7 @@ Cancel the search and restore original line | `Ctrl` + `g`

    Misc
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Clear the screen/pane (when ctrl-l won't work) | `` + `k` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + I (again to toggle)
  9. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -80,4 +80,5 @@ Cancel the search and restore original line | `Ctrl` + `g`

    Misc
    ==========================
    Clear the screen/pane (when ctrl-l won't work) | `` + `k` (I use this all the time)
    Clear the screen/pane (when ctrl-l won't work) | `` + `k` (I use this all the time)
    Broadcast command to all panes in window (nice when needed!) | `` + `Alt` + I (again to toggle)
  10. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 15 additions and 17 deletions.
    32 changes: 15 additions & 17 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -4,31 +4,26 @@
    **Function** | **Shortcut**
    -------- | --------
    New Tab | `` + T
    Close Tab or Window | `` + W (same as many applications)
    Close Tab or Window | `` + W (same as many mac apps)
    Go to Tab | `` + `Number Key` (ie: `⌘2` is 2nd tab)
    Go to Split Pane by Direction | `` + `Option` + `Arrow Key`
    Cycle iTerm Windows | `` + `backtick` (ttrue of all mac apps and works with desktops/mission control)
    - | -
    **Splitting** |
    Split Window Vertically (same profile) | `` + `D`
    Split Window Horizontally (same profile) | `` + `Shift` + `D` (mnemonic: shift is a wide horizontal key)

    **Moving** |
    Move a pane with the mouse | `` + `Alt` + `Shift` and then drag the pane from anywhere

    **Fullscreen** |
    Fullscreen | ``+ `Enter`
    Maximize a pane | `` + `Shift` + Enter (use with fullscreen to temp fullscreen a pane!)
    Resize Pane | `ctrl` + `` + `Arrow` (given you haven't mapped this to something else)


    ### Less Used By Myself:
    Resize Pane | `Ctrl` + `` + `Arrow` (given you haven't mapped this to something else)
    **Less Often Used By Me** |
    Go to Split Pane by Order of Use | `` + `]` , `` + `[`
    Split Window Horizontally (new profile) | `Option` + `` + `H`
    Split Window Vertically (new profile) | `Option` + `` + `V`
    Previous Tab | ``+ `Left Arrow`
    Go to Window | `` + `Option` + `Number`
    Previous Tab | ``+ `Left Arrow` (I usually move by tab number)
    Next Tab | ``+ `Right Arrow`
    Set Mark | `` + `M`
    Jump to Mark | `` + `J`

    Go to Window | `` + `Option` + `Number`


    Basic Moves
    @@ -44,25 +39,28 @@ Undo | `Ctrl` + `-`

    Moving Faster
    =============
    **Function** | **Shortcut**
    -------- | --------

    A lot of shell shortcuts work in iterm and it's good to learn these because arrow keys, home/end
    keys and Mac equivalents don't always work. For example `` + `Left Arrow` is usually the same as `Home`
    (go to beginning of current line) but that doesn't work in the shell. Home works in many apps but it
    takes you away from the home row.

    **Function** | **Shortcut**
    -------- | --------
    Move to the start of line | `Ctrl` + `A` or `Home`
    Move to the end of line | `Ctrl` + `E` or `End`
    Move forward a word | `Option` + `F`
    Move backward a word | `Option` + `B`
    Set Mark | `` + `M`
    Jump to Mark | `` + `J`


    Copy and Paste with iTerm without using the mouse
    =============
    **Function** | **Shortcut**
    -------- | --------
    I don't use this feature too much.

    **Function** | **Shortcut**
    -------- | --------
    Enter Copy Mode | `Shift` + `` + `C`
    Enter Character Selection Mode in Copy Mode | `Ctrl` + `V`
    Move cursor in Copy Mode | HJKL vim motions or arrow keys
  11. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ Close Tab or Window | `⌘` + W (same as many applications)
    Go to Tab | `` + `Number Key` (ie: `⌘2` is 2nd tab)
    Go to Split Pane by Direction | `` + `Option` + `Arrow Key`
    Cycle iTerm Windows | `` + `backtick` (ttrue of all mac apps and works with desktops/mission control)
    |
    - | -
    Split Window Vertically (same profile) | `` + `D`
    Split Window Horizontally (same profile) | `` + `Shift` + `D` (mnemonic: shift is a wide horizontal key)

  12. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ Close Tab or Window | `⌘` + W (same as many applications)
    Go to Tab | `` + `Number Key` (ie: `⌘2` is 2nd tab)
    Go to Split Pane by Direction | `` + `Option` + `Arrow Key`
    Cycle iTerm Windows | `` + `backtick` (ttrue of all mac apps and works with desktops/mission control)

    |
    Split Window Vertically (same profile) | `` + `D`
    Split Window Horizontally (same profile) | `` + `Shift` + `D` (mnemonic: shift is a wide horizontal key)

  13. @squarism squarism revised this gist Oct 31, 2018. 1 changed file with 54 additions and 27 deletions.
    81 changes: 54 additions & 27 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -1,52 +1,75 @@
    Tabs and Windows
    ================
    ## Tabs and Windows


    **Function** | **Shortcut**
    -------- | --------
    New Tab | `` + T
    Close Tab or Window | `` + W (same as many applications)
    Go to Tab | `` + `Number Key` (ie: `⌘2` is 2nd tab)
    Go to Split Pane by Direction | `` + `Option` + `Arrow Key`
    Cycle iTerm Windows | `` + `backtick` (ttrue of all mac apps and works with desktops/mission control)

    Split Window Vertically (same profile) | `` + `D`
    Split Window Horizontally (same profile) | `` + `Shift` + `D` (mnemonic: shift is a wide horizontal key)

    Move a pane with the mouse | `` + `Alt` + `Shift` and then drag the pane from anywhere

    Fullscreen | ``+ `Enter`
    Previous Tab | ``+ `Left Arrow`
    Next Tab | ``+ `Right Arrow`
    Go to Tab | `` + `Number`
    Go to Window | `` + `Option` + `Number`
    Go to Split Pane by Direction | `` + `Option` + `Arrow`
    Maximize a pane | `` + `Shift` + Enter (use with fullscreen to temp fullscreen a pane!)
    Resize Pane | `ctrl` + `` + `Arrow` (given you haven't mapped this to something else)


    ### Less Used By Myself:
    Go to Split Pane by Order of Use | `` + `]` , `` + `[`
    Split Window Horizontally (same profile) | `` + `D`
    Split Window Vertically (same profile) | `` + `d`
    Split Window Horizontally (new profile) | `Option` + `` + `H`
    Split Window Vertically (new profile) | `Option` + `` + `V`
    Previous Tab | ``+ `Left Arrow`
    Go to Window | `` + `Option` + `Number`
    Next Tab | ``+ `Right Arrow`
    Set Mark | `` + `M`
    Jump to Mark | `` + `J`



    Basic Moves
    ===========
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | `Ctrl` + `b`
    Move forward one character | `Ctrl` + `f`
    Delete current character | `Ctrl` + `d`
    Delete previous character | `Backspace`
    Move back one character | `Ctrl` + `B`
    Move forward one character | `Ctrl` + `F`
    Delete current character | `Ctrl` + `D`
    Delete previous word (in shell) | `Ctrl` + `W`
    Undo | `Ctrl` + `-`


    Moving Faster
    =============
    **Function** | **Shortcut**
    -------- | --------
    Move to the start of line | `Ctrl` + `a`
    Move to the end of line | `Ctrl` + `e`
    Move forward a word | `Option` + `f`
    Move backward a word | `Option` + `b`
    Clear the screen | `` + `k`
    A lot of shell shortcuts work in iterm and it's good to learn these because arrow keys, home/end
    keys and Mac equivalents don't always work. For example `` + `Left Arrow` is usually the same as `Home`
    (go to beginning of current line) but that doesn't work in the shell. Home works in many apps but it
    takes you away from the home row.

    Move to the start of line | `Ctrl` + `A` or `Home`
    Move to the end of line | `Ctrl` + `E` or `End`
    Move forward a word | `Option` + `F`
    Move backward a word | `Option` + `B`


    COPY and Paste
    Copy and Paste with iTerm without using the mouse
    =============
    **Function** | **Shortcut**
    -------- | --------
    Copy from cursor to the end of line | `Ctrl` + `k`
    Copy from cursor to the end of word | `Option` + `d`
    Copy from cursor to the start of word | `Option` + `Backspace`
    Copy from cursor to previous whitespace | `Ctrl` + `w`
    Paste the last copied text | `Ctrl` + `w`
    Loop through and paste previously copy text | `Option` + `y`
    Loop through and paste the last argument of previous commands | `Option` + `.`
    I don't use this feature too much.

    Enter Copy Mode | `Shift` + `` + `C`
    Enter Character Selection Mode in Copy Mode | `Ctrl` + `V`
    Move cursor in Copy Mode | HJKL vim motions or arrow keys
    Copy text in Copy Mode | `Ctrl` + `K`

    Copy actions goes into the normal system clipboard which you can paste like normal.


    Search the Command History
    ==========================
    @@ -55,4 +78,8 @@ Search the Command History
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search the last remembered search term | `Ctrl` + `r` twice
    End the search at current history entry | `Ctrl` + `y`
    Cancel the search and restore original line | `Ctrl` + `g`
    Cancel the search and restore original line | `Ctrl` + `g`

    Misc
    ==========================
    Clear the screen/pane (when ctrl-l won't work) | `` + `k` (I use this all the time)
  14. @squarism squarism revised this gist Sep 23, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@ Tabs and Windows
    ================
    **Function** | **Shortcut**
    -------- | --------
    Fullscreen | ``+ `Enter`
    Previous Tab | ``+ `Left Arrow`
    Next Tab | ``+ `Right Arrow`
    Go to Tab | `` + `Number`
  15. @squarism squarism revised this gist Sep 23, 2015. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -35,16 +35,16 @@ Move forward a word | `Option` + `f`
    Move backward a word | `Option` + `b`
    Clear the screen | `` + `k`

    Cut and Paste
    COPY and Paste
    =============
    **Function** | **Shortcut**
    -------- | --------
    Cut from cursor to the end of line | `Ctrl` + `k`
    Cut from cursor to the end of word | `Option` + `d`
    Cut from cursor to the start of word | `Option` + `Backspace`
    Cut from cursor to previous whitespace | `Ctrl` + `w`
    Paste the last cut text | `Ctrl` + `w`
    Loop through and paste previously cut text | `Option` + `y`
    Copy from cursor to the end of line | `Ctrl` + `k`
    Copy from cursor to the end of word | `Option` + `d`
    Copy from cursor to the start of word | `Option` + `Backspace`
    Copy from cursor to previous whitespace | `Ctrl` + `w`
    Paste the last copied text | `Ctrl` + `w`
    Loop through and paste previously copy text | `Option` + `y`
    Loop through and paste the last argument of previous commands | `Option` + `.`

    Search the Command History
  16. @helger helger revised this gist Jul 8, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,7 @@ Move to the start of line | `Ctrl` + `a`
    Move to the end of line | `Ctrl` + `e`
    Move forward a word | `Option` + `f`
    Move backward a word | `Option` + `b`
    Clear the screen | `Option` + `l`
    Clear the screen | `` + `k`

    Cut and Paste
    =============
    @@ -54,4 +54,4 @@ Search the Command History
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search the last remembered search term | `Ctrl` + `r` twice
    End the search at current history entry | `Ctrl` + `y`
    Cancel the search and restore original line | `Ctrl` + `g`
    Cancel the search and restore original line | `Ctrl` + `g`
  17. @helger helger revised this gist Jul 8, 2012. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -31,21 +31,21 @@ Moving Faster
    -------- | --------
    Move to the start of line | `Ctrl` + `a`
    Move to the end of line | `Ctrl` + `e`
    Move forward a word | `Meta` + `f`
    Move backward a word | `Meta` + `b`
    Clear the screen | `Meta` + `l`
    Move forward a word | `Option` + `f`
    Move backward a word | `Option` + `b`
    Clear the screen | `Option` + `l`

    Cut and Paste
    =============
    **Function** | **Shortcut**
    -------- | --------
    Cut from cursor to the end of line | `Ctrl` + `k`
    Cut from cursor to the end of word | `Meta` + `d`
    Cut from cursor to the start of word | `Meta` + `Backspace`
    Cut from cursor to the end of word | `Option` + `d`
    Cut from cursor to the start of word | `Option` + `Backspace`
    Cut from cursor to previous whitespace | `Ctrl` + `w`
    Paste the last cut text | `Ctrl` + `w`
    Loop through and paste previously cut text | `Meta` + `y`
    Loop through and paste the last argument of previous commands | `Meta` + `.`
    Loop through and paste previously cut text | `Option` + `y`
    Loop through and paste the last argument of previous commands | `Option` + `.`

    Search the Command History
    ==========================
  18. @helger helger revised this gist Jul 8, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ Search the Command History
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Search as you type. `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search as you type | `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search the last remembered search term | `Ctrl` + `r` twice
    End the search at current history entry | `Ctrl` + `y`
    Cancel the search and restore original line | `Ctrl` + `g`
  19. @helger helger revised this gist Jul 8, 2012. 1 changed file with 12 additions and 12 deletions.
    24 changes: 12 additions & 12 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -2,18 +2,18 @@ Tabs and Windows
    ================
    **Function** | **Shortcut**
    -------- | --------
    previous tab | ⌘ + left arrow
    next tab | ⌘ + right arrow
    go to tab | + number
    go to window | + Option + Number
    go to split pane by direction | + Option + arrow
    go to split pane by order of use | + ] , + [
    split window horizontally (same profile) | + D
    split window vertically (same profile) | + d
    split window horizontally (new profile) | Option + + H
    split window vertically (new profile) | Option + + V
    Set Mark | + M
    Jump to Mark | + J
    Previous Tab | ``+ `Left Arrow`
    Next Tab | ``+ `Right Arrow`
    Go to Tab | `` + `Number`
    Go to Window | `` + `Option` + `Number`
    Go to Split Pane by Direction | `` + `Option` + `Arrow`
    Go to Split Pane by Order of Use | `` + `]` , `` + `[`
    Split Window Horizontally (same profile) | `` + `D`
    Split Window Vertically (same profile) | `` + `d`
    Split Window Horizontally (new profile) | `Option` + `` + `H`
    Split Window Vertically (new profile) | `Option` + `` + `V`
    Set Mark | `` + `M`
    Jump to Mark | `` + `J`

    Basic Moves
    ===========
  20. @helger helger revised this gist Jul 8, 2012. 1 changed file with 35 additions and 2 deletions.
    37 changes: 35 additions & 2 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    Tabs and Windows
    ================
    **Function** | **Shortcut**
    -------- | --------
    previous tab | ⌘ + left arrow
    @@ -13,12 +15,43 @@ split window vertically (new profile) | Option + ⌘ + V
    Set Mark | ⌘ + M
    Jump to Mark | ⌘ + J

    Navigation
    ==========
    Basic Moves
    ===========
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | `Ctrl` + `b`
    Move forward one character | `Ctrl` + `f`
    Delete current character | `Ctrl` + `d`
    Delete previous character | `Backspace`
    Undo | `Ctrl` + `-`

    Moving Faster
    =============
    **Function** | **Shortcut**
    -------- | --------
    Move to the start of line | `Ctrl` + `a`
    Move to the end of line | `Ctrl` + `e`
    Move forward a word | `Meta` + `f`
    Move backward a word | `Meta` + `b`
    Clear the screen | `Meta` + `l`

    Cut and Paste
    =============
    **Function** | **Shortcut**
    -------- | --------
    Cut from cursor to the end of line | `Ctrl` + `k`
    Cut from cursor to the end of word | `Meta` + `d`
    Cut from cursor to the start of word | `Meta` + `Backspace`
    Cut from cursor to previous whitespace | `Ctrl` + `w`
    Paste the last cut text | `Ctrl` + `w`
    Loop through and paste previously cut text | `Meta` + `y`
    Loop through and paste the last argument of previous commands | `Meta` + `.`

    Search the Command History
    ==========================
    **Function** | **Shortcut**
    -------- | --------
    Search as you type. `Ctrl` + `r` and type the search term; Repeat `Ctrl` + `r` to loop through result
    Search the last remembered search term | `Ctrl` + `r` twice
    End the search at current history entry | `Ctrl` + `y`
    Cancel the search and restore original line | `Ctrl` + `g`
  21. @helger helger revised this gist Jul 8, 2012. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ Navigation
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | `Ctrl` + `b`
    Move forward one character | Ctrl + f
    Delete current character | Ctrl + d
    Delete previous character | Backspace
    Undo | Ctrl + -
    Move forward one character | `Ctrl` + `f`
    Delete current character | `Ctrl` + `d`
    Delete previous character | `Backspace`
    Undo | `Ctrl` + `-`
  22. @helger helger revised this gist Jul 8, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ Navigation
    ==========
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | Ctrl + b
    Move back one character | `Ctrl` + `b`
    Move forward one character | Ctrl + f
    Delete current character | Ctrl + d
    Delete previous character | Backspace
  23. @helger helger revised this gist Jul 8, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ Jump to Mark | ⌘ + J

    Navigation
    ==========
    **Function** | **Shortcut**
    -------- | --------
    Move back one character | Ctrl + b
    Move forward one character | Ctrl + f
  24. @helger helger revised this gist Jul 8, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ Jump to Mark | ⌘ + J

    Navigation
    ==========

    -------- | --------
    Move back one character | Ctrl + b
    Move forward one character | Ctrl + f
    Delete current character | Ctrl + d
  25. @helger helger revised this gist Jul 8, 2012. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -12,3 +12,12 @@ split window horizontally (new profile) | Option + ⌘ + H
    split window vertically (new profile) | Option + ⌘ + V
    Set Mark | ⌘ + M
    Jump to Mark | ⌘ + J

    Navigation
    ==========

    Move back one character | Ctrl + b
    Move forward one character | Ctrl + f
    Delete current character | Ctrl + d
    Delete previous character | Backspace
    Undo | Ctrl + -
  26. @sockmonk sockmonk revised this gist Oct 3, 2011. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,9 @@ go to tab | ⌘ + number
    go to window | ⌘ + Option + Number
    go to split pane by direction | ⌘ + Option + arrow
    go to split pane by order of use | ⌘ + ] , ⌘ + [
    split window horizontally (same profile) | Shift + ⌘ + d
    split window horizontally (same profile) | ⌘ + D
    split window vertically (same profile) | ⌘ + d
    split window horizontally (new profile) | Option + Shift + ⌘ + h
    split window vertically (new profile) | Option + Shift + ⌘ + v
    Set Mark | Shift + ⌘ + M
    Jump to Mark | Shift + ⌘ + J
    split window horizontally (new profile) | Option + ⌘ + H
    split window vertically (new profile) | Option + ⌘ + V
    Set Mark | ⌘ + M
    Jump to Mark | ⌘ + J
  27. @sockmonk sockmonk revised this gist Oct 3, 2011. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,9 @@ go to tab | ⌘ + number
    go to window | ⌘ + Option + Number
    go to split pane by direction | ⌘ + Option + arrow
    go to split pane by order of use | ⌘ + ] , ⌘ + [
    split window horizontally (same profile) | shift + ⌘ + d
    split window vertically (same profile | ⌘ + d
    split window horizontally (new profile) | Option + Shift + ⌘ + H
    split window vertically (new profile) | Option + Shift + ⌘ + V
    split window horizontally (same profile) | Shift + ⌘ + d
    split window vertically (same profile) | ⌘ + d
    split window horizontally (new profile) | Option + Shift + ⌘ + h
    split window vertically (new profile) | Option + Shift + ⌘ + v
    Set Mark | Shift + ⌘ + M
    Jump to Mark | Shift + ⌘ + J
  28. @sockmonk sockmonk revised this gist Oct 3, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    *Function* | *Shortcut*
    **Function** | **Shortcut**
    -------- | --------
    previous tab | ⌘ + left arrow
    next tab | ⌘ + right arrow
  29. @sockmonk sockmonk revised this gist Oct 3, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion iterm2.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Function | Shortcut
    *Function* | *Shortcut*
    -------- | --------
    previous tab | ⌘ + left arrow
    next tab | ⌘ + right arrow
  30. @sockmonk sockmonk revised this gist Oct 3, 2011. 1 changed file with 12 additions and 32 deletions.
    44 changes: 12 additions & 32 deletions iterm2.md
    Original file line number Diff line number Diff line change
    @@ -1,34 +1,14 @@
    Function | Shortcut
    -------- | --------
    # previous tab | ⌘ + left arrow
    # next tab | ⌘ + right arrow

    # go to tab
    ⌘ + number

    # go to window
    ⌘ + Option + Number

    # go to split pane by direction
    ⌘ + Option + arrow

    # go to split pane by order of use
    ⌘ + ] , ⌘ + [

    #split window horizontally (same profile)
    shift + ⌘ + d

    # split window vertically (same profile
    ⌘ + d

    # split window horizontally (new profile)
    Option + Shift + ⌘ + H

    # split window vertically (new profile)
    Option + Shift + ⌘ + V

    # Set Mark
    Shift + ⌘ + M

    # Jump to Mark
    Shift + ⌘ + J
    previous tab | ⌘ + left arrow
    next tab | ⌘ + right arrow
    go to tab | ⌘ + number
    go to window | ⌘ + Option + Number
    go to split pane by direction | ⌘ + Option + arrow
    go to split pane by order of use | ⌘ + ] , ⌘ + [
    split window horizontally (same profile) | shift + ⌘ + d
    split window vertically (same profile | ⌘ + d
    split window horizontally (new profile) | Option + Shift + ⌘ + H
    split window vertically (new profile) | Option + Shift + ⌘ + V
    Set Mark | Shift + ⌘ + M
    Jump to Mark | Shift + ⌘ + J