Monday, July 27, 2015

Re: Buffer name resolution and simplification

On 2015-07-26, Gary Johnson wrote:
> When I open a file in the current working directory by specifying
> just the relative file name, that short, relative file name appears
> in the status line and in the buffer list. When I open another file
> in the same directory by specifying the full path name, that full
> path name is used in the status line and in the buffer list.

> Is there a way to force Vim to always display the file name as a
> relative path name, if it can?

I have a fix/workaround that seems to work:

au BufAdd * exe "cd" getcwd()

Regards,
Gary

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment