Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | {{review}} |
||
{{TipImported |
{{TipImported |
||
|id=1333 |
|id=1333 |
||
|previous=1332 |
|previous=1332 |
||
|next=1334 |
|next=1334 |
||
β | |created=2006 |
+ | |created=September 19, 2006 |
|complexity=basic |
|complexity=basic |
||
|author=mz |
|author=mz |
||
Line 11: | Line 12: | ||
|category2= |
|category2= |
||
}} |
}} |
||
β | + | The default is that when you close a tab, the tab to the right of the tab you just closed becomes the current tab. This mapping closes the current tab and makes the tab to the left of the tab you just closed the current tab. I like this to provide symmetry with <tt>tabopen</tt> (new tabs go to the right of the tab you were just on). This way, if I'm editing a file, and do something quickly in a new tab, then close that tab, I get back to my original tab. Obviously the keys for the mapping can be changed to whatever you want. |
|
<pre> |
<pre> |
||
Line 18: | Line 19: | ||
==Comments== |
==Comments== |
||
β | + | I hacked up the following, which performs the above if about to close a tab, otherwise just does :q. |
|
<pre> |
<pre> |
||
Line 30: | Line 31: | ||
map <C-x> :call CloseSomething()<CR> |
map <C-x> :call CloseSomething()<CR> |
||
</pre> |
</pre> |
||
+ | [[Special:Contributions/216.239.45.4|twifkak]] 21:29, 19 December 2008 (UTC) |