-
-
Save briskgopesh/ba27d09c76ece8ca05a7fba66f7895e6 to your computer and use it in GitHub Desktop.
Revisions
-
squarism revised this gist
Oct 25, 2019 . 1 changed file with 8 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 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 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 **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 **Function** | **Shortcut** -------- | -------- Clear the screen/pane (when `Ctrl + L` won't work) | `⌘` + `K` (I use this all the time) -
squarism revised this gist
Oct 25, 2019 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,11 +26,15 @@ Next Tab | `⌘`+ `Right Arrow` Go to Window | `⌘` + `Option` + `Number` 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** -------- | -------- | -------- -
squarism revised this gist
Oct 25, 2019 . 1 changed file with 13 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,12 +28,19 @@ Go to Window | `⌘` + `Option` + `Number` Basic Moves =========== 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. -
squarism revised this gist
Jun 10, 2019 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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) Find Cursor | `⌘` + `/` _or use a theme or cursor shape that is easy to see_ -
squarism revised this gist
Jun 10, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) Go to Tab | `⌘` + `Number Key` (ie: `⌘2` is 2nd tab) Go to Split Pane by Direction | `⌘` + `Option` + `Arrow Key` 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!) 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 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 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) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` 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) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) Broadcast command to all panes in window (nice when needed!) | `⌘` + `Alt` + I (again to toggle) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 15 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 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` (I usually move by tab number) Next Tab | `⌘`+ `Right Arrow` Go to Window | `⌘` + `Option` + `Number` Basic Moves @@ -44,25 +39,28 @@ Undo | `Ctrl` + `-` 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` (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 ============= 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 -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
squarism revised this gist
Oct 31, 2018 . 1 changed file with 54 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,52 +1,75 @@ ## 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` 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 (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 word (in shell) | `Ctrl` + `W` 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. 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 with iTerm without using the mouse ============= **Function** | **Shortcut** -------- | -------- 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` Misc ========================== Clear the screen/pane (when ctrl-l won't work) | `⌘` + `k` (I use this all the time) -
squarism revised this gist
Sep 23, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` -
squarism revised this gist
Sep 23, 2015 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` COPY and Paste ============= **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` + `.` Search the Command History -
helger revised this gist
Jul 8, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 | `⌘` + `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` -
helger revised this gist
Jul 8, 2012 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 | `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 | `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` Loop through and paste the last argument of previous commands | `Option` + `.` Search the Command History ========================== -
helger revised this gist
Jul 8, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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` -
helger revised this gist
Jul 8, 2012 . 1 changed file with 12 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` Basic Moves =========== -
helger revised this gist
Jul 8, 2012 . 1 changed file with 35 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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` -
helger revised this gist
Jul 8, 2012 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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` + `-` -
helger revised this gist
Jul 8, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,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 -
helger revised this gist
Jul 8, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
helger revised this gist
Jul 8, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
helger revised this gist
Jul 8, 2012 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 + - -
sockmonk revised this gist
Oct 3, 2011 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) | ⌘ + 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 -
sockmonk revised this gist
Oct 3, 2011 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 Set Mark | Shift + ⌘ + M Jump to Mark | Shift + ⌘ + J -
sockmonk revised this gist
Oct 3, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ **Function** | **Shortcut** -------- | -------- previous tab | ⌘ + left arrow next tab | ⌘ + right arrow -
sockmonk revised this gist
Oct 3, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ *Function* | *Shortcut* -------- | -------- previous tab | ⌘ + left arrow next tab | ⌘ + right arrow -
sockmonk revised this gist
Oct 3, 2011 . 1 changed file with 12 additions and 32 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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
NewerOlder