News for hackers. Stuff that matters.
Re:Use Vim Like A Pro by klochner on Sunday October 31, 2010 @06:48PM (#1854607)
It's also common to remap ii to exit insert mode, that way "i" puts you in, "ii" takes you out.

Personally, I remapped caps lock to esc, because I don't like the way the editor lags when typing an "i" after "ii" has been remapped, but Caps-->Ctrl has the additional benefit of making other Ctrl-Foo sequences easy.

Re:Use Vim Like A Pro by pyre on Monday November 01, 2010 @12:42AM (#1855398)

  > Personally, I remapped caps lock to esc, because I don't like the
  > way the editor lags when typing an "i" after "ii"
That's the problem with mapping non-Ctrl/Alt sequences in Insert mode. Even thing like bindings that automatically insert a closing } (with auto-indent) when you type the opening { are really annoying because they are commonly bound to the sequence "{<Enter>". So when you type { without <Enter> there is a delay while it waits to see if you're going to hit <Enter>.
Re:Use Vim Like A Pro by stuhacking on Monday November 01, 2010 @07:13AM (#1856020)
How would one insert the string 'ascii'?
Re:Use Vim Like A Pro by gfodor on Monday November 01, 2010 @03:42PM (#1857899)
You can always force a literal insertion via ctrl-v. So,

asc<C-v>i<C-v>i

in insert mode.

Re:Use Vim Like A Pro by klochner on Monday November 01, 2010 @11:12AM (#1856720)
very slowly