Discussion:
[Vimperator] Avoiding arrows for completing in insert mode
Alexandre Provencio
2012-03-28 13:49:06 UTC
Permalink
Hello guys,

I have seen calls to "inoremap <c-p> <up>" and "inoremap <c-n> <down>"
in anekos and voidy's vimperatorrcs.

Do these statements mean shortcuts to use <c-p> and <c-n> for choosing
between completion suggestions in edit boxes and such?

Although that would be awesome, I couldn't manage them to work. In
addiction, such feature does not seem to be possible according to these
links:
-
http://code.google.com/p/vimperator-labs/issues/detail?id=576&amp;q=insert%20mode&amp;colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner
-
http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&amp;r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed

Can someone please clear this up to me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120328/654c057e/attachment.html>
Alexandre Provencio
2012-03-31 20:08:46 UTC
Permalink
bump?

On Wed, Mar 28, 2012 at 10:49 AM, Alexandre Provencio <
Post by Alexandre Provencio
Hello guys,
I have seen calls to "inoremap <c-p> <up>" and "inoremap <c-n> <down>"
in anekos and voidy's vimperatorrcs.
Do these statements mean shortcuts to use <c-p> and <c-n> for choosing
between completion suggestions in edit boxes and such?
Although that would be awesome, I couldn't manage them to work. In
addiction, such feature does not seem to be possible according to these
-
http://code.google.com/p/vimperator-labs/issues/detail?id=576&amp;q=insert%20mode&amp;colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner<http://code.google.com/p/vimperator-labs/issues/detail?id=576&q=insert%20mode&colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner>
-
http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&amp;r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed<http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed>
Can someone please clear this up to me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120331/95c4c65b/attachment.html>
Martin Stubenschrott
2012-04-02 21:59:18 UTC
Permalink
No, these commands just mean, that in a multiline edit box (like the one I
am just typing into (gmail)),
you can use ctrl-p/n to move the cursor up/down. That's an behavior many
know from emacs and
other UNIX like programs.

It is currently impossible to map keys to select things in completion boxes
(and many sites override
the completions anyway so it would be just partly useful anyway).

--
Martin

On Sat, Mar 31, 2012 at 10:08 PM, Alexandre Provencio <
Post by Alexandre Provencio
bump?
On Wed, Mar 28, 2012 at 10:49 AM, Alexandre Provencio <
Post by Alexandre Provencio
Hello guys,
I have seen calls to "inoremap <c-p> <up>" and "inoremap <c-n> <down>"
in anekos and voidy's vimperatorrcs.
Do these statements mean shortcuts to use <c-p> and <c-n> for choosing
between completion suggestions in edit boxes and such?
Although that would be awesome, I couldn't manage them to work. In
addiction, such feature does not seem to be possible according to these
-
http://code.google.com/p/vimperator-labs/issues/detail?id=576&amp;q=insert%20mode&amp;colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner<http://code.google.com/p/vimperator-labs/issues/detail?id=576&q=insert%20mode&colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner>
-
http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&amp;r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed<http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed>
Can someone please clear this up to me?
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120402/ef361ffc/attachment.html>
Alexandre Provencio
2012-04-04 13:26:10 UTC
Permalink
Thanks for your answer Martin.

On Mon, Apr 2, 2012 at 6:59 PM, Martin Stubenschrott <
Post by Martin Stubenschrott
No, these commands just mean, that in a multiline edit box (like the one I
am just typing into (gmail)),
you can use ctrl-p/n to move the cursor up/down. That's an behavior many
know from emacs and
other UNIX like programs.
Of course, can't believe I had not tried that before :/
Post by Martin Stubenschrott
It is currently impossible to map keys to select things in completion
boxes (and many sites override
the completions anyway so it would be just partly useful anyway).
I'm happy to at least know that this is currently impossible, though I
think that would be very useful, and at the moment i can't think of sites
(at least the major) that override that as you said.

Thanks again.
Post by Martin Stubenschrott
--
Martin
On Sat, Mar 31, 2012 at 10:08 PM, Alexandre Provencio <
Post by Alexandre Provencio
bump?
On Wed, Mar 28, 2012 at 10:49 AM, Alexandre Provencio <
Post by Alexandre Provencio
Hello guys,
I have seen calls to "inoremap <c-p> <up>" and "inoremap <c-n> <down>"
in anekos and voidy's vimperatorrcs.
Do these statements mean shortcuts to use <c-p> and <c-n> for choosing
between completion suggestions in edit boxes and such?
Although that would be awesome, I couldn't manage them to work. In
addiction, such feature does not seem to be possible according to these
-
http://code.google.com/p/vimperator-labs/issues/detail?id=576&amp;q=insert%20mode&amp;colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner<http://code.google.com/p/vimperator-labs/issues/detail?id=576&q=insert%20mode&colspec=ID%20Summary%20Project%20Type%20Status%20Priority%20Stars%20Owner>
-
http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&amp;r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed<http://code.google.com/p/vimperator-labs/source/browse/vimperator/TODO?spec=svnd1f07f0e84467159b68ec1e81230bf9cb6d7bef8&r=e76e7ce9ed0766ffb3e4c0f73bbc7b881db449ed>
Can someone please clear this up to me?
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120404/d4e862b8/attachment.html>
Loading...