Am 16.10.2012 10:52, schrieb David Lam:
maybe it's just me but,  quite often I find when I try to copy some text
into register a using,  "a
...I find that I hold down the shift key to press " a split second too
long, and end up hitting  "A
instead!

It's awfully annoying for me as it happens somewhat frequently, and makes
me have to redo the "ayy again a second time when it happens

I couldn't find a :set option to disable the built-in append-to-register
functionality altogether, so I tried to make one in this here patch ^^

Vimscript!!

:exec join(map(split('ABCDEFGHIJKLMNOPQRSTUVWXYZ', '\m'),
    \ 'printf(''map "%s "%s|sunm "%s|ou "%s'',
             \ v:val, tolower(v:val), v:val, v:val)'),
    \ "|")

--
Andy

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui