Begin tab implementation

This commit is contained in:
Zachary Yedidia
2019-01-09 20:07:18 -05:00
parent fe773c00d2
commit 8aa05cf409
8 changed files with 175 additions and 47 deletions

View File

@@ -207,7 +207,7 @@ func VSplit(args []string) {
}
log.Println("loaded")
MainTab.CurPane().vsplit(buf)
MainTab().CurPane().vsplit(buf)
}
// HSplit opens a horizontal split with file given in the first argument
@@ -219,7 +219,7 @@ func HSplit(args []string) {
return
}
MainTab.CurPane().hsplit(buf)
MainTab().CurPane().hsplit(buf)
}
// Eval evaluates a lua expression