summaryrefslogtreecommitdiff
path: root/features/user
diff options
context:
space:
mode:
Diffstat (limited to 'features/user')
-rw-r--r--features/user/cli/shells/nushell/default.nix2
-rw-r--r--features/user/cli/shells/nushell/prompt.nu2
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 = [
{