From 068a60797cc7d2de27b5178fccf713e30df03363 Mon Sep 17 00:00:00 2001 From: Ceres Date: Mon, 24 Nov 2025 00:58:18 +0000 Subject: [PATCH] Update helix config --- fish/config.fish | 2 ++ helix/config.toml | 19 ++++++++++++++++++- hypr/hyprland/custom-labob.conf | 3 ++- hypr/hyprland/custom-peecee.conf | 1 + hypr/variables.conf | 1 - 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/fish/config.fish b/fish/config.fish index e3786c7..78589b1 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -48,4 +48,6 @@ if status is-interactive function mark_prompt_start --on-event fish_prompt echo -en "\e]133;A\e\\" end + + bind \cz 'fg 2>/dev/null; commandline -f repaint' end diff --git a/helix/config.toml b/helix/config.toml index 941982b..3403db3 100644 --- a/helix/config.toml +++ b/helix/config.toml @@ -1,5 +1,22 @@ theme = "theme" - [editor.indent-guides] render = true + +[keys.normal.space] +e = [ + ':sh rm -f /tmp/unique-file', + ':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file', + ':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty', + ':open %sh{cat /tmp/unique-file}', + ':redraw', +] + +# helix/config.toml +[keys.normal] +C-g = [ + ":write-all", + ":insert-output lazygit >/dev/tty", + ":redraw", + ":reload-all" +] diff --git a/hypr/hyprland/custom-labob.conf b/hypr/hyprland/custom-labob.conf index 74e47b9..8f5c94f 100644 --- a/hypr/hyprland/custom-labob.conf +++ b/hypr/hyprland/custom-labob.conf @@ -5,7 +5,8 @@ env = QT_QPA_PLATFORMTHEME,qt6ct $terminal = foot $fileExplorer = foot fish -C yazi +$fileExplorer = foot fish -C helix input { kb_layout = gb -} \ No newline at end of file +} diff --git a/hypr/hyprland/custom-peecee.conf b/hypr/hyprland/custom-peecee.conf index 3453624..5f755cd 100644 --- a/hypr/hyprland/custom-peecee.conf +++ b/hypr/hyprland/custom-peecee.conf @@ -4,6 +4,7 @@ monitor = HDMI-A-1, 1920x1080@60, 1920x156, 1 $terminal = ghostty $fileExplorer = ghostty -e fish -C yazi +$editor = ghostty -e fish -C hx workspace= name:1, monitor:HDMI-A-2 diff --git a/hypr/variables.conf b/hypr/variables.conf index cf4a755..5d161ac 100644 --- a/hypr/variables.conf +++ b/hypr/variables.conf @@ -1,6 +1,5 @@ # ### Hyprland ### # Apps -$editor = code $browser = zen # Touchpad