
- #ITERM2 MOVE CURSOR BY WORD PRO#
- #ITERM2 MOVE CURSOR BY WORD PLUS#
- #ITERM2 MOVE CURSOR BY WORD DOWNLOAD#
- #ITERM2 MOVE CURSOR BY WORD WINDOWS#
I highly recommend giving it a shot the next time you reach for your mouse. Copy mode, in my opinion, is the superior of the two approaches for mouseless copying. I highly recommend reading the documentation on iTerm2’s copy mode as it completely covers the keyboard shortcuts and features. It is important to note that the session within the pane will stop updating when you enter copy mode. It is a mode very much like Vim’s insert and normal modes. This iTerm2 mode attempts to emulate as much of the tmux copy mode as possible, allowing you to make text selections using the keyboard. Use esc to exit search, and now you have the selection in your clipboard.


#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.

Your command line navigation will now be faster and more precise.Where possible, I try to avoid using the mouse. The cursor will now “jump” over entire words as it does on other applications. Click “OK”.Ĭlose the menu and begin using the Alt and the left/right arrows immediately. This time, in the “Esc +” field, type lowercase “f”.
#ITERM2 MOVE CURSOR BY WORD PLUS#
Open the same context menu for Alt plus right ⌥→ and again change the action to “Send Escape Sequence”.

In the “Esc +” field, type lowercase “b” and click “OK”. Double click it.Ĭhange the action from “Send Hex Code” to “Send Escape Sequence” (you might have to scroll a bit to find this). Within the “Key Mappings” pane, find the mapping for the Alt and left keys, which will look like this: ⌥←. Open the “Preferences” menu: either find it in the “iTerm2” dropdown menu along the top of the screen or press the Cmd and comma keys.
#ITERM2 MOVE CURSOR BY WORD PRO#
Note: I refer to the “Alt” key throughout this post, which is the text written on my old 2013 MacBook Pro keyboard, but this is normally called the “Option” key in MacOS. With a little config, you can change this behaviour, which I’ll explain below. However, on first install, you can’t use the Option or Alt key (this key: ⌥) as you would in other applications: you can’t skip or jump over words by pressing Alt and the left or right keys.
#ITERM2 MOVE CURSOR BY WORD DOWNLOAD#
It has many more handy features than Terminal, is free to download and is also open source 🎉. ITerm2 is a replacement for the default Terminal application on MacOS.
