From 53fe43ac0fb5476886d17f0ef5f13263bf765b54 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 9 Nov 2023 17:30:10 +0100 Subject: [PATCH] Support numpad enter --- nushell/config.nu | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nushell/config.nu b/nushell/config.nu index c0b6c92..f06d4c9 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -1,6 +1,14 @@ source ~/.config/nushell/init.nu # Change default config +$env.config.keybindings = (echo $env.config.keybindings | append { + name: newline_or_run_command_2 + modifier: CONTROL + keycode: char_j + mode: emacs + event: {send: enter} +}) + $env.config.show_banner = false $env.config.use_grid_icons = false $env.config.cursor_shape.emacs = block