![]() ![]() Your command line navigation will now be faster and more precise. 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”. 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”. I set up my iTerm to work a lot like OSX does in other text fields, eg Command + Delete delete line backward, Option +left arrow 'move cursor back one word' and Option + Delete delete word backward, but the way I have it, Option + Delete in bash/iTerm doesnt count / as a word separator, so if I have cd a/path/to/a/folder. 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. 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |