Back to front pageView on Hacker News (opens in a new tab)Quick tip for developers who use OS X1145 pointsby gargarplex (on Hacker News)12 years agoOSX Terminal: hold option and click a position in the current line to move your cursor to that position. #yearslostComments (395) 107 threadsEarlier commentsmkeiser12 years ago#I never understood the rationale of this behavior (not being able to just click anywhere to set the curser position). At least in not-yet-executed input.[-]michaelhoffman12 years ago1 reply#Is there a way to do something similar in Linux? I use gnome-terminal but would think about switching to something with a feature this useful.virtualwhys12 years ago#Same deal, Gnome terminal, alt-b, alt-f are the closest I've found.sazeod12 years ago#Or you can use vim editing mode directly in bash using:set -o vithis makes most vim motions available at the command line after hitting "esc"jbarham12 years ago#20 years ago with Plan 9 you could have just clicked to move your cursor. Plus ça change...Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
mkeiser12 years ago#I never understood the rationale of this behavior (not being able to just click anywhere to set the curser position). At least in not-yet-executed input.
michaelhoffman12 years ago1 reply#Is there a way to do something similar in Linux? I use gnome-terminal but would think about switching to something with a feature this useful.
sazeod12 years ago#Or you can use vim editing mode directly in bash using:set -o vithis makes most vim motions available at the command line after hitting "esc"
jbarham12 years ago#20 years ago with Plan 9 you could have just clicked to move your cursor. Plus ça change...
Comments (395) 107 threads
Earlier commentsset -o vi
this makes most vim motions available at the command line after hitting "esc"
All comments shown.
Couldn't load more comments. Check your connection and try again.