4 ms·
alt+left or alt+right doesn't work for me in Terminal out of the box (I usually use iTerm2 where it doesn't work either) - do you need to change any settings (s
by brown9-2 15y ago
alt+left or alt+right doesn't work for me in Terminal out of the box (I usually use iTerm2 where it doesn't work either) - do you need to change any settings (such as emulation, terminal type etc) to get at that?
- DougBTX 15y agoAh, my bad, I must have set that up myself. According to this[1] stack overflow post, the vim key bindings for move back and forward work by default (which is news to me), or you can set up the alt left and right behaviour by following the instructions here[2]. [1] http://stackoverflow.com/questions/81272/is-there-any-way-in-the-os-x-terminal-to-move-the-cursor-word-by-word http://stackoverflow.com/questions/81272/is-there-any-way-in... [2] http://blog.macromates.com/2006/word-movement-in-terminal/ http://blog.macromates.com/2006/word-movement-in-terminal/
- X-Istence 15y agoIt works for me right out of the box on a brand new Lion install. No settings have been changed yet.
- runlevel1 15y ago1) Go to the Terminal menu > Settings, click the Settings pane. 2) Select your preferred theme (left). It's probably the one listed as "default." 3) Click the Keyboard tab. 4) Click the "+" button to add a new Key to Action mapping. • Key: cursor left • Modifier: option • Action: send string to shell: • In the blank blank space: \033b Note: This is the ESC key followed by a lowecase “b“. • Click OK. 5) Click the "+" button to add a new Key to Action mapping. • Key: cursor right • Modifier: option • Action: send string to shell: • In the blank blank space: \033f Note: This is the ESC key followed by a lowercase “f“. • Click OK.