[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
avoiding warning message and delay in "macro"
From: |
Eric Smith |
Subject: |
avoiding warning message and delay in "macro" |
Date: |
Mon, 17 Jul 2006 14:00:08 +0200 |
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.
How do I achieve the functionality I want without this waste of
time? (I know you can config the time delay for these messages
but I do not want that to be done as a global setting).
Thanks
Eric
- avoiding warning message and delay in "macro",
Eric Smith <=