From 6bff8c8e1ad3a230f3cd8f5d7078ed2af3f43463 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Tue, 16 Jan 2024 22:35:10 +0900 Subject: feat(search): introduce keymap-dependent vim-mode (#1570) * feat(search): introduce keymap-dependent vim-mode * fix(zsh): provide widgets with specific keymaps * fix(settings): unify "vim" and "keymap_mode" --- atuin-client/config.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'atuin-client/config.toml') diff --git a/atuin-client/config.toml b/atuin-client/config.toml index 29581d1f..24366b60 100644 --- a/atuin-client/config.toml +++ b/atuin-client/config.toml @@ -126,8 +126,13 @@ enter_accept = true -## Defaults to false. If enabled you may use 'j' and 'k' to navigate the history list and 'i' to enter Insert mode. -# vim = false +## Defaults to "emacs". This specifies the keymap on the startup of `atuin +## search`. If this is set to "auto", the startup keymap mode in the Atuin +## search is automatically selected based on the shell's keymap where the +## keybinding is defined. If this is set to "emacs", "vim-insert", or +## "vim-normal", the startup keymap mode in the Atuin search is forced to be +## the specified one. +# keymap_mode = "auto" #[stats] # Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl -- cgit v1.3.1