parent
5a9a829252
commit
ebd599deca
3
comp.go
3
comp.go
@ -67,9 +67,6 @@ var (
|
||||
"ignorecase",
|
||||
"noignorecase",
|
||||
"ignorecase!",
|
||||
"lscolors",
|
||||
"nolscolors",
|
||||
"lscolors!",
|
||||
"preview",
|
||||
"nopreview",
|
||||
"preview!",
|
||||
|
1
doc.go
1
doc.go
@ -79,7 +79,6 @@ The following options can be used to customize the behavior of lf:
|
||||
globsearch boolean (default off)
|
||||
hidden boolean (default off)
|
||||
ignorecase boolean (default on)
|
||||
lscolors boolean (default on)
|
||||
preview boolean (default on)
|
||||
reverse boolean (default off)
|
||||
smartcase boolean (default on)
|
||||
|
@ -83,7 +83,6 @@ The following options can be used to customize the behavior of lf:
|
||||
globsearch boolean (default off)
|
||||
hidden boolean (default off)
|
||||
ignorecase boolean (default on)
|
||||
lscolors boolean (default on)
|
||||
preview boolean (default on)
|
||||
reverse boolean (default off)
|
||||
smartcase boolean (default on)
|
||||
|
9
eval.go
9
eval.go
@ -47,15 +47,6 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
gOpts.ignorecase = false
|
||||
case "ignorecase!":
|
||||
gOpts.ignorecase = !gOpts.ignorecase
|
||||
case "lscolors":
|
||||
gOpts.lscolors = true
|
||||
app.ui.colors = parseColors()
|
||||
case "nolscolors":
|
||||
gOpts.lscolors = false
|
||||
app.ui.colors = parseColors()
|
||||
case "lscolors!":
|
||||
gOpts.lscolors = !gOpts.lscolors
|
||||
app.ui.colors = parseColors()
|
||||
case "preview":
|
||||
gOpts.preview = true
|
||||
case "nopreview":
|
||||
|
2
opts.go
2
opts.go
@ -8,7 +8,6 @@ var gOpts struct {
|
||||
globsearch bool
|
||||
hidden bool
|
||||
ignorecase bool
|
||||
lscolors bool
|
||||
preview bool
|
||||
reverse bool
|
||||
smartcase bool
|
||||
@ -35,7 +34,6 @@ func init() {
|
||||
gOpts.globsearch = false
|
||||
gOpts.hidden = false
|
||||
gOpts.ignorecase = true
|
||||
gOpts.lscolors = true
|
||||
gOpts.preview = true
|
||||
gOpts.reverse = false
|
||||
gOpts.smartcase = true
|
||||
|
Loading…
Reference in New Issue
Block a user