1
- *smart-splits.txt* Last change: 2025 March 28
1
+ *smart-splits.txt* Last change: 2025 April 05
2
2
3
3
==============================================================================
4
4
Table of Contents *smart-splits-table-of-contents*
@@ -13,6 +13,7 @@ Lua API ............................................... |smart-splits-lua-api|
13
13
Multiplexer Integrations ............. | smart-splits-multiplexer-integrations |
14
14
Tmux ..................................................... | smart-splits-tmux |
15
15
Quirks with Alacritty ................... | smart-splits-quirks-with-alacritty |
16
+ Zellij ................................................. | smart-splits-zellij |
16
17
Wezterm ............................................... | smart-splits-wezterm |
17
18
Kitty ................................................... | smart-splits-kitty |
18
19
Credits ............................................... | smart-splits-credits |
35
36
- Install <#install>
36
37
- Configuration <#configuration> - Hooks <#hooks> - Examples: <#examples>
37
38
- Usage <#usage> - Multiplexer Integrations <#multiplexer-integrations> - Tmux
38
- <#tmux> - Wezterm <#wezterm > - Kitty <#kitty > - Credits <#credits > -
39
- Multiplexer Lua API <#multiplexer-lua-api>
39
+ <#tmux> - Zellij <#zellij > - Wezterm <#wezterm > - Kitty <#kitty > - Credits
40
+ <#credits> - Multiplexer Lua API <#multiplexer-lua-api>
40
41
41
42
------------------------------------------------------------------------------
42
43
INSTALL *smart-splits-install*
@@ -427,6 +428,88 @@ to configure Alacritty to interpret the key code correctly. \ reference
427
428
<
428
429
429
430
431
+ ZELLIJ *smart-splits-zellij*
432
+
433
+ [!NOTE] Zellij support is currently experimental. Please try it out and report
434
+ any issues! \ Resizing by a specific amount from Neovim and presetting new
435
+ split size is unsupported.
436
+
437
+ Add the following keymap config to your Zellij KDL config, adjusting the keys
438
+ you wish to use as necessary. No configuration should be needed on the Neovim
439
+ side.
440
+
441
+ >kdl
442
+ keybinds {
443
+ shared_except "locked" {
444
+ bind "Ctrl h" {
445
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
446
+ name "move_focus_or_tab";
447
+ payload "left";
448
+ move_mod "ctrl";
449
+ resize_mod "alt";
450
+ };
451
+ }
452
+ bind "Ctrl j" {
453
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
454
+ name "move_focus";
455
+ payload "down";
456
+ move_mod "ctrl";
457
+ resize_mod "alt";
458
+ };
459
+ }
460
+ bind "Ctrl k" {
461
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
462
+ name "move_focus";
463
+ payload "up";
464
+ move_mod "ctrl";
465
+ resize_mod "alt";
466
+ };
467
+ }
468
+ bind "Ctrl l" {
469
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
470
+ name "move_focus_or_tab";
471
+ payload "right";
472
+ move_mod "ctrl";
473
+ resize_mod "alt";
474
+ };
475
+ }
476
+ bind "Alt h" {
477
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
478
+ name "resize";
479
+ payload "left";
480
+ move_mod "ctrl";
481
+ resize_mod "alt";
482
+ };
483
+ }
484
+ bind "Alt j" {
485
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
486
+ name "resize";
487
+ payload "down";
488
+ move_mod "ctrl";
489
+ resize_mod "alt";
490
+ };
491
+ }
492
+ bind "Alt k" {
493
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
494
+ name "resize";
495
+ payload "up";
496
+ move_mod "ctrl";
497
+ resize_mod "alt";
498
+ };
499
+ }
500
+ bind "Alt l" {
501
+ MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.1/vim-zellij-navigator.wasm " {
502
+ name "resize";
503
+ payload "right";
504
+ move_mod "ctrl";
505
+ resize_mod "alt";
506
+ };
507
+ }
508
+ }
509
+ }
510
+ <
511
+
512
+
430
513
WEZTERM *smart-splits-wezterm*
431
514
432
515
[!NOTE] It is recommended _not to lazy load_ `smart- splits.nvim` if using the
0 commit comments