Hi,

On Wed, Apr 25, 2018 at 11:31 PM, Linwei <[email protected]> wrote:
> Every one uses a wide screen today, I can accept all names displayed as
> absolute names in quickfix window. If resolving file name is complex and
> hard to change, can we have an option to enforce display absolute names in
> quickfix window ??
>
> I don't care they are absolute names or relative names in the :ls command,
> but a lot of plugins uses quickfix today, mixed absolute and relative names
> is really annoying.
>

The quickfix list commands (cwindow and clist) use the buffer name as
displayed by the :ls command. As described in the vi stackexchange discussion
that you referred to, the path to the file/buffer names are shortened only on
certain events (like changing the directory).

Can you try the attached patch which shortens all the buffer names whenever
the :cwindow or the :clist command is invoked?

- Yegappan

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

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

Attachment: shorten_fnames.diff
Description: Binary data

Raspunde prin e-mail lui