Skip to content

Commit

Permalink
feat: search snippets from anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Nov 26, 2022
1 parent bfe02ce commit 5d68397
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, changeState(deletingState)
case key.Matches(msg, m.keys.EditSnippet):
return m, m.editSnippet()
case key.Matches(msg, m.keys.Search):
m.pane = snippetPane
}
}

Expand Down

0 comments on commit 5d68397

Please sign in to comment.