[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [screen-devel] Numbered regions like in vim?

From: Clark J. Wang
Subject: Re: [screen-devel] Numbered regions like in vim?
Date: Sun, 6 Nov 2011 21:20:22 +0800

On Sat, Nov 5, 2011 at 4:30 AM, Jostein Berntsen <address@hidden> wrote:
On 02.11.11,13:42, Clark J. Wang wrote:
> In vim, all windows (created by :split and :vsplit commands) are numbered
> as 1, 2, 3, ... and we can include the window number in 'statusline'. If I
> want to go to window 3 I can type 3<ctrl-w>w which is very convenient. And
> I make it even more convenient with following mappings:
> nnoremap  <silent> g1 1<C-W>w
> nnoremap  <silent> g2 2<C-W>w
> nnoremap  <silent> g3 3<C-W>w
> nnoremap  <silent> g4 4<C-W>w
> nnoremap  <silent> g5 5<C-W>w
> nnoremap  <silent> g6 6<C-W>w
> nnoremap  <silent> g7 7<C-W>w
> nnoremap  <silent> g8 8<C-W>w
> nnoremap  <silent> g9 9<C-W>w
> Is that possible with regions (created by :split command) in screen?

Would something like this work for you?

Yes I already know the focus command but it requires quite a few of key strokes when moving between >2 regions. Would be much easier if I can focus a region by its number.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]