# Kitty Support?

**URL:** <https://discuss.kakoune.com/t/kitty-support/1279>\
**Category:** Help\
**Tags:** kitty, terminal\
**Created:** [September 23, 2020, 4:33pm UTC](https://discuss.kakoune.com/t/kitty-support/1279 "2020-09-23T16:33:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![meowgorithm](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/meowgorithm/32/452_2.png) [@meowgorithm](https://discuss.kakoune.com/u/meowgorithm)\
**Post date:** [September 23, 2020, 4:33pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/1 "2020-09-23T16:33:09Z")

</div>

I’m wondering if there are any tricks to getting Kakoune to work with Kitty. In particular, window functions like `:new`. I’m using the latest Kitty on both macOS and bspwm on Linux.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![alexherbo2](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/alexherbo2/32/1140_2.png) [@alexherbo2](https://discuss.kakoune.com/u/alexherbo2)\
**Post date:** [September 23, 2020, 5:15pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/2 "2020-09-23T17:15:05Z")

</div>

You have a [`kitty.kak`](https://github.com/mawww/kakoune/blob/master/rc/windowing/kitty.kak) and a `kitty_window_type` option to control the kitty window type.

---

<div class="post-metadata">

**Author:** ![meowgorithm](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/meowgorithm/32/452_2.png) [@meowgorithm](https://discuss.kakoune.com/u/meowgorithm)\
**Post date:** [September 23, 2020, 5:35pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/3 "2020-09-23T17:35:24Z")

</div>

Thanks for that. I got it to work by doing two things on macOS:

1. I set `allow_remote_control yes` in `kitty.conf`.
2. Installed Kitty via Homebrew. I normally do it through the official script, but for some reason that doesn’t install the `kitty` CLI wrapper.
3. I added the path to kitty to as a global environment variable in `kitty.conf` via `env PATH=/usr/local/bin:${PATH}`.

It’s quite annoying/difficult/inconvenient setting global environment vars on macOS, as the Kitty author points out, so I did it in `kitty.conf`, which was weird, but at least convenient. Details on the issue [here](https://github.com/kovidgoyal/kitty/issues/2704).

It works on Linux out of the box as long you enable remote control, however it would ideally pass window commands though to bspwm. I’ll let you know if I manage to figure that one out.

---

<div class="post-metadata">

**Author:** ![useredsa](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/useredsa/32/419_2.png) [@useredsa](https://discuss.kakoune.com/u/useredsa)\
**Post date:** [September 23, 2020, 5:52pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/4 "2020-09-23T17:52:38Z")

</div>

I think it would be better if you updated the title of the post to «Kitty support in MacOs» for anyone else that asks.

---

<div class="post-metadata">

**Author:** ![meowgorithm](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/meowgorithm/32/452_2.png) [@meowgorithm](https://discuss.kakoune.com/u/meowgorithm)\
**Post date:** [September 23, 2020, 5:57pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/5 "2020-09-23T17:57:59Z")

</div>

I’m also asking about Linux, but I could potentially update my question and answer to remove the Linux portions.

---

<div class="post-metadata">

**Author:** ![useredsa](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/useredsa/32/419_2.png) [@useredsa](https://discuss.kakoune.com/u/useredsa)\
**Post date:** [September 23, 2020, 6:03pm UTC](https://discuss.kakoune.com/t/kitty-support/1279/6 "2020-09-23T18:03:23Z")

</div>

That’s true. I missed that part, and it’s true that you also need to enable remote controlling.
