ranger.el
ranger.el copied to clipboard
Is it possible to remember the last location and always go to it, instead of the directory of the currently opened file?
Runtime Environment
- MX Linux 17
- GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2019-02-12
- Evil version 1.2.14
- .emacs.d
- packages
- ranger-20170817.1557/’ (unsigned).
Self-explanatory. I wish to do achieve this without resorting to (setq ranger-return-to-ranger t)
, because when I open a file by mean means other than ranger prefer that it stays where I left it.
So you want behaviour of ranger-return-to-ranger
, but only when opened from ranger? Can you please specify further a use case? I am thinking you want ranger to forget about the location of the existing file, but not certain.
Thanks!