diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-26 14:41:27 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-26 14:41:27 -0400 |
| commit | 6385ca25df50249007f73f7aae46c92ae5f8a898 (patch) | |
| tree | 4b4d3fd4838f3adfb9ea039b5fdef28e733fa1a0 /features/user/cli/shells/nushell | |
| parent | f88015e36d85115153d3664614ffe9d70dacf6b3 (diff) | |
switched nushell to emacs mode
Diffstat (limited to 'features/user/cli/shells/nushell')
| -rw-r--r-- | features/user/cli/shells/nushell/default.nix | 2 | ||||
| -rw-r--r-- | features/user/cli/shells/nushell/prompt.nu | 2 |
2 files changed, 3 insertions, 1 deletions
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 = [ { |
