From 6385ca25df50249007f73f7aae46c92ae5f8a898 Mon Sep 17 00:00:00 2001 From: triethyl Date: Sat, 26 Jul 2025 14:41:27 -0400 Subject: switched nushell to emacs mode --- features/user/cli/shells/nushell/default.nix | 2 +- features/user/cli/shells/nushell/prompt.nu | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'features/user/cli/shells/nushell') diff --git a/features/user/cli/shells/nushell/default.nix b/features/user/cli/shells/nushell/default.nix index dbd66b3..7561fb1 100644 --- a/features/user/cli/shells/nushell/default.nix +++ b/features/user/cli/shells/nushell/default.nix @@ -37,7 +37,7 @@ in { # General Config $env.config = { show_banner: false - edit_mode: 'vi' + edit_mode: 'emacs' history: { isolation: true # Isolate the history of each nushell session diff --git a/features/user/cli/shells/nushell/prompt.nu b/features/user/cli/shells/nushell/prompt.nu index 9e04ed5..a79e766 100644 --- a/features/user/cli/shells/nushell/prompt.nu +++ b/features/user/cli/shells/nushell/prompt.nu @@ -42,6 +42,8 @@ $env.PROMPT_INDICATOR_VI_INSERT = $env.PROMPT_INDICATOR $env.config.cursor_shape.vi_insert = "line" $env.config.cursor_shape.vi_normal = "block" +$env.config.cursor_shape.vi_normal = "line" + # customize menus to match $env.config.menus = [ { -- cgit v1.2.3