mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 01:32:33 +02:00
Add search in ui/docs
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -98,3 +98,9 @@ keybindings:
|
||||
toggle: "space"
|
||||
edit_config: "e,enter"
|
||||
filter: "/"
|
||||
|
||||
docs:
|
||||
search: "/"
|
||||
search_reset: "r"
|
||||
search_next: "n"
|
||||
search_prev: "N"
|
||||
|
||||
@@ -66,6 +66,13 @@ type PluginsKeys struct {
|
||||
Filter string `mapstructure:"filter"`
|
||||
}
|
||||
|
||||
type DocsKeys struct {
|
||||
Search string `mapstructure:"search"`
|
||||
SearchReset string `mapstructure:"search_reset"`
|
||||
SearchNext string `mapstructure:"search_next"`
|
||||
SearchPrev string `mapstructure:"search_prev"`
|
||||
}
|
||||
|
||||
type Keybindings struct {
|
||||
Global GlobalKeys `mapstructure:"global"`
|
||||
Intercept InterceptKeys `mapstructure:"intercept"`
|
||||
@@ -75,4 +82,5 @@ type Keybindings struct {
|
||||
Diff DiffKeys `mapstructure:"diff"`
|
||||
Findings FindingsKeys `mapstructure:"findings"`
|
||||
Plugins PluginsKeys `mapstructure:"plugins"`
|
||||
Docs DocsKeys `mapstructure:"docs"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user