Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.47 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.47 KB

Kakoune Qt

Kakoune Qt is a Qt-based GUI for Kakoune written in C++

screenshot

Features

  • 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 from source

  1. Install the necessary build dependencies
sudo apt install -y git build-essential cmake qt6-base-dev qt6-svg-dev
  1. Clone the repository
git clone https://github.com/falbru/kakoune-qt ~/.config/kak/autoload/kakoune-qt
  1. 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!

Configuration

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'