On Tue, Mar 10, 2009 at 10:50:53AM -0600, Erik Falor wrote:
> 
> On Tue, Mar 10, 2009 at 08:24:16AM -0700, graywh wrote:
> > 
> > I have no need to edit right-to-left text in Vim so I use ctrl-7 (aka
> > ctrl-_) for screen.
> 
> Ctrl-_ is bound to undo in readline's default configuration.
> 
> I found that Ctrl-o is not bound by readline in the default
> configuration, so that is what I use.
> 
> However, that keystroke is very handy in Vim, where in normal mode it
> jumps the cursor to a prevoius position, or in insert mode puts you
> temporarily into normal mode.  I can still access this function
> indside of Screen by typing Ctrl-o o, but it is really trying on my
> muscle-memory to switch between using Vim both in and out of Screen.
> So, you could say that I'm in the market for a new command key.
> 
> Alas, a perusal of `man readline` reveals that there are precious few
> unused key combinations.

I use Ctrl-Q for switching. It clashes with terminal flow control (Ctrl-Q
and Ctrl-S), but I disable that anyway whereever I use screen. It has the
advantage of being just an alias for Ctrl-V in both readline and vim.

Besides, in some terminal apps (e.g. rtorrent), ctrl-Q is the quit
mapping and having to escape it through screen prevents me from
accidently quitting on a regular basis.

The only time I use Ctrl-Q in vim is when I want to close the last
window with ^W^Q. Again, I think the need to escape it is a feature.

Finally, it can be used painlessly used with one hand, even better than
Ctrl-A in my opinion.

- kba

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to