From b80299eba7554e31a9b5aabce14ad3843db806c0 Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Sun, 3 Jul 2022 07:12:03 +0800 Subject: [PATCH] change default keybinding in default config (#5925) * change default keybinding in default config * change from alt-o to ctrl-o * change back to alt-o * really changed it back to alt-o this time Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> --- docs/sample_config/default_config.nu | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/sample_config/default_config.nu b/docs/sample_config/default_config.nu index 7faf59c836..cbe7d7645f 100644 --- a/docs/sample_config/default_config.nu +++ b/docs/sample_config/default_config.nu @@ -436,6 +436,17 @@ let-env config = { ] } } + { + name: yank + modifier: control + keycode: char_y + mode: emacs + event: { + until: [ + {edit: pastecutbufferafter} + ] + } + } # Keybindings used to trigger the user defined menus { name: commands_menu @@ -446,8 +457,8 @@ let-env config = { } { name: vars_menu - modifier: control - keycode: char_y + modifier: alt + keycode: char_o mode: [emacs, vi_normal, vi_insert] event: { send: menu name: vars_menu } }