aboutsummaryrefslogtreecommitdiff
path: root/book/src
Commit message (Collapse)AuthorAge
* commands: Make no arg ':theme' show name (#3740)James O. D. Hunt2022-10-26
| | | | | | | | | | | | | | | | Most commands that accept an argument show their current value if no argument is specified. The `:theme` command previously displayed an error message in the status bar if not provided with an argument: ``` Theme name not provided ``` It now shows the current theme name in the status bar if no argument is specified. Signed-off-by: James O. D. Hunt <jamesodhunt@gmail.com> Signed-off-by: James O. D. Hunt <jamesodhunt@gmail.com>
* Add `:update` that will write the changes if the file has been modified. ↵Gaurav Tyagi2022-10-26
| | | | | | | | | (#4426) * add command update that will write the changes if file hasn been modified * add docs * update the docs
* Change syntax for suffix file-types configurations (#4414)Michael Davis2022-10-22
| | | | | | | | | | | | | | | | | The change in d801a6693c3d475b3942f705d3ef48d7966bdf65 to search for suffixes in `file-types` is too permissive: files like the tutor or `*.txt` files are now mistakenly interpreted as R or perl, respectively. This change changes the syntax for specifying a file-types entry that matches by suffix: ```toml file-types = [{ suffix = ".git/config" }] ``` And changes the file-type detection to first search for any non-suffix patterns and then search for suffixes only with the file-types entries marked explicitly as suffixes.
* Add textobjects.scm for zig (#4409)Sora2022-10-21
|
* Autosave all when the terminal loses focus (#3178)Charlie Groves2022-10-21
| | | | | | | | | | | * Autosave all when the terminal loses focus * Correct comment on focus config Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Need a block_try_flush_writes in all quit_all paths Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Clarify use of `HELIX_RUNTIME` (#4382)Greg Troszak2022-10-21
|
* Add support for D (#4372)Garrett D'Amore2022-10-20
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Allow using path suffixes to associate language file-types (#2455)midnightexigent2022-10-20
| | | | | | | | | | | | | | | | | | | | | | | | * feat(syntax): add strategy to associate file to language through pattern File path will match if it ends with any of the file types provided in the config. Also used this feature to add support for the .git/config and .ssh/config files * Add /etc/ssh/ssh_config to languages.toml * cargo xtask docgen * Update languages.md * Update languages.md * Update book/src/languages.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * Update book/src/languages.md Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Update windows install instructions (#4351)Alex2022-10-19
|
* Merge pull request #4061 from pascalkuthe/undercurl-modifierBlaž Hrastnik2022-10-19
|\ | | | | Support different kinds of underline rendering (updated)
| * merge underline-style and underline-color into a single tablePascal Kuthe2022-10-13
| |
| * adress review commentsPascal Kuthe2022-10-11
| |
| * fix typoPascal Kuthe2022-10-08
| | | | | | Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>
| * add deprectation not for underlined modifier to docspascalkuthe2022-10-08
| |
| * make casing consistent with other configurationPascal Kuthe2022-10-06
| |
| * make underline_style a seperate optionPascal Kuthe2022-10-01
| | | | | | | | | | | | | | | | | | | | Underline styles are mutally exclusive and overwrite each other. Therefore implementing as an modifier lead to incorrect behaviour when the underline style is overwritten. For backwards compatability the "underline" modified is retained (but deprecated). Instead the "underline_style" and "underline_color" optios should be used to style underlines.
| * Update theme documentationA-Walrus2022-10-01
| |
* | Fix link to textobjects usage from keymap documentation (#4357)Peter Phillips2022-10-19
| |
* | Change diagnostic picker keybind to <space>d (#4229)Gokul Soumya2022-10-17
| | | | | | | | | | | | | | Also changes workspace diagnostic picker bindings to <space>D and changes the debug menu keybind to <space>g, the previous diagnostic picker keybind. This brings the diagnostic picker bindings more in line with the jump to next/previous diagnostic bindings which are currently on ]d and [d.
* | Show keys required to enter each minor mode (#4302)Ben White-Horne2022-10-16
| | | | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* | fix `:insert-output` doc: inserting output **before** each selection (#4286)ZJPzjp2022-10-15
| |
* | Add support for Purescript language (#4242)Dario Oddenino2022-10-14
| |
* | book: Refer to keys by key names, not representationsTim Siegel2022-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an attempt to clean up the inconsistent way that keys are written in various places. These rules require the fewest changes to the existing text. Use the "Key name", as defined in remapping.md, which uses "Some-Modifiers-PascalCaseKey". The "Representation", which uses "S-M-lowercasekey", is only used for configuration entries. For key combinations which do not present a popup, just present the keys one after the other, with no intervening space, like `]p`. For key combinations which present a popup, separate them with ` + `, like `Space + f`. The Ctrl modifier is called Ctrl, not Control.
* | Update tree-sitter-lua and add textobjects for Lua (#3552)Lennard Hofmann2022-10-12
| |
* | Rename extend indent captures.Daniel Ebert2022-10-11
| | | | | | | | Clarify comments in indent code.
* | Slightly change the behavior of the `@stop-extend` capture.Daniel Ebert2022-10-11
| | | | | | | | This improves the behavior in case of multiple nested extensions.
* | Add python indentation support to docs.Triton1712022-10-11
| | | | | | | | Document @extend-indented and @stop-extend captures for indent queries.
* | remove filterting with C-space from pickerPascal Kuthe2022-10-11
| |
* | Add some vertical characters to the editor.indent-guides documentation (#4163)Sumit Sahrawat2022-10-10
| | | | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* | Add instructions for gnome desktop support using the `.desktop` file (#4165)David2022-10-10
| |
* | Add cursorcolumn (#4084)A-Walrus2022-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement cursorcolumn * Add documentation * Separate column style from line with fallback * Fallback to cursorcolumn first * Switch to non-fallback try_get_exact Add new function `try_get_exact`, which doesn't perform fallback, and use that instead because the fallback behaviour is being handled manually.
* | Fix incorrect scrolloff default in documentation (#4136)Brandon Dong2022-10-07
| |
* | doc: add theme inheritance example (#4096)Jaden2022-10-04
| |
* | doc: add example to disable arrow keys in insert mode (#4088)Poliorcetics2022-10-04
| |
* | respond to SIGUSR1 by reloading config (#3952)Karsten Gebbert2022-10-03
| | | | | | | | | | * respond to SIGUSR1 by reloading config * document USR1 signal handling
* | Keep arrow and special keys in insert (#3915)Ivan Tham2022-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Keep arrow and special keys in insert Advanced users won't need it and is useful for beginners. Revert part of #3671. * Change text for insert mode section Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Remove ctrl-up/down in insert * Reorganize insert keys and docs * Improve page up experience on last tutor The last tutor page can page down multiple times and it will break the heading on the 80x24 screen paging when reaching the last page, this keeps the style the same and make sure page up and down won't break it. Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* | Add option to skip the first indent guide (#3819)Robin2022-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to skip the first indent guide * reorder skip_first option * change indent-guides.skip_first to a number * rename skip -> skip_levels * add skip_levels to the book * Update book/src/configuration.md Co-authored-by: A-Walrus <58790821+A-Walrus@users.noreply.github.com> * Update helix-term/src/ui/editor.rs Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Robin <robinvandijk@klippa.com> Co-authored-by: A-Walrus <58790821+A-Walrus@users.noreply.github.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* | Rename I/A "Insert at start/end of line" (#3753)Michael Davis2022-10-03
| | | | | | | | | | | | | | | | | | | | | | * keymap: Rename A "Insert at end of line" The language for the `A` binding is potentially confusing because `A` behaves like `i` done at the end of the line rather than `a`. This change renames the command to match Kakoune's language[^1]. [^1]: https://github.com/mawww/kakoune/blob/021da117cf90bf25b65e3344fa8e43ab4262b714/src/normal.cc#L2229 * keymap: Rename I `insert_at_line_start`
* | Select inserted space after join (#3549)Ivan Tham2022-10-03
| | | | | | | | | | | | | | | | | | * Select inserted space after join * Split join_selections with space selection to A-J Kakoune does that too and some users may still want to retain their selections. * Update join_selections docs
* | feat(statusline): add option to show total line numbers in file (#3960)Joshua Pauline2022-10-03
| | | | | | | | | | * feat(statusline): add option to show total line numbers in file * feat(line numbers): add config to doc book
* | Add configureable statusline mode names (#3311)PeepNSheep2022-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 'long-mode' statusline element * Added customizable statusline mode names * Removed a string clone * Added documentation * Updated documentation, moved modenames to a seperate section * Update configuration.md * Documentation update * Documentation update * Documentation update * Update configuration.md * Update configuration.md * Fixed merge error * Update configuration.md * Update configuration.md
* | Add `ui.gutter.selected` option for themes (#3303)ChrHorn2022-10-03
|/ | | | | * add `ui.gutter.selected` * add `ui.gutter`, `ui.gutter.selected` to docs
* Add support for webassembly text format (#4040)Roberto Vidal2022-10-01
|
* Add documentation for `max-line-length` (#3974)Oskar Köök2022-09-26
|
* Fix the picker’s keymap documentation (#3925)taupiqueur2022-09-21
|
* add :lsp-restart command (#3435)Filipe Azevedo2022-09-20
|
* feat: xtask themelint (#3234)Alexander Brevig2022-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: cargo xtask themelint <theme> * fix: add docs and print json error status * fix: refactor paths -> path * fix: remove unused function * fix: only report one err per scope (ui.statusline is reported if none of ui.statusline.* is recognized) * fix: save work for later * fix: finally decided on a design * fix: ready for discussion * fix: better rules * fix: lint precision * fix: String -> &'static str * fix: allowlist not denylist for file type * fix: add missing and indication of what's needed * fix: copy pasteable errors * fix: use Loader:read_names * Update xtask/src/helpers.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix: remove into and clone for str * Update book/src/themes.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix: better lint output * fix: cleaner logic for lint reporting * style: use explicit imports * Pascal support (#3542) * fix: add difference check for statusline normal,insert,select * fix: fg for whitespace and early exit if and one is ok * chore: cleaning up, no idea how these got here or how this will look * chore: revert from older commit? * refactor: use static fn to equalize api between difference and existance * refactor: querycheck and clippy * refactor: clippy fixes * fix: query-check behaves as before * fix: error with x of y message, not total count * fix: consistent reporting and less mutable state * fix: selection difference ref #3942 ref #1833 Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: ath3 <45574139+ath3@users.noreply.github.com>
* add `bass` language + highlighting (#3771)Alex Suraci2022-09-18
|
* Add Markdown LSP via MarksmanArtem Pyanykh2022-09-17
| | | | | | Marksman is an LSP server for Markdown: https://github.com/artempyanykh/marksman It supports a bunch of LSP features: symbols, references, rename, diag, etc. and already has integrations with emacs, neovim, and vscode.
* Fix typos (#3858)taupiqueur2022-09-17
|