News for hackers. Stuff that matters.
Re:Ask HN: What Vim habits did you need to unlearn? by wruza on Wednesday December 18, 2024 @07:45PM (#42457158)
Not particularly a vim habit but doing this:

  function foo() {|

  function foo() {
  }|<esc>O<sp><esc>x

  function foo() {
  ....
  }
I know that I can just {<cr>}, and then o/O any time, but for some reason I want that empty indented line which I delete half of the times anyway.

There are no comments on this comment yet.