Up to [cvs.NetBSD.org] / pkgsrc / editors / kakoune
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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.
editors: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
editors: Remove SHA1 hashes for distfiles
Resolve various template matching issues when building with clang and don't require relaxed instanciation.
kakoune: Add note to patch. I'm not bitter.
kakoune: Update to 2020.01.16 == Kakoune v2020.01.16 * Expose history tree through `$kak_history` and `$kak_uncommitted_modifications` * `InsertCompletionHide` parameter is the list of inserted ranges
kakoune: Include string.h for FD_ZERO's memcpy needs on illumos.
Add editors/kakoune. Kakoune 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.