aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:09 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:09 +0100
commit3ab0436fd85ef72529038d3b0aeecd4d1009b6ed (patch)
treeefabd86940144112835b800e5a44dc2b9d82d44b
parent68a2a9f32337b2f9b4c430554830254a65c1691f (diff)
downloaddotfiles-3ab0436fd85ef72529038d3b0aeecd4d1009b6ed.tar.gz
dotfiles-3ab0436fd85ef72529038d3b0aeecd4d1009b6ed.tar.bz2
dotfiles-3ab0436fd85ef72529038d3b0aeecd4d1009b6ed.zip
feat: add Alt+m to toggle mouse mode in zellij
-rw-r--r--KEYBINDS.md1
-rw-r--r--home/.config/zellij/config.kdl3
2 files changed, 4 insertions, 0 deletions
diff --git a/KEYBINDS.md b/KEYBINDS.md
index 021be03..2175fa8 100644
--- a/KEYBINDS.md
+++ b/KEYBINDS.md
@@ -204,6 +204,7 @@ All binds are in `shared_except "locked"` mode (active everywhere except locked
| `Alt-x` | Close focused pane |
| `Alt-e` | Edit scrollback |
| `Alt-q` | Detach session |
+| `Alt-m` | Toggle mouse mode |
| `Alt--` / `Alt-=` | Resize decrease / increase |
| `Ctrl-h/j/k/l` | Move focus (vim-zellij-navigator) |
diff --git a/home/.config/zellij/config.kdl b/home/.config/zellij/config.kdl
index 87ba6d1..561464f 100644
--- a/home/.config/zellij/config.kdl
+++ b/home/.config/zellij/config.kdl
@@ -48,6 +48,9 @@ keybinds {
// Session
bind "Alt q" { Detach; }
+ // Toggle mouse mode (disable to Ctrl+click URLs in Ghostty)
+ bind "Alt m" { ToggleMouseMode; }
+
// Quick resize without entering resize mode
bind "Alt -" { Resize "Decrease"; }
bind "Alt =" { Resize "Increase"; }