diff options
author | toonn <toonn@toonn.io> | 2018-01-31 11:22:45 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2018-01-31 11:39:54 +0100 |
commit | a17508d5c1492af1579ae561a840cdd859946ddc (patch) | |
tree | 1eabaf95b7c5156b4a80bb64cc31db5563a128c4 /CONTRIBUTING.md | |
parent | 14adeb9cfc1d95bda6895883fe70a50a08165589 (diff) | |
download | ranger-a17508d5c1492af1579ae561a840cdd859946ddc.tar.gz |
Make new `rifle` behavior backwards compatible.
There's 4 possible situation: 1. `VISUAL` set, `EDITOR` set 2. `VISUAL` set, `EDITOR` not set 3. `VISUAL` not set, `EDITOR` set 4. `VISUAL` not set, `EDITOR` not set All but _No.2_ are already properly handled. Behavior can differ depending on whether you have an old or a new `rifle.conf` in cases _No.1_ (if the variables differ the new approach prefers `VISUAL` instead of `EDITOR`) and _No.2_ (new approach will use `VISUAL` whereas the old approach would've fallen back to _vim_). _No.3_ is likely the most common case and works almost identically with either approach. _No.4_ still falls back to _vim_ as before. Fix #1048
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions