From b5378724daeeb76a4f05d5960f46c49fbf5e4656 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Wed, 16 Apr 2025 14:29:58 -0500 Subject: [PATCH] Clean up duplicate sections/bindings --- helix/config.toml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/helix/config.toml b/helix/config.toml index 1e874a2..0b961a6 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -23,14 +23,11 @@ wrap-at-text-width = true center = ["version-control"] [keys.normal] -C-r = ":config-reload" +C-R = ":config-reload" + _ = { n = ":set whitespace.render none", a = ":set whitespace.render all" } -[keys.normal.space] -i = ":toggle lsp.display-inlay-hints" - # Git integration with lazygit -[keys.normal] C-g = [ ":write-all", ":insert-output lazygit >/dev/tty", @@ -38,8 +35,18 @@ C-g = [ ":reload-all" ] -# File explorer with yazi +# Search and replace with scooter +C-r = [ + ":write-all", + ":insert-output scooter >/dev/tty", + ":redraw", + ":reload-all" +] + [keys.normal.space] +i = ":toggle lsp.display-inlay-hints" + +# File explorer with yazi e = [ ":sh rm -f /tmp/unique-file-c5140c67", ":insert-output yazi '%{buffer_name}' --chooser-file=/tmp/unique-file-c5140c67", @@ -58,12 +65,3 @@ E = [ ":set mouse false", ":set mouse true", ] - -# Search and replace with scooter -[keys.normal] -C-r = [ - ":write-all", - ":insert-output scooter >/dev/tty", - ":redraw", - ":reload-all" -]