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

Does anyone have any recommendations for configuring emacs so it's easy to use with a standard MacBook keyboard and a full external keyboard?

I used emacs for a couple years on a linux laptop with a full keyboard, and I loved it. Then I got into more teaching than programming, so I moved to some beginner-friendly editors; I wanted to use the same tools I was recommending for my students.

Now I'm doing more dev work again, and I really miss emacs. But I'm a little lost about how to map keys so I can jump between my laptop in standalone mode, my laptop when I have an external keyboard connected, and non-mac linux machines.



One thing I do on a laptop keyboard is remap Caps Lock to Control to make that easier to type. It's in System Preferences > Keyboard > Modifier Keys.

On an external keyboard, I don't remap because I have a Control key in both corners of the keyboard that I can press with the corner of my palm/the base of my pinky finger.

BTW, did you know many Emacs keys work in standard macOS text views? For an intro and a bunch of details, see <http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html> and <http://www.hcs.harvard.edu/~jrus/site/system-bindings.html>.




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

Search: