| Computers Forum Index » Computer - Editors » vim of multiple linked files doesn't show filenames... |
|
Page 1 of 1 |
|
| Author |
Message |
| Marky1124... |
Posted: Wed Aug 26, 2009 11:38 am |
|
|
|
Guest
|
Hi,
If you do
$ vi is_this_a_vim_bug*
or
$ vi is_this_a_vim_bug.hardlink is_this_a_vim_bug.softlink
Given
$ ls -l is_this_a_vim_bug*
-rw-rw-r-- 2 marky marky 29 Aug 26 11:46
is_this_a_vim_bug
-rw-rw-r-- 2 marky marky 29 Aug 26 11:46
is_this_a_vim_bug.hardlink
lrwxrwxrwx 1 marky marky 6 Aug 26 11:46
is_this_a_vim_bug.softlink -> is_this_a_vim_bug
and then use :n to move to the next file then vi doesn't change the
filename in the status bar at the bottom.
I think it should. If it is trying to indicate that we are still on
the same file then it should state that clearly, e.g
is_this_a_vim_bug.hardlink linked to is_this_a_vim_bug or
is_this_a_vim_bug.hardlink is same file as is_this_a_vim_bug
I've reproduced this on RHEL v3 with vim v6.3.81 and on Debian v4.0
with vim v7.0.235, v7.0.305 & v7.2.245.
I think this is a bug, or at least an opportunity to make it clearer
to the user what is happening.
Cheers,
Mark |
|
|
| Back to top |
|
|
|
| Marky1124... |
Posted: Wed Aug 26, 2009 4:24 pm |
|
|
|
Guest
|
| Thank you very much Gary. |
|
|
| Back to top |
|
|
|
| Marky1124... |
Posted: Wed Aug 26, 2009 4:28 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
| Gary Johnson... |
Posted: Wed Aug 26, 2009 7:19 pm |
|
|
|
Guest
|
Mark,
I verified this on my system and forwarded your post to the vim_dev
mailing list where I think it will receive more attention from
developers.
--
Gary Johnson |
|
|
| Back to top |
|
|
|
|