Closed lifepillar closed 6 years ago
This might be intended behaviour, as the help also says that conceal is disabled when the buffer is modified,
Yes, exactly.
in the past the behaviour was different, and gh did not unhide paths
That's true. Later I changed the behavior to better support "ad-hoc editing", e.g.:
:'<,'>!xargs du -hs
If conceal is enabled then editing the buffer is difficult.
that can be easily fixed by appending
:set cole=3<cr>
to the mapping, but maybe there's a better way.
g:dirvish_mode
is recommended for most cases. The mapping is still mentioned for reference, but I guess it should also be updated as you note.
Thanks for the clarification. Feel free to close this, then.
When I use
gh
to hide dot-prefixed files, full paths become visible. For example:becomes:
Pressing
R
restores the normal situation. This might be intended behaviour, as the help also says thatconceal
is disabled when the buffer is modified, but this seems like a corner case. Also, I am pretty sure that in the past the behaviour was different, andgh
did not unhide paths. Anyway, that can be easily fixed by appending:set cole=3<cr>
to the mapping, but maybe there's a better way.