summaryrefslogtreecommitdiff
path: root/doc/pages
AgeCommit message (Collapse)Author
2025-07-08Merge remote-tracking branch 'pjungkamp/history'Maxime Coste
2025-07-05Introduce `history_since_<id>` value expansionPhilipp Jungkamp
The `history_since_<id>` value expansion allows incremental parsing of a buffer's history. declare-option int my_last_history_id define-command my-process-history ... # process the initial buffer history my-process-history %val{bufname} 0 %val{history} set-option buffer my_last_history_id 0 # only process new history changes on idle hook buffer NormalIdle %{ evaluate-commands %exp{ my-process-history \ %%val{bufname} \ %%opt{my_last_history_id} \ %%val{history_since_%opt{my_last_history_id}} } set-option buffer my_last_history_id %val{history_id} }
2025-07-03Rework startup messageMaxime Coste
Link to `:doc changelog` in the title and link to startup-info there so that this information stays visible even if the changelog overflows the info box. Use format support for 0 padding instead of custom code
2025-06-28fix: remove comment and document usageYukai Huang
2025-06-26Fix outdated reference to ncurses in docMaxime Coste
2025-06-05Document what colorschemes areSupreeeme
2025-06-03Kakoune 2025.06.03Maxime Coste
2025-06-03Support '*' and comma separated list for exec/eval -client switchMaxime Coste
Closes #5326
2025-04-17Document built in command switch behaviorShawn Wallace
2025-02-28Merge remote-tracking branch 'igor-ramazanov/contrib/gendocs.sh'Maxime Coste
2025-02-16Revert "WIP history register"Maxime Coste
This is not finished yet, and pushed by accident, again... This reverts commit 22b461c3a0b22dd4501943230f0774c34f0b4b35.
2025-02-12Merge branch 'mawww:master' into contrib/gendocs.shIgor Ramazanov
2025-02-10WIP history registerMaxime Coste
2025-02-05Make Control modifier quote inserted registers in prompt modeMaxime Coste
It is often usefull to quote the inserted register, like when doing `:grep <c-r>/`, or when pulling selected filenames with `<c-r><a-.>`.
2025-01-18Merge branch 'mawww:master' into contrib/gendocs.shIgor Ramazanov
2024-12-27correct typo in keys.asciidocMikeSS8
2024-11-04doc expansions: mention the advantage of %exp{} over doubly quoted stringsJohannes Altmanninger
The other advantage is that %exp{} is seamlessly nestable; I guess that one is kind of implied by the context.
2024-09-16rc git: teach "git apply" to work on content, not just diffsJohannes Altmanninger
Staging/unstaging/reverting (parts of) the current buffer's file can be a common use case. Today "git apply" can do that based on a selection within a diff. When the selection is on uncommitted content, we can probably assume that the intent is to use the part of the selection that overlaps with the +-side of "git diff" (or "git diff --cached" for "git apply --cached"). Make "git apply" treat selections as content if the buffile is tracked by Git. This differentiator is not perfect but I don't know why anyone would want to use the existing "git apply" semantics on a tracked file. Maybe we should pick a different name. This feature couples well with "git show-diff", which shows all lines with unstaged changes (in future it should probably show staged changes as well). Whereas on diffs, "git apply" stages the entire hunk if the selection contains no newline, this does not happen when operating on content. I didn't yet try implementing that. I guess the hunks are not as explicit here. Closes #5225
2024-09-09Merge remote-tracking branch 'arrufat/patch-1'Maxime Coste
2024-09-08Remove out-of-date documentation about <esc> ending macro recordingMaxime Coste
Fixes #5223
2024-09-08Add terminal_title terminal ui_option to control the titleMaxime Coste
Use a separate option from terminal_set_title for simplicity. Fixes #2217 Closes #4265
2024-09-05Remove trailing space in scopes.asciidocAdrià
Closes #5226
2024-08-04Add support for double underlineAdrià Arrufat
2024-07-22Review some buffer names in documentationJustTaken
Now `\*debug*` and `\*scratch*` are used when refering these buffers for prettier presentation.
2024-07-17Avoid doc renderer corner case in execeval pageMaxime Coste
The doc renderer is not expected to fully support asciidoc and can need a bit of help by avoiding corner cases in pages Closes #5198
2024-07-15Merge remote-tracking branch 'lobre/hooks-doc'Maxime Coste
2024-07-05Remove whitespace in hooks documentationLoric Brevet
2024-07-01Merge remote-tracking branch 'PJungkamp/directory-changed'Maxime Coste
2024-06-24Add EnterDirectory hookPhilipp Jungkamp
This hook runs on `change-directory` and is also emitted just before KakBegin after kakrc has been sourced.
2024-06-23Allow individual show-whitespace options to be turned offTobias Pisani
This is especially useful to use the indent guides without the other parameters, but in general it can be a useful option. It could be worth considering cleaning up these options to default off instead, but the default also seems useful, so i consider this ok, as it might be the more advanced usecase.
2024-06-10Fix up %val{buflist} description in expansions.asciidocColeman McFarland
The output is not quoted by default. Fixes #5158
2024-06-07Also check shell parameters for kak_* referencesMaxime Coste
This makes it easier to pass shell fragments as arguments so that %sh{ eval "$@" } just works even if arguments refer to Kakoune's vars.
2024-06-05Add <quote> and <dquote> key name aliases.Tobias Pisani
These two can also be annoying to have to escape, so this should make it slightly easier to manage
2024-06-04Ensure the `doc/pages/keymap.asciidoc` is rendered as a preformatted paragraphIgor Ramazanov
2024-05-31Add v< and v> to scroll cursor to the leftmost/rightmost columnMaxime Coste
2024-05-18Kakoune 2024.05.18Maxime Coste
2024-05-09Kakoune 2024.05.09Maxime Coste
2024-04-29Add local scope to user commandsMaxime Coste
2024-04-12Introduce "local" scope in evaluate-commandsMaxime Coste
When using `eval` a new scope named 'local' gets pushed for the whole evaluation, this makes it possible to temporarily set an option/hook/alias... Local scopes nest so nested evals do work as expected. Remove the now trivial with-option command
2024-03-27Add SessionRenamed hookTobias Pisani
2024-03-27Add ClientRenamed hookTobias Pisani
2024-03-27Add -indent option to show-whitespace highlighterTobias Pisani
A couple of semi-opinionated choices were made in this implementation: 1. The guide is hidden in the first column. 2. The indent guides are highlighted using a new `WhitespaceIndent` face. 3. Nothing is done to continue the guide through empty lines. I believe this to be the correct approach, at least as long as it is kept as a part of the show-whitespaces highlighter. However some people's oppinion may differ, and if so, that could be implemented. 4. The guides default to on, like the other show-whitespace options. Default character is "│". 5. Spaces between the indent guides are currently highlighted as other spaces. Other reasonable options would be no replacement, -tabpad, or a similar -indentpad. 6. Guides are disabled by passing `-indent ""`. 7. Indent guides are separate from tab highlighting. Additionally, we could consider adding a separate face for the "current" indent level as many editors do, but this is a bit harder in kakoune because of multiple selections. Closes #2323
2024-02-10Merge remote-tracking branch 'krobelus/changelog'Maxime Coste
2024-02-05Changelog entries for new blame featuresJohannes Altmanninger
2024-01-30Support -after switch for flag-lines highlighterMaxime Coste
2023-12-16Update changelogJohannes Altmanninger
2023-12-02Merge remote-tracking branch 'krobelus/fuzzy-menu'Maxime Coste
2023-11-20rc tools menu: replace menu builtin with a prompt-based implementationJohannes Altmanninger
prompt has fuzzy filtering which is more discoverable than the menu mode's regex filtering (because that one needs / to trigger it). There are no important differences left, so replace the menu builtin with a prompt-based command. prompt does not support markup in the completion menu, so drop that feature for now.
2023-11-17Update changelogJohannes Altmanninger
2023-11-14Make shell-script-candidates completer run in the backgroundMaxime Coste
Read output from the script as it comes and update the candidate list progressively. Disable updating of the list when a completion has been explicitely selected.