News for hackers. Stuff that matters.
Re:Quick tip for developers who use OS X by mikeroher on Monday January 13, 2014 @10:56AM (#7051255)
I use Vim and was unaware that this shortcut existed. Are there any other Emacs shortcuts which are useful in OSX?
Re:Quick tip for developers who use OS X by coliveira on Monday January 13, 2014 @11:02AM (#7051290)
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.
Re:Quick tip for developers who use OS X by pyre on Monday January 13, 2014 @11:14AM (#7051377)
You cannot use 'set -o vi' to turn Cocoa text fields into vi-mode.
Re:Quick tip for developers who use OS X by 65a on Monday January 13, 2014 @11:00AM (#7051283)
Ctrl-K kill to end of line,

so Ctrl-A Ctrl-K will clear a given field

Re:Quick tip for developers who use OS X by Fishkins on Monday January 13, 2014 @11:38AM (#7051595)
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.