Thursday, July 12, 2012

Re: vim: session of "sessions"

On Wed, Jul 11, 2012 at 03:25:58PM -0400, ping wrote:
> [snip]
>
> * switching beyond 9 windows is painful in screen, if you ever use it.

I know you wanted to look at the Vim-side of the problem, but
switching to windows > 9 in GNU screen really is painful. The
following mapping helps me handling my 20 screen windows:

# Bindings for fast switching to windows 10 to 19. Thanks to skizzhg in
# #screen on Freenode (2010-10-31 21:49 CET) for the suggestion.
bind -c window 0 select 10
bind -c window 1 select 11
bind -c window 2 select 12
bind -c window 3 select 13
bind -c window 4 select 14
bind -c window 5 select 15
bind -c window 6 select 16
bind -c window 7 select 17
bind -c window 8 select 18
bind -c window 9 select 19
bind ; command -c window

With these mappings e.g. ^a ; 5 jumps to window 15.

Btw. I haven't found a good way to perform the same in tmux,
suggestions are very welcome.

Regards,
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

No comments: