feat: add herdr & pi auto theme

This commit is contained in:
johannes committed 2026-07-31 00:28:11 +02:00
1 parent 658ef3f3ed
commit 5af8007804
6 files changed
+101 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
[theme]
auto_switch = true
dark_name = "catppuccin"
light_name = "catppuccin-latte"
[keys]
# Prefix key
prefix = "ctrl+b"
# Direct pane navigation (bypasses prefix)
focus_pane_left = "alt+h"
focus_pane_down = "alt+j"
focus_pane_up = "alt+k"
focus_pane_right = "alt+l"
# Direct pane creation (bypasses prefix)
split_vertical = "alt+v"
split_horizontal = "alt+s"
+1 -1
View File
@@ -114,7 +114,7 @@ overlay use scripts/alias-finder.nu
source scripts/commands.nu
source ~/.local/share/nushell/vendor/autoload/wt.nu
#source ~/.local/share/nushell/vendor/autoload/wt.nu
#----------------
# Custom Commands
+12
View File
@@ -55,6 +55,18 @@ def --env zj [path?: string] {
zellij attach -c $session_name
}
# hd: "Smart Herdr"
# 1. If argument provided: cd there, then open herdr
# 2. If no argument: open herdr in current dir
def --env hd [path?: string] {
if ($path != null) {
cd $path
}
let session_name = ($env.PWD | path basename)
herdr --session $session_name
}
def man [topic: string] {
^man $topic | bat -l man -p
}