On 29/12/11 11:20, Tomasz Muras wrote:
Hello!

What do you think about adding more information about the file when
ctrl-g is pressed? The one I'd really like is full path to the file.

Tomasz Muras


To display the filename with full path (or relative to $HOME shown as ~ but not relative to the current dir), use a count. Examples from my currently running gvim session, with 'ruler' on and 'shortmess' at its 'nocompatible' default:

^G
"chrome/userChrome.css" 518 lines --58%--

1^G
"~/.mozilla/seamonkey/nexrdon9.default/chrome/userChrome.css" 518 lines --58%--

2^G
buf 5: "~/.mozilla/seamonkey/nexrdon9.default/chrome/userChrome.css" 518 lines --58%--


See :help CTRL-G



Best regards,
Tony.
--
Pardo's First Postulate:
        Anything good in life is either illegal, immoral, or
fattening.

Arnold's Addendum:
        Everything else causes cancer in rats.

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