add 'drawbox' option to draw box around windows
This commit is contained in:
1 parent
d608eb4a56
commit
8eb9055622
6 files changed
+77
-5
No files matched your search
@@ -26,6 +26,18 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
case "dirfirst!":
|
||||
gOpts.dirfirst = !gOpts.dirfirst
|
||||
app.nav.sort()
|
||||
case "drawbox":
|
||||
gOpts.drawbox = true
|
||||
app.ui.renew()
|
||||
app.nav.height = app.ui.wins[0].h
|
||||
case "nodrawbox":
|
||||
gOpts.drawbox = false
|
||||
app.ui.renew()
|
||||
app.nav.height = app.ui.wins[0].h
|
||||
case "drawbox!":
|
||||
gOpts.drawbox = !gOpts.drawbox
|
||||
app.ui.renew()
|
||||
app.nav.height = app.ui.wins[0].h
|
||||
case "globsearch":
|
||||
gOpts.globsearch = true
|
||||
case "noglobsearch":
|
||||
|
||||
Reference in new issue
Block a user