punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Is it possible to remember the last location and always go to it, instead of the directory of the currently opened file? #195

Open alienbogart opened 5 years ago

alienbogart commented 5 years ago

Runtime Environment

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.

punassuming commented 5 years ago

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!