On Fri, Jul 14, 2006 at 03:52:16PM +0200, Eric Smith wrote:
> Hi
>
> I am using tabs in vim7 and have several files permanently opened
> on screen window called "data". I have bindings as per:
> bind r eval 'select data' 'stuff :tabn1^M'
> bind t eval 'select data' 'stuff :tabn2^M'
>
> This takes me from wherever I am in screen to the data window and
> then issues the :ex command do go to tab number 1 if I pressed
> "r" and tab 2 if I pressed "t".
>
> This works perfectly if I am not in window "data".
> But I want to use the same keystrokes even if I am in the data
> window. But then I get the error message "This IS window ..."
> and an irritating 1 sec pause.
If you don't mind the extra refresh you can use:
bind r eval 'select -' 'select data' 'stuff :tabn1^M'
bind t eval 'select -' 'select data' 'stuff :tabn2^M'
Cheers,
Michael.
--
Michael Schroeder [EMAIL PROTECTED]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users