Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They should really mention which shell and terminal emulator they are using. Not everyone is using the same "Unix command line".


Fair point. FWIW, we're all on OS X, running bash, zsh, or fish on either Terminal.app or iTerm2.


Control-Left and Right switch workspaces for me. A giant pain in the ass, because the normal word-jump shortcut, Option-Left/Right, just drops a [C/[D into the shell on iTerm. The stupid thing is, if I shell into an Ubuntu machine, it works fine.


You can probably set that up in .inputrc. Pressing Ctrl-V in a terminal before pressing your ctrl+left or ctrl+right arrow will type the initial escape character literally so you can see what the key sequence is (e.g. something like \e[1;5D).

Alternatively, you could change your workspace bindings to Control+[some other modifier].




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: