3

Is it possible to store the current ranger session into a file so to restore it at a later point in time?

EDIT: I ask this question because I use many different ranger sessions and tabs inside a tmux session. When I'm storing the tmux session, I'd also like to preserve the ranger tabs.

2

see save_tabs_on_exit [bool]

Save all tabs, except the active, on exit? The last saved tabs are restored once when starting the next session. Multiple sessions are stored in a stack and the oldest saved tabs are restored first.

Set in your .config/ranger/rc.conf:

set save_tabs_on_exit true

You'll probably need to use ranger from master.

  • 1
    It's worth noting here that You need to use F10 for ranger to remember tabs. – Michal Przybylowicz Mar 23 '17 at 19:44
  • Thanks for the reply. Unfortunately, the new version is not yet available in the official channels. – tigerjack89 Apr 8 '17 at 13:55
  • @tigerjack89 yes, they don't release very often. The only thing you need to do though is git clone the repo and ln -s ranger somewhere in your path (after uninstalling the old version). – laktak Apr 8 '17 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.