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

1. I think this is for the people who want more than just a couple vi-like motion keys.

2. Five of your seven shortcuts are for emacs[0], not vim.

[0]: https://www.gnu.org/software/bash/manual/html_node/Command-L...



Right, I just thought it was interesting enough to point out how there are many navigation shortcuts that are built into OS X. Useful even when you're using someone else's computer.


All seven are default keybindings in Emacs. Which two did you believe weren't?


I believe ctrl-n and ctrl-p work in vim


Oh, I see. I had forgotten that. They do also work in Emacs and I wouldn't be surprised to learn that their use in Emacs predates Vim.


I’m not sure when Vi[m] got ctrl n/p, but it looks like emacs got it WAY early on: http://ergoemacs.org/emacs/emacs_kb_shortcuts_pain.html


I've been using those commands in Emacs since the late 70s




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

Search: