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" -]