Thursday, June 24, 2010

Re: Feature Request...

On 06/24/2010 10:53 AM, Jens-Wolfhard Schicke wrote:
> AK wrote:
> > On 06/24/2010 08:59 AM, Jens-Wolfhard Schicke wrote:
> >> Single character insert. Just like "r" will let you replace one
> > character, I often need to insert a single character.
> >> Currently I press "i<Whatever><ESC>", taking three strokes (one of them
> > ESC or Ctrl-[, both of which involve some hand moving).
> >>
> >> With the single character insert, the most awkward of the three strokes
> > would go away.
> > It would be very easy to make a mapping for this, let @a = getch() and
> > then "aP (untested).
>
> > The issue is not adding a feature or a command but what key would be
> > assigned to it. Vim already has all keys taken by more useful commands.
> I disagree, and propose to use "_" for this feature. (Yes I know it'll break some scripts...)


I disagree with your disagreement :). It's true that I don't use _ at
all, but there's many, many commands that I use more often than
insertion of single char that don't have a vim command for it. Even if
this command were added, I'd definitely remap _ to do some other stuff.
I actually use it as one of the leaders for more commands but, anyway..

By the way, does anyone know - what's the historical reasoning for the _
command, it does seem a bit odd?  -ak

No comments: