

- #ITERM2 MOVE CURSOR BY WORD FULL#
- #ITERM2 MOVE CURSOR BY WORD MAC#
- #ITERM2 MOVE CURSOR BY WORD WINDOWS#
For the most part, I am able to use iTerm2 to open tabs, split panes and navigate around. One optimization within my terminal that I have been avoiding is tmux – it is unnecessarily complicated for what I need.
#ITERM2 MOVE CURSOR BY WORD WINDOWS#
In addition, I use BetterSnapTool for MacOS, which allows me to move/resize windows around solely from my keyboard. I have taken such a liking to the Vim keyboard-bindings that I even use Vimium (a Google Chrome extension) for keyboard-driven navigation in my browser (for as much as I can). I heavily use Vim while editing which allows for keyboard navigation. You can set the automatic recovery snapshot in Preferences> General> Open saved window arrangement.Where possible, I try to avoid using the mouse.
#ITERM2 MOVE CURSOR BY WORD FULL#

⌥←/⌥→ Move forward/backward by word, which is equivalent to C+f/C+b. ⌘←/⌘→ To the left/right of a line of commands, this function is the same as C+a/C+e ⌘ + 1/2 Switch back and forth between left and right tabs, this has been introduced before This can also be implemented using Alfred You can set the global shortcut key in Preferences> keys to call up iterm. ⌘ + shift + h will list clipboard history ⌘ + r = clear, and just change to a new screen, not create an empty screen like clearĬtrl + u clear the current line, no matter where the cursor isĪfter entering the first command, press ⌘ + will automatically list the entered commands ⌘ + d split screen horizontally/⌘ + shift + d split screen vertically

⌘ + f The searched content will be copied automatically Select to copy + middle mouse button to paste, this is very practical ⌘ + Numbers switch directly back and forth in each tab What are some useful functions/shortcut keys View clipboard history: command + shift + hįorward and backward: ctrl + f/b (equivalent to left and right arrow keys)ĭelete the character of the current cursor: ctrl + dĭelete the character before the cursor: ctrl + hĭelete the word before the cursor: ctrl + wĮxchange the text at the cursor: ctrl + t Switch screen: command + option + arrow keys command + Horizontal split screen: command + shift + d Switch tabs: command + number command + left and right arrow keys
#ITERM2 MOVE CURSOR BY WORD MAC#
Iterm2 Shortcut Keys Collection Mac item2 Common Shortcut Keys
