On Wednesday, 30 July, 2014 at 20:20:38 BST, mMontu wrote:
augroup FocusOnTabClose
au!
au TabLeave * call TabCloseLeave()
au TabEnter * call TabCloseEnter()
augroup END
function! TabCloseLeave()
" Vim default behavior is fine for the first and the last tab
if tabpagenr() != 1 && tabpage
the
TabLeave and TabEnter events when tabpgage is closed.
--
View this message in context:
http://vim.1045645.n5.nabble.com/Tab-Order-tp5708299p5722304.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
--
You received this message from the "vim_use" mailli
Here is what i'm using
function! MoveCurrentTab(value)
if a:value == 0
return
endif
let move = a:value - 1
let move_to = tabpagenr() + move
if move_to < 0
let move_to = 0
endif
exe 'tabmove '.move_to
endfunction
map :call MoveCurrentTab(-1)
m
On Wed, 27 Feb 2013 07:02:31 -0800 (PST)
Bram Moolenaar wrote:
> On Wednesday, 27 February 2013 15:46:07 UTC+1, Charles Campbell
> wrote:
> > Hello,
> >
> >
> >
> > (this is an automatic reply)
> >
> >
> >
> > Your homework has been received.
> >
> >
> >
> > Thank you,
> >
> > C Campbel
heh, now I feel stupid. thanks
On Wed, Feb 27, 2013 at 9:54 AM, Christian Brabandt wrote:
> On Wed, February 27, 2013 15:45, shawn wilson wrote:
>> How do i change the order of tabs? I don't see any other way but
>> closing it and opening a buffer in a newly created tab? I guess I
>> could create
On Wednesday, 27 February 2013 15:46:07 UTC+1, Charles Campbell wrote:
> Hello,
>
>
>
> (this is an automatic reply)
>
>
>
> Your homework has been received.
>
>
>
> Thank you,
>
> C Campbell
I have blocked posting for Charles for now.
It seems something is bouncing around.
Sorry for th
On Wed, February 27, 2013 15:45, shawn wilson wrote:
> How do i change the order of tabs? I don't see any other way but
> closing it and opening a buffer in a newly created tab? I guess I
> could create / find a script that would splice -1 and splice 1 the tab
> where i wanted it by moving buffers
Hello,
(this is an automatic reply)
Your homework has been received.
Thank you,
C Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-
Hello,
(this is an automatic reply)
Your homework has been received.
Thank you,
C Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-
Hello,
(this is an automatic reply)
Your homework has been received.
Thank you,
C Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-
Hello,
(this is an automatic reply)
Your homework has been received.
Thank you,
C Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
-
How do i change the order of tabs? I don't see any other way but
closing it and opening a buffer in a newly created tab? I guess I
could create / find a script that would splice -1 and splice 1 the tab
where i wanted it by moving buffers around - did I miss something? Is
there an internal vim comma
Christian Brabandt wrote:
> On Do, 07 Jun 2012, Ben Fritz wrote:
>
> > On Thursday, June 7, 2012 9:09:16 AM UTC-5, Karthick wrote:
> > > I tried doing this and ran into an issue..
> > >
> > > The script:
> > > au TabEnter * call TabEnterFunc()
> > > au TabLeave * call TabLeaveFunc()
> > >
> >
Hi Ben!
On Do, 07 Jun 2012, Ben Fritz wrote:
> On Thursday, June 7, 2012 9:09:16 AM UTC-5, Karthick wrote:
> > I tried doing this and ran into an issue..
> >
> > The script:
> > au TabEnter * call TabEnterFunc()
> > au TabLeave * call TabLeaveFunc()
> >
> > func! TabEnterFunc()
> >echo 'Ent
On Thursday, June 7, 2012 9:09:16 AM UTC-5, Karthick wrote:
> I tried doing this and ran into an issue..
>
> The script:
> au TabEnter * call TabEnterFunc()
> au TabLeave * call TabLeaveFunc()
>
> func! TabEnterFunc()
>echo 'Enter: ' . tabpagenr("$")
>sleep 1
> endfunc
>
> func! TabLeave
On Fri, Jun 1, 2012 at 8:02 PM, Ben Fritz wrote:
> On Thursday, May 31, 2012 10:37:50 PM UTC-5, Scott wrote:
>> Hi Jan,
>>
>> I'd like to be able to make Vim focus the left tab too (after closing a
>> tab). Did you find a way to do it without having to use a new command?
>>
>
> If all you want is
On Thursday, May 31, 2012 10:37:50 PM UTC-5, Scott wrote:
> Hi Jan,
>
> I'd like to be able to make Vim focus the left tab too (after closing a tab).
> Did you find a way to do it without having to use a new command?
>
If all you want is the left tab, the link I posted should do that. You can't
On Friday, 01 June, 2012 at 04:37:50 BST, Scott wrote:
Hi Jan,
I'd like to be able to make Vim focus the left tab too (after closing a tab).
Did you find a way to do it without having to use a new command?
Hi Mary,
Haven't have the time yet :/
--
.
--
You received this message from the "v
Hi Jan,
I'd like to be able to make Vim focus the left tab too (after closing a tab).
Did you find a way to do it without having to use a new command?
Scott. :)
On Saturday, May 19, 2012 11:40:10 PM UTC+10, Jan wrote:
> On Tuesday, 15 May, 2012 at 16:44:12 BST, Ben Fritz wrote:
> >I read this a
On Saturday, May 19, 2012 8:40:10 AM UTC-5, Jan wrote:
> On Tuesday, 15 May, 2012 at 16:44:12 BST, Ben Fritz wrote:
> >I read this as wanting to jump back to the most recent tab, no matter where
> >it is. E.g., you're in tab 1, open tab a as shown, go to tab 3, then back to
> >tab a, then close t
On Tuesday, 15 May, 2012 at 16:44:12 BST, Ben Fritz wrote:
I read this as wanting to jump back to the most recent tab, no matter where it
is. E.g., you're in tab 1, open tab a as shown, go to tab 3, then back to tab
a, then close tab a, you wanted to be in tab 3. Is this correct?
That's corre
On Monday, May 14, 2012 7:01:17 AM UTC-5, Jan wrote:
> When I close a tab, I'd like vim to take me back to the last tab that I was
> in, rather than the next in line. For example:
>
> I have several tabs open:
>
> [1] [2] [3]
>
> I'm in tab [1]. I open a new tab, [a], which opens after tab [1]:
On Mon, May 14, 2012 at 01:01:17PM +0100, Paul wrote:
> When I close a tab, I'd like vim to take me back to the last tab that I was
> in, rather than the next in line. For example:
>
> I have several tabs open:
>
> [1] [2] [3]
>
> I'm in tab [1]. I open a new tab, [a], which opens after tab [1]:
>
On Monday, May 14, 2012 7:01:17 AM UTC-5, Jan wrote:
> When I close a tab, I'd like vim to take me back to the last tab that I was
> in, rather than the next in line. For example:
>
> I have several tabs open:
>
> [1] [2] [3]
>
> I'm in tab [1]. I open a new tab, [a], which opens after tab [1]:
When I close a tab, I'd like vim to take me back to the last tab that I was in,
rather than the next in line. For example:
I have several tabs open:
[1] [2] [3]
I'm in tab [1]. I open a new tab, [a], which opens after tab [1]:
[1] [a] [2] [3]
I'm now in my new tab, [a]. I close it:
[1] [2]
2009/5/27 netimen
>
>
> thanks, but I mean another thing. I have 5 tabs and I use 2-nd and 4-
> th. I want gt jumping from 2-nd tab to 4-th, not to 3-d, and then from
> 4-th back to 2-nd. So the tab order is not left--right, but most
> recently used -- less recently used
I hav
On Thu, May 28, 2009 at 12:09:08PM +1000, John Beckett wrote:
>
> REMINDER TO ALL:
>
> Please bottom post on this list. Quote a small (relevant) part
> of the message you are replying to, and put your text underneath.
>
> See
> http://groups.google.com/group/vim_use/web/vim-information
Trimmin
REMINDER TO ALL:
Please bottom post on this list. Quote a small (relevant) part
of the message you are replying to, and put your text underneath.
See
http://groups.google.com/group/vim_use/web/vim-information
John
--~--~-~--~~~---~--~~
You received this message
thanks, but I mean another thing. I have 5 tabs and I use 2-nd and 4-
th. I want gt jumping from 2-nd tab to 4-th, not to 3-d, and then from
4-th back to 2-nd. So the tab order is not left--right, but most
recently used -- less recently used
On 27 май, 20:03, alberto wrote:
> Hi!,
>
>
Hi!,
try with gT.
Saludos
2009/5/27 netimen
>
> Now when I use gt command I go to the tab to the right. Can I
> configure vim to go to the tab last used (like in opera browser)?
> >
>
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
Now when I use gt command I go to the tab to the right. Can I
configure vim to go to the tab last used (like in opera browser)?
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-
31 matches
Mail list logo