Tuesday, April 3, 2012

Re: don't want to type _

On Wed, Apr 4, 2012 at 9:49 AM, sinbad <sinbad.sinbad@gmail.com> wrote:
> imap does help,
> it's not my emotion, it requires shift to enter _ or ->,
> i tend to use my left little finger to press shift and lately
> that finger is paining a lot, so i am finding ways to
> avoid shift as much as possible. i'm so much used
> to left finger, i'm not able to avoid even if i want to.
> i am trying to use the right little finger, but it's not
> happenin...:(

The AutoComplPop plugin might alleviate your pain:

http://www.vim.org/scripts/script.php?script_id=1879

it actively pops up an omni-completion box to match whatever it is
you're currently typing with contents from the currently opened
buffers.

It's not perfect. I enable it in my vimrc all the time and sometimes
it does get in the way , like preventing you from inserting the enter
key the popup appears, but most of the time it's good at auto
completing stuff_like_this.

For -> you might find mapping "." to "->" in insert mode may help, or
even ".." to "->".

nazri

--
You received this message from the "vim_use" 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

No comments: