"io/ioutil"
"os"
- "github.com/gdamore/tcell"
- "github.com/gdamore/tcell/encoding"
"github.com/go-errors/errors"
"github.com/mattn/go-isatty"
"github.com/mitchellh/go-homedir"
+ "github.com/zyedidia/tcell"
+ "github.com/zyedidia/tcell/encoding"
)
const (
InitConfigDir()
// Load the user's settings
InitSettings()
+ InitBindings()
// Load the syntax files, including the colorscheme
LoadSyntaxFiles()
+ // Load the help files
+ LoadHelp()
buf := NewBuffer(string(input), filename)
}
case tcell.KeyCtrlG:
if !helpOpen {
- helpBuffer := NewBuffer(helpTxt, "")
+ helpBuffer := NewBuffer(helpTxt, "help.md")
helpBuffer.name = "Help"
helpOpen = true
view.OpenBuffer(helpBuffer)