diff options
author | Nathaniel <natemaia10@gmail.com> | 2018-07-07 18:08:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 18:08:22 -0700 |
commit | 970d2ae77f7988e4af0dc604ff6444306f5d9be4 (patch) | |
tree | 160c4ece547f985eb24a98bcf86cb045ba8051d0 /ranger.py | |
parent | a523b1deaf1add8d105082720bf0ed9324eb69da (diff) | |
download | ranger-970d2ae77f7988e4af0dc604ff6444306f5d9be4.tar.gz |
Update plugin_pmount.py
Currently the pmount plugin uses static device letters and partition numbers. this change uses present devices and partitions. - Changes the binds to remove the need for uppercase device letters, if a device has no partitions <alt><m or M><device letter> mounts/unmounts the device. - With only one partition the same binds will handle it instead of the whole device. - With greater than one partitions, map <alt><m or M><device letter><partition number> for each. This is still not fully functional, devices not present when ranger is started *(usb drives)* won't have a map created unless ranger is restarted :| ... Is there a simple way to have ranger 'reload' this plugin, or use a different hook, etc.?
Diffstat (limited to 'ranger.py')
0 files changed, 0 insertions, 0 deletions