aboutsummaryrefslogtreecommitdiff
path: root/lib/headlines.ml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-18 09:56:05 -0500
committerMarc Coquand <marc@mccd.space>2024-05-18 09:56:05 -0500
commit2344fd375cf8b3cf0efba8177d3794523fae9a80 (patch)
treeda480822a3f36855a6ea56d4ea1533d185567d91 /lib/headlines.ml
parent50ca4e102ffb3219e9ad22b717696dee9d0f4bd6 (diff)
downloadstitch-2344fd375cf8b3cf0efba8177d3794523fae9a80.tar.gz
stitch-2344fd375cf8b3cf0efba8177d3794523fae9a80.tar.bz2
stitch-2344fd375cf8b3cf0efba8177d3794523fae9a80.zip
Update keybindings
Diffstat (limited to 'lib/headlines.ml')
-rw-r--r--lib/headlines.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/headlines.ml b/lib/headlines.ml
index 04b4267..ea6664f 100644
--- a/lib/headlines.ml
+++ b/lib/headlines.ml
@@ -79,7 +79,7 @@ let rec render
| `Key (`ASCII '?', []) -> Help_screen.render t { go_back = (fun () -> render t state) }
| `Key (`ASCII '2', []) -> goto_todos_view (fun () -> render t state)
| `Key (`ASCII '3', []) -> goto_done_view (fun () -> render t state)
- | `Key (`ASCII 's', []) ->
+ | `Key (`ASCII 'f', []) ->
let content =
Array.map
(fun (file_name, _) -> Grep.get_full_file_content_content file_name)
@@ -100,7 +100,7 @@ let rec render
; goto_todos_view
; goto_done_view
}
- | `Key (`ASCII 'r', []) ->
+ | `Key (`ASCII 's', []) ->
let (input_state : Input_prompt.state) =
{ screen = img
; user_input = ""