Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chewxy
· 6y ago · 0 comments
slides 14 and 15 - terminals have emacs shortcuts??!
EDIT: I am god now
Comments
[–]
rgoulter
6y ago
This is because your shell uses readline.
https://linux.die.net/man/3/readline
[–]
anarchyrucks
6y ago
You can get vim shortcuts as well.
zsh: bindkey -v
bash: set -o vi
[–]
filterfish
6y ago
You can configure readline (which is what bash uses) to use vi-bindings via $HOME/.inputrc then everything that uses readline (which is pretty much everything) will also get vi-bindings.