Closed hiaw closed 8 years ago
@hiaw, Fix is in to revert header-line-format
when used.
Confirm fix. Thanks.
I use ranger-20210125.330
and I currently experience the same issue. Is there any information I can provide that would help with debugging?
While not really a solution, a fast workaround is to kill the buffer from where you started ranger, as this is just a local variable, and other buffers aren’t affected.
After investigating this issue, it is slightly different. I have (ranger-show-literal nil)
in order to see previews, and the header line stays when I quit ranger. When I open a file as described in the original issue, the header line correctly reverts.
@ralesi Should I open another issue or is it part of this one as it is related to the header line not reverting?
OK, it is slightly more complicated than I initially thought. When I launch ranger from certain major modes like vterm-mode
or circe-mode
the header line is correctly reverted, but when I launch ranger from org-mode
it will stay after I quit ranger.
I set
(setq ranger-show-literal t)
so that it will have nice syntax highlighting by default as I go through the file list. It causes the following where the file path is constantly visible on the first line.Reproduce:
(setq ranger-show-literal t)
in.spacemacs