On Saturday, August 4, 2012 1:17:55 AM UTC-7, William Bowers wrote:
> Hi all!
> 
> I've included a patch that adds a setting that defines which tab to select 
> after a tab is closed. The setting is 'tabcloseleft' or 'tcl' (maybe not the 
> best name, but it's the best I could come up with), and when enabled causes 
> the previous tab to be selected, as opposed to the next tab (the current 
> functionality). The setting is off by default so nothing changes for users 
> that don't know about it.
> 
> Here is an example of what it does. Let's say I have the following tabs:
> 
>   one     [two]      three
> 
> Tab 'two' is selected (denoted by []). Currently, if I close that tab, tab 
> 'three' will be selected:
> 
>   one     [three]
> 
> With ':set tabcloseleft', tab 'one' will be selected:
> 
>   [one]     three
> 
> I've tested closing on the first tab, the last tab and every tab in between. 
> Also, this works regardless of how the tab is closed (:tabclose, closing the 
> last window in the tab, etc).
> 
> 
> This is my first patch, so apologies if I've missed some critical information 
> in this submission, forgot to modify or add something in code that's 
> necessary for new settings, overlooked previous attempts at adding this same 
> feature or missed the ball completely on where you all are trying to take 
> vim. I believe this to be in line with vim (customizable but fast and 
> unobtrusive), but let me know if it's not, and if there is anything I can do 
> to fix it.
> 
> Thanks!

Is there something else I can fix in this patch? Or is it acceptable?

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui