aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src
diff options
context:
space:
mode:
authorYummyOreo <bobgim20@gmail.com>2024-01-13 09:15:49 -0800
committerGitHub <noreply@github.com>2024-01-13 17:15:49 +0000
commita56085f059b2444812353e715e5a4b93ea75b018 (patch)
tree6384c32f9ab242bf3fa7bfece81d29faa4a735d2 /atuin-client/src
parentfix(perm): set umask 077 (#1554) (diff)
downloadatuin-a56085f059b2444812353e715e5a4b93ea75b018.zip
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 <ellie@elliehuxtable.com>
Diffstat (limited to 'atuin-client/src')
-rw-r--r--atuin-client/src/settings.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs
index 0798a890..ea01961c 100644
--- a/atuin-client/src/settings.rs
+++ b/atuin-client/src/settings.rs
@@ -201,6 +201,7 @@ pub struct Settings {
pub max_preview_height: u16,
pub show_help: bool,
pub exit_mode: ExitMode,
+ pub vim: bool,
pub word_jump_mode: WordJumpMode,
pub word_chars: String,
pub scroll_context_lines: usize,
@@ -436,6 +437,7 @@ impl Settings {
// New users will get the new default, that is more similar to what they are used to.
.set_default("enter_accept", false)?
.set_default("sync.records", false)?
+ .set_default("vim", false)?
.add_source(
Environment::with_prefix("atuin")
.prefix_separator("_")