Re: Tab Order

2014-08-02 Thread Paul
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

Re: Tab Order

2014-07-30 Thread mMontu
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

Re: tab order

2013-02-28 Thread Shital
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

Re: [CSC507-Homework] receipt acknowledged! (was: tab order)

2013-02-27 Thread Steve Litt
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

Re: tab order

2013-02-27 Thread shawn wilson
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

Re: [CSC507-Homework] receipt acknowledged! (was: tab order)

2013-02-27 Thread Bram Moolenaar
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

Re: tab order

2013-02-27 Thread Christian Brabandt
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

[CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: tab order))))

2013-02-27 Thread Charles Campbell
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   -

[CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: tab order)))

2013-02-27 Thread Charles Campbell
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   -

[CSC507-Homework] receipt acknowledged! (was: [CSC507-Homework] receipt acknowledged! (was: tab order))

2013-02-27 Thread Charles Campbell
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   -

[CSC507-Homework] receipt acknowledged! (was: tab order)

2013-02-27 Thread Charles Campbell
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   -

tab order

2013-02-27 Thread shawn wilson
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

Re: Tab Order

2012-06-09 Thread Bram Moolenaar
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() > > > > >

Re: Tab Order

2012-06-09 Thread Christian Brabandt
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

Re: Tab Order

2012-06-07 Thread Ben Fritz
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

Re: Tab Order

2012-06-07 Thread Karthick Gururaj
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

Re: Tab Order

2012-06-01 Thread Ben Fritz
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

Re: Tab Order

2012-06-01 Thread Paul
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

Re: Tab Order

2012-05-31 Thread Scott
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

Re: Tab Order

2012-05-20 Thread Ben Fritz
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

Re: Tab Order

2012-05-19 Thread Paul
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

Re: Tab Order

2012-05-15 Thread Ben Fritz
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]:

Re: Tab Order

2012-05-15 Thread Bert Swart
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]: >

Re: Tab Order

2012-05-14 Thread Ben Fritz
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]:

Tab Order

2012-05-14 Thread Paul
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]

Re: tab order

2009-06-09 Thread Roberto Miura Honji
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

Re: tab order

2009-06-06 Thread Chris Bannister
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

RE: tab order

2009-05-27 Thread John Beckett
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

Re: tab order

2009-05-27 Thread 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 On 27 май, 20:03, alberto wrote: > Hi!, > >

Re: tab order

2009-05-27 Thread alberto
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.

tab order

2009-05-27 Thread 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. For more information, visit http://www.vim.org/maillist.php -