Skip to content

Commit 53defe1

Browse files
committed
Add help section for kitty
1 parent 224beb1 commit 53defe1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/dispatch.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,27 @@ 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+
192+
This handler requires you to enable kitty's remote control feature via Unix
193+
socket because (neo)vim has no /dev/tty configured (neovim/neovim#1496).
194+
>
195+
allow_remote_control yes
196+
listen_on unix:/tmp/kitty
197+
<
198+
See https://sw.kovidgoyal.net/kitty/remote-control/
199+
200+
Kitty does not have a way to specify window size and direction explicitly
201+
because those depend on the layout. To controll the window size, adjust the
202+
bias Kitty uses to calculate the window size. It is passed as "--bias=<num>"
203+
to the "kitten @ launch" command.
204+
>
205+
let g:dispatch_kitty_bias = 20
206+
<
186207
Job ~
187208

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

0 commit comments

Comments
 (0)