Path to this page:
./
editors/kakoune,
Experimental modal code editor
Branch: CURRENT,
Version: 2026.04.12,
Package name: kakoune-2026.04.12,
Maintainer: pkgsrc-usersKakoune is a code editor that implements Vi's "keystrokes as a text editing
language" model. As it's also a modal editor, it is somewhat similar to the
Vim editor (after which Kakoune was originally inspired).
Kakoune can operate in two modes, normal and insertion. In insertion mode,
keys are directly inserted into the current buffer. In normal mode, keys
are used to manipulate the current selection and to enter insertion mode.
Kakoune has a strong focus on interactivity, most commands provide immediate
and incremental results, while still being competitive (as in keystroke
count) with Vim.
Kakoune works on selections, which are oriented, inclusive range of characters,
selections have an anchor and a cursor character. Most commands move both
of them, except when extending selection where the anchor character stays
fixed and the cursor one moves around.
Required to run:[
devel/ncursesw]
Required to build:[
pkgtools/cwrappers] [
lang/gcc7]
Master sites:
Filesize: 623.764 KB
Version history: (Expand)
- (2026-04-12) Updated to version: kakoune-2026.04.12
- (2025-12-14) Updated to version: kakoune-2025.06.03
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
CVS history: (Expand)
| 2026-05-01 07:40:44 by Thomas Klausner | Files touched by this commit (2) |
Log message:
kakoune: add upstream patch
hopefully fixes NetBSD 11 build
|
2026-04-12 18:02:12 by Thomas Klausner | Files touched by this commit (3) | 👁 Package updated
|
Log message:
kakoune: update to 2026.04.12.
Provided by Diogo in PR 60186.
== Kakoune 2026.04.12
* `finaleol` option to support writing files that do not end with an final
end-of-line byte
* `FocusIn`/`FocusOut` events on suspend
* `%val{buffile}` is now empty for scratch buffers
* Reworked Json UI draw_status call to give UI implementation more control,
added cursor pos to the draw call and removed the set_cursor call
* `number-lines -full-relative` switch to keep a smaller line number gutter.
* `<a-I>` and `<a-A>` to select nested text objects
* `kak -C <session>` connects to a session or creates it if it does not exist.
|
2025-12-14 11:04:32 by Thomas Klausner | Files touched by this commit (3) | 👁 Package updated
|
Log message:
kakoune: update to 2025.06.03.
Provided by db7 in PR 59832.
Changes since 2024.05.18:
- Expose env vars that are mentioned in the arguments passed to shell
expansions
- Support for colored double underlines
- git apply can now operate on selected changes in the current buffer's
file (useful for quick (un)staging and reverting)
- exec/eval -client switch accepts '*' for all clients and comma
separated list of client names.
|
| 2024-12-13 08:34:15 by Thomas Klausner | Files touched by this commit (1) |
Log message:
kakoune: respect pkgsrc CXXFLAGS
From db7 in PR 58899.
|
2024-12-11 15:27:26 by Thomas Klausner | Files touched by this commit (10) | 👁 Package removed
|
Log message:
kakoune: update to 2024.05.18nb1.
(Mostly) From db7 in PR 58893.
Kakoune 2024.05.18
* Fixed tests on Alpine Linux and *BSD
Kakoune 2024.05.09
* `flag-lines -after` switch to display text after the line
* `shell-script-candidates` completion now runs the script asynchronously
while displaying and updating results live.
* `%val{window_range}` elements are now emitted as different strings
* `+` only duplicates identical selections a single time to avoid surprising
and slow exponential growth in the number of selections.
* `daemonize-session` command makes it possible to convert the current session
to a daemon one (which will not exit on last client disconnecting)
* View mode commands and mouse scrolling no longer change selections when those \
go off-screen.
* New commands `git apply`, `git blame-jump`, `git edit` and `git grep`.
* `git blame` now also works in `git-diff` and `git-log` buffers.
* Completions provided via `shell-script-candidates` or `completers` are no \
longer sorted if the typed text is empty.
* The `terminal` alias has been replaced with a command that selects terminal \
program and placement based on windowing options.
* `local` scopes in `commands` and `evaluate-commands`.
Kakoune 2023.08.08
* Fix compilation errors on FreeBSD and MacOS using clang
Kakoune 2023.07.29
* `<a-u>` and `<a-U>` now undo/redo selection changes; the previous \
meaning
of moving in history tree has been moved to `<c-j>` and `<c-k>`
* `%exp{...}` expansions provide flexible quoting for expanded strings
(as double quoted strings)
* `<c-g>` cancels the current operation and goes back to the main event
loop, this provides an escape hatch when Kakoune seems to hang due to
a costly operation
* `show-matching -previous` highlighter will fall back onto the character
preceeding the cursor
Kakoune 2022.10.31
* `complete-command` (See <<commands#configuring-command-completion,`:doc \
commands configuring-command-completion`>>)
* `p`, `P`, `!` and `<a-!>` commands now select the inserted text
* `x` now just extends the selection to contain full lines (as `<a-x>` did)
`<a-x>` trims partial lines from the selection (as `<a-X>` did)
* User mappings is now bound to `<space>` while keeping/removing main selection
moved to `,` and `<a-,>`
* Prompt history registers `%reg{colon}`, `%reg{slash}` and `%reg{pipe}` now
have reverse chronological order
* Executing user mode mappings no longer adds to prompt history registers.
Kakoune 2021.11.07
* Support for curly and separately colored underlines (undocumented in 2021.10.28)
* Fixes for terminal flickering
* Fixes for command and response fifo corner cases
Kakoune 2021.10.28
* `g` and `v` do not auto lower case the next key, so `GL` needs to be
manually mapped to `Gl` for example.
Kakoune 2021.08.28
* command and response fifo support
(See <<expansions#command-and-response-fifo,`:doc expansions \
command-and-response-fifo`>>)
* Shell expansions only trim the last trailing newline instead of all of
them to make is possible to losslessly pass text through `%sh{...}`.
* `set-option -remove` support for subtracting/removing from option values
* Menu completions such as command name completion are now auto-inserted on
space
* `write -atomic` was replaced with `write -method [replace|overwrite]` to
make both write methods available explicitly
* `write <filename>` will fail if the given filename already exists and is
a regular file. Use the `-force` switch to override that behaviour.
Kakoune 2020.09.01
* The `repl` and `send-text` aliases have been renamed respectively into
`repl-new` and `repl-send-text`.
* Daemon mode (`-d` switch) does not fork anymore.
* Replace NCursesUI with a custom terminal UI implementation
Kakoune 2020.08.04
* Introduce `User` hook support.
* The `bold` and `italic` faces are no longer built-in. Highlighters
are expected to use face attributes (`+b` and `+i`, respectively) to
decorate text.
* The `lint-enable` command no longer needs to be called to display
linting errors. The `lint-disable` command was renamed into
`lint-hide-diagnostics`.
* The `+<length>` part of a `range-specs` highlighter consistently
refers to the length of the target range.
* clients stdin is transferred to the server, making it possible
to pipe into `kak -c <session>`
* Faces can have an alpha channel, specified using the
`rgba:RRGGBBAA` format.
* replace-ranges highlighter now support empty and multi-lines ranges
* `%val{...}` now expands to list of strings, `$kak_quoted_...` now work
as expected with these.
* `*SetOption` hooks filter string will contain a value only for options
of int/str/bool types to avoid performance issue with generating those
on more complex option types.
|
| 2024-05-06 10:40:34 by Jonathan Perkin | Files touched by this commit (113) |
Log message:
*: Revision bumps for ncurses 6.5 overhaul.
|
| 2023-07-18 16:13:24 by Nia Alarie | Files touched by this commit (3) |
Log message:
editors: Adapt packages to use USE_(CC|CXX)_FEATURES
|
| 2021-10-26 12:21:45 by Nia Alarie | Files touched by this commit (160) |
Log message:
editors: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
|