Option to change look of cursors in parent dirs, rename an option. (#1106)
* Add `cursorparentfmt` option for cursors in parent dirs The option defaults to the same value as `cursorfmt`, so the default look of `lf` is unchanged. However, I find it useful to make it different, since I seem to have so much trouble figuring out which of my cursors is the active one. :) For example, here's what it looks like if one has `set cursorparentfmt "\033[7;90m"` in their `lfrc`: https://user-images.githubusercontent.com/4123047/218299130-09ac411f-307a-489e-a4f0-4691710f8549.png * Remove `cursorfmt` option to `cursoractivefmt` This seems appropriate after introducing `cursorparentfmt`
This commit is contained in:
1 parent
c0c85f206f
commit
6afefa5d09
7 files changed
+65
-34
No files matched your search
@@ -26,8 +26,10 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
gOpts.autoquit = true
|
||||
case "noautoquit":
|
||||
gOpts.autoquit = false
|
||||
case "cursorfmt":
|
||||
gOpts.cursorfmt = e.val
|
||||
case "cursoractivefmt":
|
||||
gOpts.cursoractivefmt = e.val
|
||||
case "cursorparentfmt":
|
||||
gOpts.cursorparentfmt = e.val
|
||||
case "cursorpreviewfmt":
|
||||
gOpts.cursorpreviewfmt = e.val
|
||||
case "autoquit!":
|
||||
|
||||
Reference in new issue
Block a user