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

Prior to me adopting Linux as my main OS, I used to love the keybindings on macOS. That many of the same bindings I used in Emacs, also worked in documents was amazing. That is except for Microsoft Office, which did not comply with the system binding. All too often I'd use Ctrl + a to go to the beginning of a line and start typing, and accidentally delete the entire content of the document.


I still accidentally try to use these on my linux machine, that’s one thing I really do miss. One consolation is that I can still use them in my shell :) Weirdly enough I never accidentally use these shortcuts while using vim. I’d guess my subconscious is somehow aware of the contexts in which I’d use these shortcuts and is able to differentiate between my browser, the commandline and vim but not between using a browser on a mac vs. a linux machine.


I use nano exactly because I keep pressing ⌃E in vim ;)


I use ctrl+a, ctrl+e, ctrl+k all the time.


A few more: ctrl-W to delete a word, ctrl-U to delete a line, ctrl-y (yank) to paste the deleted thing back in.




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

Search: