mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 14:57:18 +09:00
Replace CtrlO with open command
This comit also makes it possible for a binding to auto-type the beginning of a command into command mode. Closes #450
This commit is contained in:
@@ -704,15 +704,7 @@ func (v *View) Save(usePlugin bool) bool {
|
||||
}
|
||||
// If this is an empty buffer, ask for a filename
|
||||
if v.Buf.Path == "" {
|
||||
filename, canceled := messenger.Prompt("Filename: ", "Save", NoCompletion)
|
||||
if !canceled {
|
||||
// the filename might or might not be quoted, so unquote first then join the strings.
|
||||
filename = strings.Join(SplitCommandArgs(filename), " ")
|
||||
v.Buf.Path = filename
|
||||
v.Buf.Name = filename
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
v.SaveAs(false)
|
||||
}
|
||||
err := v.Buf.Save()
|
||||
if err != nil {
|
||||
@@ -743,7 +735,7 @@ func (v *View) Save(usePlugin bool) bool {
|
||||
|
||||
// SaveAs saves the buffer to disk with the given name
|
||||
func (v *View) SaveAs(usePlugin bool) bool {
|
||||
filename, canceled := messenger.Prompt("Filename: ", "Save", NoCompletion)
|
||||
filename, canceled := messenger.Prompt("Filename: ", "", "Save", NoCompletion)
|
||||
if !canceled {
|
||||
// the filename might or might not be quoted, so unquote first then join the strings.
|
||||
filename = strings.Join(SplitCommandArgs(filename), " ")
|
||||
@@ -1101,19 +1093,13 @@ func (v *View) OpenFile(usePlugin bool) bool {
|
||||
}
|
||||
|
||||
if v.CanClose() {
|
||||
filename, canceled := messenger.Prompt("File to open: ", "Open", FileCompletion)
|
||||
if canceled {
|
||||
return false
|
||||
input, canceled := messenger.Prompt("> ", "open ", "Open", CommandCompletion)
|
||||
if !canceled {
|
||||
HandleCommand(input)
|
||||
if usePlugin {
|
||||
return PostActionCall("OpenFile", v)
|
||||
}
|
||||
}
|
||||
// the filename might or might not be quoted, so unquote first then join the strings.
|
||||
filename = strings.Join(SplitCommandArgs(filename), " ")
|
||||
|
||||
v.Open(filename)
|
||||
|
||||
if usePlugin {
|
||||
return PostActionCall("OpenFile", v)
|
||||
}
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
@@ -1291,7 +1277,7 @@ func (v *View) JumpLine(usePlugin bool) bool {
|
||||
}
|
||||
|
||||
// Prompt for line number
|
||||
linestring, canceled := messenger.Prompt("Jump to line # ", "LineNumber", NoCompletion)
|
||||
linestring, canceled := messenger.Prompt("Jump to line # ", "", "LineNumber", NoCompletion)
|
||||
if canceled {
|
||||
return false
|
||||
}
|
||||
@@ -1354,7 +1340,7 @@ func (v *View) ShellMode(usePlugin bool) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
input, canceled := messenger.Prompt("$ ", "Shell", NoCompletion)
|
||||
input, canceled := messenger.Prompt("$ ", "", "Shell", NoCompletion)
|
||||
if !canceled {
|
||||
// The true here is for openTerm to make the command interactive
|
||||
HandleShellCommand(input, true, true)
|
||||
@@ -1371,7 +1357,7 @@ func (v *View) CommandMode(usePlugin bool) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
input, canceled := messenger.Prompt("> ", "Command", CommandCompletion)
|
||||
input, canceled := messenger.Prompt("> ", "", "Command", CommandCompletion)
|
||||
if !canceled {
|
||||
HandleCommand(input)
|
||||
if usePlugin {
|
||||
|
||||
@@ -49,6 +49,7 @@ func init() {
|
||||
"Reload": Reload,
|
||||
"Cd": Cd,
|
||||
"Pwd": Pwd,
|
||||
"Open": Open,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,6 +101,7 @@ func DefaultCommands() map[string]StrCommand {
|
||||
"reload": {"Reload", []Completion{NoCompletion}},
|
||||
"cd": {"Cd", []Completion{FileCompletion}},
|
||||
"pwd": {"Pwd", []Completion{NoCompletion}},
|
||||
"open": {"Open", []Completion{FileCompletion}},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,6 +216,18 @@ func Pwd(args []string) {
|
||||
}
|
||||
}
|
||||
|
||||
func Open(args []string) {
|
||||
if len(args) > 0 {
|
||||
filename := args[0]
|
||||
// the filename might or might not be quoted, so unquote first then join the strings.
|
||||
filename = strings.Join(SplitCommandArgs(filename), " ")
|
||||
|
||||
CurView().Open(filename)
|
||||
} else {
|
||||
messenger.Error("No filename")
|
||||
}
|
||||
}
|
||||
|
||||
func ToggleLog(args []string) {
|
||||
buffer := messenger.getBuffer()
|
||||
if CurView().Type != vtLog {
|
||||
|
||||
@@ -198,7 +198,7 @@ const (
|
||||
|
||||
// Prompt sends the user a message and waits for a response to be typed in
|
||||
// This function blocks the main loop while waiting for input
|
||||
func (m *Messenger) Prompt(prompt, historyType string, completionTypes ...Completion) (string, bool) {
|
||||
func (m *Messenger) Prompt(prompt, placeholder, historyType string, completionTypes ...Completion) (string, bool) {
|
||||
m.hasPrompt = true
|
||||
m.Message(prompt)
|
||||
if _, ok := m.history[historyType]; !ok {
|
||||
@@ -208,7 +208,9 @@ func (m *Messenger) Prompt(prompt, historyType string, completionTypes ...Comple
|
||||
}
|
||||
m.historyNum = len(m.history[historyType]) - 1
|
||||
|
||||
response, canceled := "", true
|
||||
response, canceled := placeholder, true
|
||||
m.response = response
|
||||
m.cursorx = Count(placeholder)
|
||||
|
||||
RedrawAll()
|
||||
for m.hasPrompt {
|
||||
|
||||
@@ -403,7 +403,7 @@ func runtimeHelpColorsMd() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x56\x4d\x8f\x1c\x37\x0e\xbd\xf7\xaf\x20\x66\x0f\x63\x2f\xa6\xcb\xf7\xbe\x2c\x16\x46\x80\x04\xb0\x03\x07\xf6\x25\xa7\x88\x5d\xc5\xaa\x12\x5a\x25\x96\x45\xa9\xdb\x9d\x5f\x1f\x50\x54\x7f\xcd\x1c\xe2\xd3\xf4\x48\xfc\x78\x7c\x24\x5f\xe9\x3f\xf0\x85\x45\xfc\x3e\x10\xf4\xbc\x2c\x18\x07\xd9\x6c\xfe\xe4\x02\x3d\x46\xa0\x1f\xd4\x97\x4c\xa0\x3f\x07\x9f\x39\x5d\x6c\x60\x7f\x86\x35\x91\x88\x8f\x13\xb8\x8f\x39\x85\x2d\x39\x18\x39\x04\x3e\x51\xbd\xcd\xf3\x35\x60\xb7\xf9\x95\x12\x01\x26\xaa\xa7\xeb\xeb\x7c\x90\x67\xcc\x70\x6e\x39\x8b\x50\xb7\xd9\xfc\x17\xdc\xf7\xe2\xb3\xdb\xc1\x1f\xc5\x67\x81\xc5\xf7\x89\xed\x5c\xf0\x48\x30\xfa\x40\x11\x17\xfa\x9f\xdb\xc1\x57\x3c\x92\x58\xc2\x92\x12\xc5\x0c\xfb\x32\x8e\x94\x3a\xf8\x6d\xac\xc7\x17\x63\xf0\x02\x6b\xe2\xa3\x1f\x68\x00\x9f\xe1\xe4\x43\xd8\x00\xc0\x73\x0d\x89\xf2\xfc\x60\x6d\xd9\x12\xad\x01\x7b\x82\x27\x21\x4c\xfd\xfc\x04\x4f\x47\x0c\x85\x9e\x60\x0c\x38\x89\xdb\xc1\xb7\xd9\x4b\x8d\x04\x17\x53\x67\xa6\x0e\x4e\x3e\xcf\xe0\xaa\xbd\xeb\x40\x33\x7d\x9b\x09\x9c\x79\x56\x3e\x78\xcd\x9e\x23\x86\x4e\x2f\xff\x9f\x21\x6b\xb0\x95\x7d\xcc\x2f\x8a\x25\x55\xc8\x1c\xc3\x19\x38\x52\x4d\xb9\x03\xd7\xbb\x17\x38\xcd\xbe\x9f\x81\x22\xee\x03\x09\xb8\x7e\xa6\xfe\xe0\x60\xe1\x81\x6a\x1e\xbb\x46\x39\x08\xf8\x51\xa9\x7d\x1e\x20\xf8\x03\x41\x66\x58\x29\x8d\x9c\x96\x5a\x6b\x83\xbc\x28\x69\x84\xfd\x0c\xd9\xd7\xc2\x01\xe0\x77\xce\x64\x9d\xb9\xd6\xb3\x14\xc9\xb0\x27\x40\x38\x62\xf0\x03\x24\x9a\xe8\x47\x07\x4a\xb3\xc2\x63\x63\x1b\xd3\x54\x34\xa0\x68\x94\x81\x49\x20\x72\x86\xb9\x52\x1c\xcf\x20\x2b\xf6\x24\xe0\x23\xf8\xfc\x52\xbb\xbe\xe0\x19\x78\xf1\xb9\x7a\x7f\x2f\x9c\x49\x5a\xa7\x29\x37\x86\xc0\x48\xdc\x81\x50\xb6\x56\xb7\xf3\xcc\x76\xd5\xc1\x57\xb2\xf1\x72\x76\x23\x0e\x66\x0a\x2b\x64\x5e\x7d\xaf\x48\x46\x4e\x80\x10\xbc\x64\x05\xda\x8c\xae\x53\x27\x94\xaf\x39\x03\xf7\x18\x7e\x36\x31\x54\xeb\x70\x86\x77\xb5\x4d\x3e\xde\x0f\xa2\xe6\xb5\x59\x7c\xdf\xa2\xcf\x7c\x6a\x11\x34\xe6\xcc\xa7\xc7\xc1\xb5\x90\x8d\xc8\xc9\x1f\x29\x36\x6b\x73\xa7\x23\x06\x78\xa2\x1f\xb6\x7a\x1c\x9f\xdc\x0e\x7e\x51\x1f\xcc\x24\x80\xf0\xa9\x20\xdc\x6e\xbb\xbb\x1e\xd6\xfd\xb1\x31\x8d\x5c\x71\xad\xc9\xc7\xac\x1d\xc9\xb3\x2e\xb1\x70\xe5\x42\x66\x2e\x61\xd0\x25\x04\xb7\x90\x08\xc5\x89\xd2\xee\x33\x89\xe0\x44\xef\xba\xae\x7b\xef\xb4\xf4\xc1\xcb\x1a\xf0\x0c\xa8\x91\xac\x01\xb6\x2d\x25\x82\xcc\xdb\xb6\xd9\x6e\x07\xa9\x44\xb9\x2b\x46\x66\x0a\xe1\x2a\x22\x8d\xac\x3d\xf6\x87\x29\x71\x89\x43\x57\x17\x44\x63\x36\x93\x67\x01\x2e\x79\x2d\xb6\xab\x3a\x7b\x2d\x33\x55\x6f\x9d\xba\xe0\x23\xc1\x69\x26\x9d\x27\x18\x7d\xf4\x32\x93\x68\xde\xe8\xe3\x64\xa8\xf6\x3e\x0e\x70\xa0\x33\x60\xdf\x98\xef\x13\x35\xca\x0e\x74\xd6\x6b\xa5\x60\x4c\xbc\x54\xb3\xcc\xcd\xf2\x36\x55\x42\xbd\x0d\x0c\x47\x85\x77\xf3\x12\xc0\x3d\xab\x20\x71\x82\x85\x75\x61\xe3\xc8\x7a\xa6\x98\x95\xf9\x03\x9d\x05\xb4\x5a\x6c\x11\x74\xef\xf1\x88\x3e\xe8\xee\x1a\xc0\xa3\xac\xa1\xa2\x37\xe5\x71\x3b\xe0\x95\xd4\x14\x8e\x94\xb2\xd7\x71\x34\x0b\x53\x94\xab\x5d\x55\xb8\xc8\xf7\x02\x67\xad\x35\x8d\x7b\x79\x1b\x40\xe5\x64\xa5\x48\x83\x85\x52\x61\x5f\xd6\x7c\xbe\x28\x66\x45\x33\xbf\x41\x23\x1a\x1b\xe5\x02\xd4\xc1\xbe\xe4\x2b\xc4\x99\x93\xff\x9b\x63\xbe\xe5\x88\x92\x09\x07\xe0\x51\xc1\xbc\x86\x60\x39\x32\xee\xdf\x96\x7b\x9b\x13\xbd\xd2\x06\x23\x44\x3a\x41\xc6\xbd\x79\x05\x9e\xee\xb8\x09\x3c\xe9\xaa\x60\x08\xb0\xd8\x80\x1a\xd1\x03\xed\xcb\x04\x92\x31\x57\x61\x6b\x62\xb2\x86\x32\xa9\xe8\x44\xc9\xea\x61\xff\xfe\xd5\xf2\xb7\xd3\x7b\x08\x66\xf0\xe0\x9b\x68\xd1\x56\x3f\xba\xda\xe1\xbf\x78\xaa\xec\xb8\x5d\xfd\x23\x15\x70\x4b\x48\x43\xb3\x7e\x04\x59\xd6\x01\xb3\x06\xb7\x1f\x3f\xe3\x62\x1a\xfd\x0a\x9b\x1d\x92\xd4\xe9\x7c\x0b\xf0\x41\xe5\x2f\x4a\x38\xea\xb2\xdc\x84\x52\x33\x5f\xa7\xf5\x92\x19\xb0\x4a\xc8\xe4\xf3\x5c\xf6\x5d\xcf\xcb\x87\xaa\x2f\x5b\x7b\x24\x7c\x30\xab\x6d\x3f\x63\x8c\x14\xec\x73\x72\x79\x52\x60\x10\x06\x21\xba\x2d\x4b\x5a\xb0\x2a\xaa\xed\x4c\x7d\x21\x58\x49\x0b\x46\x9c\x28\xa9\x77\x53\x0a\xf7\xc5\x6e\x3e\xdb\x8d\xbb\xac\xe5\x45\x31\x1b\x19\x0f\xda\xff\xc0\xd2\xb5\x92\xd6\x8c\x5b\x41\xd7\x12\x95\xaa\x81\x4f\x31\x30\x0e\xf0\xae\x7e\x90\x7d\xec\x43\x19\xa8\xee\x96\x7e\xc2\x2e\x4e\xa6\xac\x78\xae\xdf\xc4\x90\x08\x87\xf3\xad\x4b\xef\x2f\xef\x07\x0d\x54\xe7\x44\x7f\x58\x2b\x53\x89\xfa\xa1\xad\x63\xde\xda\xd8\x0f\xb0\x62\x9e\xdd\x0e\x3e\xce\x18\x27\x53\x9d\x13\xa7\x83\x2a\xd3\xe0\x13\xf5\x99\x53\x95\xa6\x5b\x1f\x5d\xf5\x68\x05\x9e\x34\xc9\x97\x2a\xea\xf7\x5f\x94\x37\x21\xba\xcd\x66\xbb\xdd\x6e\x36\xaa\xb4\xf6\x60\xd3\xeb\xeb\x5b\x4c\xd5\xe9\xfa\x46\x6a\xef\xb8\x81\x46\x2c\xe1\x4a\xd6\xce\x76\xd1\x47\x1d\xe9\x4f\xaf\x13\xd6\xd5\x55\x12\x29\x25\x4e\xd2\x6d\xfe\x09\x00\x00\xff\xff\xe0\x18\xc0\x22\x62\x0a\x00\x00")
|
||||
var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x56\x4d\x8f\xdb\x36\x10\xbd\xfb\x57\x0c\xb6\x87\x4d\x8a\x5d\xe5\xee\x4b\x51\x04\x05\x5a\x20\x69\x53\x24\x97\x9e\xca\xb1\x34\x92\x08\x53\x1c\x85\x43\xd9\x51\x7f\x7d\x31\x1c\x5a\xb6\x77\x0b\x34\xa7\xf5\x92\xf3\xf1\xe6\xe3\x3d\xf1\x07\xf8\xc4\x22\xfe\x10\x08\x5a\x9e\x26\x8c\x9d\xec\x76\x7f\xf1\x02\x2d\x46\xa0\x6f\xd4\x2e\x99\x40\x7f\x76\x3e\x73\xba\xd8\xc0\x61\x85\x39\x91\x88\x8f\x03\xb8\xf7\x39\x85\x67\x72\xd0\x73\x08\x7c\xa6\x72\x9b\xc7\x2d\x60\xb3\xfb\x95\x12\x01\x26\x2a\xa7\xf3\xcb\x7c\x90\x47\xcc\xb0\xd6\x9c\x8b\x50\xb3\xdb\xfd\x08\xee\xeb\xe2\xb3\xdb\xc3\x9f\x8b\xcf\x02\x93\x6f\x13\xdb\xb9\xe0\x89\xa0\xf7\x81\x22\x4e\xf4\x93\xdb\xc3\x67\x3c\x91\x58\xc2\x25\x25\x8a\x19\x0e\x4b\xdf\x53\x6a\xe0\xb7\xbe\x1c\x5f\x8c\xc1\x0b\xcc\x89\x4f\xbe\xa3\x0e\x7c\x86\xb3\x0f\x61\x07\x00\x8f\x25\x24\xca\xe3\x9d\xb5\x65\x4b\x34\x07\x6c\x09\x1e\x84\x30\xb5\xe3\x03\x3c\x9c\x30\x2c\xf4\x00\x7d\xc0\x41\xdc\x1e\xbe\x8c\x5e\x4a\x24\xb8\x98\x3a\x33\x75\x70\xf6\x79\x04\x57\xec\x5d\x03\x9a\xe9\xcb\x48\xe0\xcc\xb3\xf4\x83\xe7\xec\x39\x62\x68\xf4\xf2\xe7\x0c\x59\x83\xcd\xec\x63\x7e\x52\x2c\xa9\x40\xe6\x18\x56\xe0\x48\x25\xe5\x1e\x5c\xeb\x9e\xe0\x3c\xfa\x76\x04\x8a\x78\x08\x24\xe0\xda\x91\xda\xa3\x83\x89\x3b\x2a\x79\xec\x1a\xe5\x28\xe0\x7b\x6d\xed\x63\x07\xc1\x1f\x09\x32\xc3\x4c\xa9\xe7\x34\x95\x5a\x2b\xe4\x49\x9b\x46\xd8\x8e\x90\x7d\x29\x1c\x00\x7e\xe7\x4c\x36\x99\xad\x9e\x69\x91\x0c\x07\x02\x84\x13\x06\xdf\x41\xa2\x81\xbe\x35\xa0\x6d\x56\x78\x6c\xdd\xc6\x34\x2c\x1a\x50\x34\x4a\xc7\x24\x10\x39\xc3\x58\x5a\x1c\x57\x90\x19\x5b\x12\xf0\x11\x7c\x7e\x2a\x53\x9f\x70\x05\x9e\x7c\x2e\xde\x5f\x17\xce\x24\x75\xd2\x94\x6b\x87\xc0\x9a\xb8\x07\xa1\x6c\xa3\xae\xe7\x99\xed\xaa\x81\xcf\x64\xeb\xe5\xec\x46\x1c\x8c\x14\x66\xc8\x3c\xfb\x56\x91\xf4\x9c\x00\x21\x78\xc9\x0a\xb4\x1a\x6d\x5b\x27\x94\xb7\x9c\x81\x5b\x0c\xdf\x9b\x18\x8a\x75\x58\xe1\x4d\x19\x93\x8f\xb7\x8b\xa8\x79\x6d\x17\xdf\xd6\xe8\x23\x9f\x6b\x04\x8d\x39\xf2\xf9\x7e\x71\x2d\x64\x6d\xe4\xe0\x4f\x14\xab\xb5\xb9\xd3\x09\x03\x3c\xd0\x37\xa3\x1e\xc7\x07\xb7\x87\x5f\xd4\x07\x33\x09\x20\x7c\x58\x10\xae\xb7\xcd\xcd\x0c\x0b\x7f\x6c\x4d\x23\x17\x5c\x73\xf2\x31\xeb\x44\xf2\xa8\x24\x16\x2e\xbd\x90\x91\x97\xd0\x29\x09\xc1\x4d\x24\x42\x71\xa0\xb4\xff\x48\x22\x38\xd0\x9b\xa6\x69\xde\x3a\x2d\xbd\xf3\x32\x07\x5c\x01\x35\x92\x0d\xc0\xd8\xb2\x44\x90\xf1\xb9\x32\xdb\xed\x21\x2d\x51\x6e\x8a\x91\x91\x42\xd8\x44\xa4\x36\xeb\x80\xed\x71\x48\xbc\xc4\xae\x29\x04\xd1\x98\xd5\xe4\x51\x80\x97\x3c\x2f\xc6\x55\xdd\xbd\x9a\x99\x8a\xb7\x6e\x5d\xf0\x91\xe0\x3c\x92\xee\x13\xf4\x3e\x7a\x19\x49\x34\x6f\xf4\x71\x30\x54\x07\x1f\x3b\x38\xd2\x0a\xd8\xd6\xce\xb7\x89\x6a\xcb\x8e\xb4\xea\xb5\xb6\xa0\x4f\x3c\x15\xb3\xcc\xd5\xf2\xba\x55\x42\xad\x2d\x0c\x47\x85\x77\xf5\x12\xc0\x03\xab\x20\x71\x82\x89\x95\xb0\xb1\x67\x3d\x53\xcc\xda\xf9\x23\xad\x02\x5a\x2d\xd6\x08\xca\x7b\x3c\xa1\x0f\xca\x5d\x03\x78\x92\x39\x14\xf4\xa6\x3c\x6e\x0f\x3c\x93\x9a\xc2\x89\x52\xf6\xba\x8e\x66\x61\x8a\xb2\xd9\x15\x85\x8b\x7c\x2b\x70\x36\x5a\xd3\xb8\xa7\xd7\x01\x54\x4e\x66\x8a\xd4\x59\x28\x15\xf6\x69\xce\xeb\x45\x31\x0b\x9a\xf1\x15\x1a\xd1\xd8\x28\x17\xa0\x0e\x0e\x4b\xde\x20\x8e\x9c\xfc\x3f\x1c\xf3\x35\x47\x94\x4c\xd8\x01\xf7\x0a\xe6\x25\x04\xcb\x91\xf1\xf0\xba\xdc\xeb\x9e\xe8\x95\x0e\x18\x21\xd2\x19\x32\x1e\xcc\x2b\xf0\x70\xd3\x9b\xc0\x83\x52\x05\x43\x80\xc9\x16\xd4\x1a\xdd\xd1\x61\x19\x40\x32\xe6\x22\x6c\x55\x4c\xe6\xb0\x0c\x2a\x3a\x51\xb2\x7a\xd8\xbf\x7f\xd7\xfc\xf5\xf4\x16\x82\x19\xdc\xf9\x26\x9a\x74\xd4\xf7\xae\x76\xf8\x3f\x9e\x2a\x3b\x6e\x5f\xfe\x48\x01\x5c\x13\x52\x57\xad\xef\x41\x2e\x73\x87\x59\x83\xdb\x8f\xef\x71\x31\x8d\x7e\x81\xcd\x0e\x49\xca\x76\xbe\x06\x78\xa7\xf2\x17\x25\xec\x95\x2c\x57\xa1\xd4\xcc\xdb\xb6\x5e\x32\x03\x16\x09\x19\x7c\x1e\x97\x43\xd3\xf2\xf4\xae\xe8\xcb\xb3\x3d\x12\xde\x99\xd5\x73\x3b\x62\x8c\x14\xec\x73\x72\x79\x52\x60\x10\x06\x21\xba\x92\x25\x4d\x58\x14\xd5\x38\x53\x5e\x08\x56\xd2\x84\x11\x07\x4a\xea\x5d\x95\xc2\x7d\xb2\x9b\x8f\x76\xe3\x2e\xb4\xbc\x28\x66\x6d\xc6\x9d\xf6\xdf\x75\x69\xab\xa4\x0e\xe3\x5a\xd0\x56\xa2\xb6\xaa\xe3\x73\x0c\x8c\x1d\xbc\x29\x1f\x64\x1f\xdb\xb0\x74\x54\xb8\xa5\x9f\xb0\x8b\x93\x29\x2b\xae\xe5\x9b\x18\x12\x61\xb7\x5e\xa7\xf4\xf6\xf2\x7e\xd0\x40\x65\x4f\xf4\x87\x8d\x32\x2d\x51\x3f\xb4\x65\xcd\xeb\x18\xdb\x0e\x66\xcc\xa3\xdb\xc3\xfb\x11\xe3\x60\xaa\x73\xe6\x74\x54\x65\xea\x7c\xa2\x36\x73\x2a\xd2\x74\x9d\xa3\x2b\x1e\xb5\xc0\xb3\x26\xf9\x54\x44\xfd\xf6\x8b\xf2\x2a\x84\x99\x2b\x87\x6e\x09\xf8\x87\xfe\x8f\x1b\xef\xfe\xe3\x31\xb5\xdb\x3d\x3f\x3f\xef\x76\x2a\xd0\xf6\xce\xd3\xa8\xdb\x13\x4e\x45\x6d\x7b\x5a\xd5\xe7\x5f\x47\x3d\x2e\x61\xeb\xf1\xde\x28\xec\xa3\x32\xe1\xc3\x4b\x9c\x25\xb3\xf6\x9e\x52\xe2\x24\xcd\xee\xdf\x00\x00\x00\xff\xff\x85\x49\x02\x77\x99\x0a\x00\x00")
|
||||
|
||||
func runtimeHelpCommandsMdBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
||||
@@ -68,6 +68,8 @@ Here are the possible commands that you can use.
|
||||
|
||||
* `pwd`: Print the current working directory.
|
||||
|
||||
* `open filename`: Open a file in the current buffer.
|
||||
|
||||
---
|
||||
|
||||
The following commands are provided by the default plugins:
|
||||
|
||||
Reference in New Issue
Block a user