diff --git a/gshmm.go b/gshmm.go index 93376c1..88031bc 100644 --- a/gshmm.go +++ b/gshmm.go @@ -334,7 +334,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { m.toggleFilterMode() case "enter": // TODO: fire content search query - case "o": + case "ctrl+o": selectedDatasheet := m.datasheets[len(m.datasheets)-1] // TODO: handle error _ = xdg.Open(selectedDatasheet.absPath) @@ -376,7 +376,7 @@ func (m model) View() string { } body.WriteString("\n" + mode) - help := "[ctrl-c]: quit | [tab]: filter mode | [o]: open" + help := "[ctrl+c]: quit | [tab]: filter mode | [ctrl+o]: open pdf" body.WriteString("\n" + help) peers := fmt.Sprintf("peers: %s", strings.Join(m.peerAddresses(), "|"))