diff --git a/home/helix.nix b/home/helix.nix index e3feb78..0ff2128 100644 --- a/home/helix.nix +++ b/home/helix.nix @@ -5,8 +5,9 @@ theme = "snazzy"; editor .true-color = true; keys.insert.j.j = "normal_mode"; - keys.insert.s.s = ":write"; # TODO: this should also put back in normal_mode - keys.normal.s.s = ":write"; + # Shortcut to save file, in any mode. + keys.insert."C-s" = [":write" "normal_mode"]; + keys.normal."C-s" = ":write"; }; }; }