Skip to content

Commit 24e471d

Browse files
authored
Merge pull request #308 from mrjones2014/bot/vimdoc/master
chore: generated vimdoc
2 parents 8dcf8e7 + 84b8e38 commit 24e471d

File tree

2 files changed

+87
-3
lines changed

2 files changed

+87
-3
lines changed

doc/smart-splits.txt

+86-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*smart-splits.txt* Last change: 2025 March 28
1+
*smart-splits.txt* Last change: 2025 April 05
22

33
==============================================================================
44
Table of Contents *smart-splits-table-of-contents*
@@ -13,6 +13,7 @@ Lua API ............................................... |smart-splits-lua-api|
1313
Multiplexer Integrations ............. |smart-splits-multiplexer-integrations|
1414
Tmux ..................................................... |smart-splits-tmux|
1515
Quirks with Alacritty ................... |smart-splits-quirks-with-alacritty|
16+
Zellij ................................................. |smart-splits-zellij|
1617
Wezterm ............................................... |smart-splits-wezterm|
1718
Kitty ................................................... |smart-splits-kitty|
1819
Credits ............................................... |smart-splits-credits|
@@ -35,8 +36,8 @@ demo
3536
- Install <#install>
3637
- Configuration <#configuration> - Hooks <#hooks> - Examples: <#examples>
3738
- 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>
4041

4142
------------------------------------------------------------------------------
4243
INSTALL *smart-splits-install*
@@ -427,6 +428,88 @@ to configure Alacritty to interpret the key code correctly. \ reference
427428
<
428429

429430

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+
430513
WEZTERM *smart-splits-wezterm*
431514

432515
[!NOTE] It is recommended _not to lazy load_ `smart-splits.nvim` if using the

doc/tags

+1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ smart-splits-table-of-contents smart-splits.txt /*smart-splits-table-of-contents
1616
smart-splits-tmux smart-splits.txt /*smart-splits-tmux*
1717
smart-splits-usage smart-splits.txt /*smart-splits-usage*
1818
smart-splits-wezterm smart-splits.txt /*smart-splits-wezterm*
19+
smart-splits-zellij smart-splits.txt /*smart-splits-zellij*
1920
smart-splits-🧠-`smart-splits.nvim smart-splits.txt /*smart-splits-🧠-`smart-splits.nvim*
2021
smart-splits.txt smart-splits.txt /*smart-splits.txt*

0 commit comments

Comments
 (0)