Skip to content

Commit d464499

Browse files
committed
feat: add :? as alias for :help
1 parent 0b53d21 commit d464499

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/sheets/commands.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ func (m *model) executePrompt() tea.Cmd {
123123
return nil
124124
}
125125
return tea.Quit
126-
case strings.EqualFold(command, "help"):
126+
case strings.EqualFold(command, "help"),
127+
strings.EqualFold(command, "?"):
127128
m.commandMessage = "Commands: q, w, wq, x, goto <cell>, <cell>, e[dit] <path>, w[rite] [path]"
128129
m.commandError = false
129130
return nil

0 commit comments

Comments
 (0)