summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/keybindings.go7
-rw-r--r--pkg/i18n/english.go3
2 files changed, 10 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index dfc2513fa..0fb196aa3 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -334,6 +334,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Description: gui.Tr.SLocalize("prevScreenMode"),
},
{
+ ViewName: "",
+ Key: gui.getKey("universal.startSearch"),
+ Modifier: gocui.ModNone,
+ Handler: gui.handleOpenSearch,
+ Description: gui.Tr.SLocalize("startSearch"),
+ },
+ {
ViewName: "status",
Key: gui.getKey("universal.openFile"),
Modifier: gocui.ModNone,
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index a4d16b4d3..9df162483 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -1009,6 +1009,9 @@ func addEnglish(i18nObject *i18n.Bundle) error {
ID: "prevScreenMode",
Other: "prev screen mode",
}, &i18n.Message{
+ ID: "startSearch",
+ Other: "start search",
+ }, &i18n.Message{
ID: "Panel",
Other: "Panel",
}, &i18n.Message{