enable top/bottom in cmap mappings
This commit is contained in:
1 parent
a13c14fb07
commit
7481040c2d
4 files changed
+19
-13
No files matched your search
@@ -716,10 +716,16 @@ func (e *callExpr) eval(app *app, args []string) {
|
||||
case "quit":
|
||||
app.quitChan <- struct{}{}
|
||||
case "top":
|
||||
if app.ui.cmdPrefix != "" && app.ui.cmdPrefix != ">" {
|
||||
normal(app)
|
||||
}
|
||||
app.nav.top()
|
||||
app.ui.loadFile(app.nav, true)
|
||||
app.ui.loadFileInfo(app.nav)
|
||||
case "bottom":
|
||||
if app.ui.cmdPrefix != "" && app.ui.cmdPrefix != ">" {
|
||||
normal(app)
|
||||
}
|
||||
app.nav.bottom()
|
||||
app.ui.loadFile(app.nav, true)
|
||||
app.ui.loadFileInfo(app.nav)
|
||||
|
||||
Reference in new issue
Block a user