[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ranger-users] Ranger tip: Save tabs
From: |
Jostein Berntsen |
Subject: |
[Ranger-users] Ranger tip: Save tabs |
Date: |
Mon, 28 Jun 2010 19:25:04 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Here is a tip if you want to save a config for tabs in ranger that you
can open while the application is running. Save a set of directories in
a bash script file like:
#!/bin/sh
/home/jostein/dw/ranger/ranger.py ~/Pictures ~/Documents ~/Documents/tips ~/mp3
~/Documents/Finans
Then you can bind this script to a key in keys.py. The script is called
"ry":
map('_t', fm.open_console(cmode.OPEN, '!source ry'))
You can then make several scripts like this for different keys. Maybe a
hack, but it works great for me. This needs the latest version of ranger
that can open several directories from the command line.
Jostein
- [Ranger-users] Ranger tip: Save tabs,
Jostein Berntsen <=