go to Normal mode via ctrl-C and ctrl-[

Bug #645000 reported by Mark Edgington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ViGedit
New
Undecided
Unassigned

Bug Description

It should be possible to use ctrl-C and ctrl-[ to return to normal mode from insert/visual mode.

Revision history for this message
Stephen Moore (delfick) wrote :

Ok, I'll add that tonight at some point when I'm back from work

Revision history for this message
Stephen Moore (delfick) wrote :

So, I had a look at what these do in vim.

I use ctrl-C to copy text (along with ctrl-v and ctrl-x for paste and cut, because it's more convenient for me to use a mouse and those keyboard shortcuts) so sorry, I won't change that one (one day this will be configurable :p)

As for ctrl-[, from what I can tell, this one does stuff with ctags as well, which is a bit beyond me and I don't have time for much research into how to make things happen, so I'm not sure what benefit having ctrl-[ over esc would be when it can't do anything else .....

Sorry....

Revision history for this message
Mark Edgington (edgimar) wrote : Re: [Bug 645000] Re: go to Normal mode via ctrl-C and ctrl-[

I can understand that about Ctrl-C/X/V -- so it would make the most
sense to make it configurable. Netbeans has a nice vi-compatibility
plugin called jvi that maybe is worth looking at --
http://jvi.sourceforge.net/ -- it is configurable as to whether a key
is handled by the jvi plugin, or by Netbeans. I guess you'd want to
do something similar.

Nonetheless, for the "hardcore" vim users who would choose to use the
gedit plugin, I guess that using ctrl-c / [ would be important since
it's a lot less wrist-strain than ESC, and vim has its own copy/paste
keybindings.

Anyway, looking forward to future versions! ;)

Regards,

-Mark

On Thu, Sep 23, 2010 at 4:48 PM, delfick <email address hidden> wrote:
> So, I had a look at what these do in vim.
>
> I use ctrl-C to copy text (along with ctrl-v and ctrl-x for paste and
> cut, because it's more convenient for me to use a mouse and those
> keyboard shortcuts) so sorry, I won't change that one (one day this will
> be configurable :p)
>
> As for ctrl-[, from what I can tell, this one does stuff with ctags as
> well, which is a bit beyond me and I don't have time for much research
> into how to make things happen, so I'm not sure what benefit having
> ctrl-[ over esc would be when it can't do anything else .....
>
> Sorry....
>
> --
> go to Normal mode via ctrl-C and ctrl-[
> https://bugs.launchpad.net/bugs/645000
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.