OS X Terminal matching of Ctrl+ Left/ Ctrl+ Right
In Windows and also Linux I can constantly strike ctrl+ ← or ctrl+ → to miss a word to the left or right in the terminal. In full-screen editor it appears that ⌥+ ←/ → jobs, yet no dice in the terminal. I've looked Google and also located absolutely nothing other than a Wikipedia web page that asserts ⌥+ B/ F gets the job done, yet all it does is print ∫ and also ƒ personalities to my terminal (or ı and also Ï if I hold ⇧). Any kind of suggestions?
Open terminal, most likely to choices, keyboard. On the checklist you'll locate "ctrl arrow right" and also "ctrl arrow left".
Adjustment their appointed activities to "\ 033f" and also "\ 033b" specifically, and also you'll have the ability to make use of ctrl+→ and also ctrl+← to relocate, without shedding your alt key.
if you recognize just how to make use of vi you can additionally activate vi line editing and enhancing setting making use of
set -o vi in your
.bash_profile or any time on the command line. After that you can switch over in between vi command and also insert settings. So you can strike retreat, after that make use of the vi commands for browsing the line:
0 = move to beginning of line $ = move to end of line w = move forward one word b = move backward one word
Once you reach the proper placement, you can make use of the various other vi commands to enter insert or append settings, or remove personalities individually, etc