From a56085f059b2444812353e715e5a4b93ea75b018 Mon Sep 17 00:00:00 2001 From: YummyOreo Date: Sat, 13 Jan 2024 09:15:49 -0800 Subject: feat(ui): vim mode (#1553) * feat(config): add vim option to config * feat(ui): simple vim mode * fix(windows): windows sadly doesn't support the stuff * feat(ui): blinking * fix(merge) * revert: reverts some debugging stuff * feat(ui): changes the defaut to insert, don't know what should be the default * feat(ui): implements some vim parity * doc: adds this to the docs * docs(keybindings): adds vim mode keybindsings to the list of keybindings * refactor: rustfmt and remove the docs for pr in own repo * refactor: use execute! * Update atuin/src/command/client/search/interactive.rs --------- Co-authored-by: Ellie Huxtable --- docs/docs/key-binding.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/docs/key-binding.md b/docs/docs/key-binding.md index c0bd2885..74dc5506 100644 --- a/docs/docs/key-binding.md +++ b/docs/docs/key-binding.md @@ -18,7 +18,7 @@ filter_mode_shell_up_key_binding = "directory" # or global, host, directory, etc ## Disable up arrow -Our default up-arrow binding can be a bit contentious. Some people love it, some people hate it. Many people who found it a bit jarring at first have since come to love it, so give it a try! +Our default up-arrow binding can be a bit contentious. Some people love it, some people hate it. Many people who found it a bit jarring at first have since come to love it, so give it a try! It becomes much more powerful if you consider binding a different filter mode to the up arrow. For example, on "up" Atuin can default to searching all history for the current directory only, while ctrl-r searches history globally. See the [config](https://atuin.sh/docs/config/#filter_mode_shell_up_key_binding) for more. @@ -159,4 +159,3 @@ $env.config = ( | page up | Scroll search results one page up | | ⬇ (with no entry selected) | Return original or return query depending on settings | | ⬇ | Select the next item on the list | - -- cgit v1.3.1