rename redraw to renew
This commit is contained in:
parent
4bf8b2d76a
commit
fb26551693
@ -19,7 +19,7 @@
|
|||||||
yank (default "y")
|
yank (default "y")
|
||||||
delete (default "d")
|
delete (default "d")
|
||||||
paste (default "p")
|
paste (default "p")
|
||||||
redraw (default "<c-l>")
|
renew (default "<c-l>")
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
2
eval.go
2
eval.go
@ -270,7 +270,7 @@ func (e *CallExpr) eval(app *App, args []string) {
|
|||||||
app.nav.renew(app.nav.height)
|
app.nav.renew(app.nav.height)
|
||||||
app.nav.save(false)
|
app.nav.save(false)
|
||||||
saveFiles(nil, false)
|
saveFiles(nil, false)
|
||||||
case "redraw":
|
case "renew":
|
||||||
app.ui.sync()
|
app.ui.sync()
|
||||||
app.ui.renew()
|
app.ui.renew()
|
||||||
app.nav.renew(app.ui.wins[0].h)
|
app.nav.renew(app.ui.wins[0].h)
|
||||||
|
2
opts.go
2
opts.go
@ -50,7 +50,7 @@ func init() {
|
|||||||
gOpts.keys["y"] = &CallExpr{"yank", nil}
|
gOpts.keys["y"] = &CallExpr{"yank", nil}
|
||||||
gOpts.keys["d"] = &CallExpr{"delete", nil}
|
gOpts.keys["d"] = &CallExpr{"delete", nil}
|
||||||
gOpts.keys["p"] = &CallExpr{"paste", nil}
|
gOpts.keys["p"] = &CallExpr{"paste", nil}
|
||||||
gOpts.keys["<c-l>"] = &CallExpr{"redraw", nil}
|
gOpts.keys["<c-l>"] = &CallExpr{"renew", nil}
|
||||||
|
|
||||||
gOpts.cmds = make(map[string]Expr)
|
gOpts.cmds = make(map[string]Expr)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user