From a1dfc77790e316e32abe69169fa10e19c0969403 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 7 May 2025 08:17:11 -0400 Subject: [PATCH] use enter key to save in helix --- .../home-manager/modules/nmasur/presets/programs/helix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix index e18c85e..1a191cf 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/helix.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/helix.nix @@ -137,6 +137,9 @@ in keys.normal = { + # Use the enter key to save the file + ret = ":write"; + # Get out of multiple cursors and selection esc = [ "collapse_selection"