Y
Hacker News
new
|
ask
|
show
|
jobs
by
mikeroher
4535 days ago
I use Vim and was unaware that this shortcut existed. Are there any other Emacs shortcuts which are useful in OSX?
2 comments
coliveira
4535 days 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.
link
pyre
4535 days ago
You cannot use 'set -o vi' to turn Cocoa text fields into vi-mode.
link
65a
4535 days ago
Ctrl-K kill to end of line,
so Ctrl-A Ctrl-K will clear a given field
link
Fishkins
4535 days 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.
link