Kakoune Qt is a Qt-based GUI for Kakoune written in C++
-
Create splits with
:kakqt-split-horizontal
and:kakqt-split-vertical
-
Focus splits with
:kakqt-focus <client_name>
-
Show and hide clients with
:kakqt-show <client_name>
and:kakqt-hide <client_name>
-
Navigate between splits with keybindings
<c-s-h>
,<c-s-j>
,<c-s-k>
and<c-s-l>
- Install the necessary build dependencies
sudo apt install -y git build-essential cmake qt6-base-dev qt6-svg-dev
- Clone the repository
git clone https://github.com/falbru/kakoune-qt ~/.config/kak/autoload/kakoune-qt
- Build and install the project
cd ~/.config/kak/autoload/kakoune-qt
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo install -D ./kak-qt /usr/local/bin
You can then run the application with the command kak-qt
NOTE: Make sure Kakoune version>=2024.05.18 is installed on your system!
Kakoune Qt is configured using the ui_option
in Kakoune. The following options are implemented:
-
kakqt_set_font <font_name>
: Set the font -
kakqt_set_color_<color_name> <rgb_value>
: Set the default colors (color_name can be: black, red, green, yellow, blue, magenta, cyan or white)
Example configuration:
set-option global ui_options 'kakqt_set_font=Ubuntu Mono 12' 'kakqt_set_color_red=rgb:FF0000'