Thursday, September 2, 2010

Re: tab name in MacVim

On Thursday 02 September 2010 16:01:47 mitch wrote:

> I'm using MacVim 7.2. Not sure if this question is specific
> to the Mac or general to Vim.

> I'm creating a new tab, and then dragging a file onto the tab.
> The file opens fine. In the title of the tab, Vim is trying
> to fit the whole directory path and file name. It doesn't
> fit and so it's unreadable. I'd prefer to have it just put
> the file name, without the directory path, in the tab title.
> Is there a way to set it up so it always does this? Thanks.

this is just a guess but you might have a look at the
'titlestring', see if you can define your own without the path

see

:h titlestring

for an explanation and some examples

sc

--
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

No comments:

Post a Comment