News for hackers. Stuff that matters.
Re:Vim anti-patterns by mct on Wednesday February 08, 2012 @03:51AM (#3565806)
To break a single line into two lines on a whitespace boundary, one pattern I find myself using often is moving the cursor to the whitespace and hitting 'r<return>'.

(The 'r' command replaces the character under the cursor with the next key typed, without going into insert mode.)

Re:Vim anti-patterns by dasil003 on Wednesday February 08, 2012 @04:46AM (#3565918)
Oh that's a nice trick, I'll remember that one. As an avid user of J I've been wanting its inverse.
Re:Vim anti-patterns by swah on Wednesday February 08, 2012 @07:58AM (#3566351)
Isn't J the inverse?