Skip to content

Commit b6a189f

Browse files
committed
Add help section for kitty
1 parent b32f718 commit b6a189f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/dispatch.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,21 @@ The tmux strategy can be used from the GUI as well. Either start Vim from
183183
inside of tmux or assign g:tmux_session. This will use a new window for
184184
foreground makes rather than a split.
185185

186+
Kitty ~
187+
188+
Foreground makes open in a split respecting the current layout. The closure
189+
of the pane triggers a |VimResized| event which loads the results into the
190+
quickfix list if callbacks are not supported.
191+
This handler requires you to enable kitty's remote controll feature.
192+
See https://sw.kovidgoyal.net/kitty/remote-control/
193+
194+
Kitty does not have a way to specify window size and direction explicitly
195+
because those depend on the layout. To controll the window size, adjust the
196+
bias Kitty uses to calculate the window size. It is passed as "--bias=<num>"
197+
to the "kitten @ launch" command.
198+
>
199+
let g:dispatch_kitty_bias = 20
200+
<
186201
Job ~
187202

188203
Uses the |job| support in Vim 8 and Neovim to update the quickfix list in real

0 commit comments

Comments
 (0)