29949Re: Win32 Short filenames - comments?
- Oct 1, 2002Michael Geddes wrote:
> A call to win32 vimmers!Since this is just a small change and can be very useful for people who
> I _have created_ a patch that adds a modifier which is currently :X
> (from dir /x) that modifies
> the filename to be the windows short file name.
> ie : expand('%:X')
> Would return the full short filename of the current file.
> expand('%:X:.') also works (as does :~).
need this, I'm not against including this feature.
- Why ":X"? Isn't there a more obvious name to get the short filename?
- Does this only shorten the last part of the path or also the directory
names before it?
From "know your smileys":
(X0||) Double hamburger with lettuce and tomato
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
\\\ Project leader for A-A-P -- http://www.a-a-p.org ///
\\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
- << Previous post in topic Next post in topic >>