![]() ![]() FunctionĮnter Character Selection Mode in Copy ModeĬopy actions goes into the normal system clipboard which you can paste like normal. Moving by word on a line (this is a shell thing but passes through fine)Ĭursor Jump with Mouse (shell and vim - might depend on config)Ĭopy and Paste with iTerm without using the mouse (go to beginning of current line) but that doesn’t work in the shell. For example ⌘ + Left Arrow is usually the same as Home Keys and Mac equivalents don’t always work. Use this instead of typing clear over and over.Ī lot of shell shortcuts work in iterm and it’s good to learn these because arrow keys, home/end When this doesn’t work ⌘ + K will tell iTerm to do it which works when you aren’t in a shell. Last command was wrong by a single typo or something. This takes you off the home row but it’s easy to rememberįast way to jump to a word to correct a typo or “run again” Use this with command history to repeat commands andĬycle and browse your history with up and down.Ĭtrl-R is faster if you know the string you are looking for. Use this to start over typing without hitting Ctrl-C A special cursor rendered as a downward-pointing arrow is visible while in Copy Mode. Click the + to add a new key binding Where the popup says 'Click to Set' left click Press cmd+b Click the drop-down menu named 'action' and select 'Move Start of Selection Back' Choose in the new drop down that appears underneath 'Move by (CharacterWordLineMark)' Press 'Ok' close prefs. You can also enter copy mode by pressing Shift+Arrow key immediately after making a selection with the mouse. Go to Preferences -> Keys -> Key Bindings. ![]() To enter or exit Copy Mode, select Edit > Copy Mode. Hopefully some of these change your life. Copy Mode allows you to make selections using the keyboard. To do it sometimes so adopt what you like best. There are many tips but I use these quite a bit. I’m assuming you are using bash or zsh on Mac. These might be helpful to getting you faster with the shell but really this ⌘+ Left Arrow (I usually move by tab number) ⌘ + Shift + Enter (use with fullscreen to temp fullscreen a pane!)Ĭtrl + ⌘ + Arrow (given you haven’t mapped this to something else) ⌘ + Alt + Shift and then drag the pane from anywhere ⌘ + Shift + D (mnemonic: shift is a wide horizontal key) ⌘ + backtick (true of all mac apps and works with desktops/mission control)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |