Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Daniel Fichtinger edited this pageJul 21, 2025 ·6 revisions

Use kakoune as an IDE

As a convention, many commands respect thetoolsclient,docsclient andjumpclient options. These string options store the name of the client to use.toolsclient will be used for:make and:grep commands, when an entry is selected in them, they will try to open the file in thejumpclient client. The:man and:doc commands will display their content in thedocsclient.

If neither of those options are defined, it will fallback on the current client.

Here's a small snippet you can trigger to launch multiple clients and bind them to the right options:

def ide %{    rename-client main    set global jumpclient main    new rename-client tools    set global toolsclient tools    new rename-client docs    set global docsclient docs}

Then it's up totmux or your window manager (dwm, i3, xmonad…) to fit them correctly on your monitor.

Read local kakrc file

At times, it can be useful to override/extend your configuration based on the local directory. For example, you may want to set options only for certain projects, etc. For this, you can implement a simple.kakrc file to be run automatically when you open Kakoune inside that project.

Warning

Automatically running commands from a project can be asecurity risk. Please consider manually runningsource .kakrc instead. For an implementation that only loads.kakrc files in trusted directories, see thesecure-local-kakrc plugin.

To implement naive autoloading, you may add the following snippet to yourkakrc:

# Source a local project kak config if it exists# Make sure it is set as a kak filetypehookglobalBufCreate (.*/)?(\.kakrc) %{set-optionbufferfiletype kak}try %{source .kakrc }

Buffer list

TheBar page explains how to add extra status bars.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp