This commit is contained in:
2026-01-19 01:23:12 +08:00
parent 047d6048e8
commit 9aff8bacd7
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ in {
## Misc
# Open new Kitty window
${super} - return : kitty --single-instance
${super} - return : kitty --single-instance -d ~
# Bring Kitty window to current space
${super} - o : yabai -m window $(yabai -m query --windows | jq '.[] | select(.app==".kitty-wrapped") | .id') --space $(yabai -m query --spaces | jq '.[] | select(.has-focus==1) .id')
'';
+3
View File
@@ -35,6 +35,9 @@
};
extraConfig = ''
# Emacs (emacsMacport) - explicitly manage for proper tiling
yabai -m rule --add app="^Emacs$" manage=on
# rules - apps to ignore (manage=off)
yabai -m rule --add app="^Genshin Impact$" manage=off
yabai -m rule --add app="^LuLu$" manage=off
+4 -1
View File
@@ -89,7 +89,10 @@
(when (eq system-type 'darwin)
;; Use Command key as Meta
(setq mac-command-modifier 'meta
mac-option-modifier 'super))
u mac-option-modifier 'super)
;; Enable menu-bar for yabai tiling compatibility
;; Without this, yabai can't detect Emacs windows properly
(menu-bar-mode 1))
;; Better defaults for coding
(setq-default indent-tabs-mode nil
-9
View File
@@ -26,9 +26,6 @@
# tide: Modern, extensible prompt
{ name = "tide"; src = tide.src; }
# async-prompt: Make your prompt asynchronous for better reactivity
{ name = "async-prompt"; src = async-prompt.src; }
# ── Fuzzy Finding ─────────────────────────────────────────────────────────
# fzf-fish: Superior fzf integration - Ctrl+R history, Ctrl+Alt+F files, Ctrl+V vars
{ name = "fzf.fish"; src = fzf-fish.src; }
@@ -47,9 +44,6 @@
# autopair: Auto-insert matching brackets, quotes, etc.
{ name = "autopair"; src = autopair.src; }
# pisces: Paired symbols in the command line
{ name = "pisces"; src = pisces.src; }
# done: Notifications when long-running commands complete
{ name = "done"; src = done.src; }
@@ -72,9 +66,6 @@
# plugin-sudope: Quickly put 'sudo' in your command
{ name = "plugin-sudope"; src = plugin-sudope.src; }
# bang-bang: Bash style history substitution (!! and !$)
{ name = "bang-bang"; src = bang-bang.src; }
# ── Utility ───────────────────────────────────────────────────────────────
# grc: Colorize output of common commands (ping, traceroute, make, etc.)
{ name = "grc"; src = grc.src; }