Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mikeroher
· 12y ago · 0 comments
I use Vim and was unaware that this shortcut existed. Are there any other Emacs shortcuts which are useful in OSX?
Comments
[–]
coliveira
12y ago
If you do "set -o vi" you can also use vi shortcuts, such as ESC-j,k to go up/down the history, 0 to go to the beginning of the line, etc.
[–]
pyre
12y ago
You cannot use 'set -o vi' to turn Cocoa text fields into vi-mode.
[–]
65a
12y ago
Ctrl-K kill to end of line,
so Ctrl-A Ctrl-K will clear a given field
[–]
Fishkins
12y ago
And you can Ctrl-Y to paste the line you killed. This is a separate copy/paste buffer from the normal Cmd-C one, which can be nice.