From 2e79e73af32793f7fe103b81246a5ef5a6e1cfbe Mon Sep 17 00:00:00 2001 From: Steven Xu Date: Mon, 6 Mar 2023 05:49:09 +1100 Subject: feat: add common default keybindings (#719) * feat: add common default keybindings * feat: add `WORD_SEPARATORS` to config as `word_chars`, as this is what *Zsh* calls it * feat: add option for *Emacs* word jumping * feat: scroll with `PageUp` and `PageDown`, cf #374 --- atuin-client/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'atuin-client/config.toml') diff --git a/atuin-client/config.toml b/atuin-client/config.toml index 0c9b4ede..a3c255b6 100644 --- a/atuin-client/config.toml +++ b/atuin-client/config.toml @@ -38,6 +38,15 @@ ## possible values: return-original, return-query # exit_mode = "return-original" +## possible values: emacs, subl +# word_jump_mode = "emacs" + +## characters that count as a part of a word +# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" + +## number of context lines to show when scrolling by pages +# scroll_context_lines = 1 + ## prevent commands matching any of these regexes from being written to history. ## Note that these regular expressions are unanchored, i.e. if they don't start ## with ^ or end with $, they'll match anywhere in the command. -- cgit v1.3.1