aboutsummaryrefslogtreecommitdiff
path: root/book
Commit message (Collapse)AuthorAge
* Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)Omnikar2021-10-28
| | | | | | | | | | | | | | | | | | | * Implement `hx --tutor` and `:tutor` to load `tutor.txt` * Document `hx --tutor` and `:tutor` * Change `Document::set_path` to take an `Option` * `Document::set_path` accepts an `Option<&Path>` instead of `&Path`. * Remove `Editor::open_tutor` and make tutor-open functionality use `Editor::open` and `Document::set_path`. * Use `PathBuf::join` Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add comments explaining unsetting tutor path Co-authored-by: Ivan Tham <pickfire@riseup.net>
* book: Document Alt-. and .Blaž Hrastnik2021-10-24
|
* Add commands for moving between splits with a direction (#860)Oskar Nehlin2021-10-23
| | | | | | | | | * Add commands for moving between splits with a direction * Update keymaps * Change picker mapping * Add test and clean up some comments
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* book: Add a link to tutor.txtBlaž Hrastnik2021-10-23
|
* Fixed incorrect move commands (#894)Rowan H2021-10-22
|
* Typo fix (#893)Rowan H2021-10-22
|
* Add `Alt-,` to `keymap.md`, and replace hard-to-see commas with slashes (#884)Omnikar2021-10-22
| | | | | | | | | | | * Add `A-,` to `keymap.md`, and remove out-of-place commas * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add slashes in place of previous commas in `keymap.md` Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add `C-j` and `C-k` to keybinds for picker (#876)VuiMuich2021-10-19
| | | | | * Add `C-j` and `C-k` for moving down/up in pickers * Add new binds to keymap doc
* Improve completion trigger (#838)CossonLeo2021-10-18
| | | | | | | * improve idle completion trigger * add completion-trigger-len to book * rename semantics_completion to language_server_completion and optimize idle completion trigger
* use special.string.symbol instead of symbolMichael Davis2021-10-17
| | | | this aligns better with how ruby highlights symbols
* align highlight scopes with documented scopesMichael Davis2021-10-17
|
* Make auto-completion a config (#853)Ivan Tham2021-10-16
|
* Merge pull request #821 from helix-editor/idle-timerBlaž Hrastnik2021-10-10
|\ | | | | Idle timer / Autocompletion
| * Make idle-timeout configurableBlaž Hrastnik2021-10-10
| |
* | Update mdbook style and fix unreadable table head (#806)Ivan Tham2021-10-09
|/ | | | | | The styles are now pulled from upstream styles, some of the changes I submitted it back to upstream. Fix #796
* Fix swapped selection rotation docs in `keymap.md` (#792)Omnikar2021-09-29
|
* experiment: space+k for LSP doc, K for keep_selectionsBlaž Hrastnik2021-09-24
|
* experiment: Move keep_primary_selection to ,Blaž Hrastnik2021-09-24
|
* Add option for automatic insertion of closing-parens/brackets/etc (#779)lurpahi2021-09-24
| | | | | | | | | | | | | | | * Add auto-pair editor option * Document auto-pair editor option * Make cargo fmt happy * Actually make cargo fmt happy * Rename auto-pair option to auto-pairs * Inline a few constants Co-authored-by: miaomai <cunso@tutanota.com>
* Initial implementation of global search (#651)Leoi Hung Kin2021-09-21
| | | | | | | | | | | * initial implementation of global search * use tokio::sync::mpsc::unbounded_channel instead of Arc, Mutex, Waker poll_fn * use tokio_stream::wrappers::UnboundedReceiverStream to collect all search matches * regex_prompt: unified callback; refactor * global search doc
* enable smart case regex search by default (#761)kraem2021-09-20
|
* Document `diagnostic` theme scope (#751)Gokul Soumya2021-09-13
|
* Add `no_op` command (#743)Omnikar2021-09-13
| | | | | * Add `no_op` command * Document `no_op` in `remapping.md`
* feat: Sticky view mode with Z (#719)Gokul Soumya2021-09-10
|
* Improve docs, fix up a few highlight scopesBlaž Hrastnik2021-09-07
|
* fix: Merge default palette with user paletteGokul Soumya2021-09-05
|
* feat: Default theme palette using 16 terminal colorsGokul Soumya2021-09-05
|
* add_newline unimpaired mapping (#653)oberblastmeister2021-09-01
| | | | | | | | | | | | | | | | | | | * added some keymaps * remove * remove wrong mappings * remove * wrong import * use enum * correct line ending * added to book * column
* Reimplement keep-pipe, it needs to manipulate selections, not textBlaž Hrastnik2021-09-01
|
* Shell commands (#547)Omnikar2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement shell interaction commands * Use slice instead of iterator for shell invocation * Default to `sh` instead of `$SHELL` for shell commands * Enforce trailing comma in `commands` macro * Use `|` register for shell commands * Move shell config to `editor` and use in command * Update shell command prompts * Remove clone of shell config * Change shell function names to match prompts * Log stderr contents upon external command error * Remove `unwrap` calls on potential common errors `shell` will no longer panic if: * The user-configured shell cannot be found * The shell command does not output UTF-8 * Remove redundant `pipe` parameter * Rename `ShellBehavior::None` to `Ignore` * Display error when shell command is used and `shell = []` * Document shell commands in `keymap.md`
* Add ui.menu text style (#664)CossonLeo2021-08-28
| | | | | | | | | * add menu text style * add ui.menu.text ui.info ui.info.text to book * change ui.menu.text to ui.menu * fix book's ui.menu
* Fix missing backtick in `keymap.md`Omnikar2021-08-27
|
* Add `Command` column to keymap documentation (#662)Omnikar2021-08-27
|
* Add docs for registers, multi key remaps (#557)Gokul Soumya2021-08-18
|
* Update configuration.md for Windowssuperlou2021-08-16
| | | Added explicit paths for WIndows, Mac, and Linux based on [`choose_base_strategy`](https://docs.rs/etcetera/0.3.2/etcetera/base_strategy/fn.choose_base_strategy.html)
* Document new keys in book/Blaž Hrastnik2021-08-08
|
* Implement selection rotation with `(` and `)`Blaž Hrastnik2021-08-06
|
* Document C/Alt-C in the keymapBlaž Hrastnik2021-08-05
|
* Update keymap.mdRyo Hirayama2021-08-01
|
* Remove embed_runtime featureBlaž Hrastnik2021-07-30
| | | | It's no longer practical to maintain. Closes #451
* Quite edit pageIvan Tham2021-07-28
| | | Stolen from https://github.com/rust-lang/wg-async-foundations/pull/225
* Add missing keybinds to docsGokul Soumya2021-07-24
|
* Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
* Rewritten Rust `highlights.scm` (#425)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrote Rust highlights.scm * wip * wip * wip * wip * fixed type highlighting * wip * rewrite again * moved operators * missing newline * missing newline * update book * fix constructor highlighting * fix constructor highlighting * fix const highlighting * better constructor highlighting * remove dup, bug was my locals.scm file * fixed docs * merge * fixed for highlighting * add yield * remove yield * added yield back * fixed yield highlighting * unecessary
* VSCode Dark+ Theme (#414)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Add VSCode Dark+ Theme wip wip wip wip wip wip properly detect constants add bool wip * suggestion * add variant for c/c++ * fix hexcode error * removed regex highlight * fixed constant higlighting * wip * add space * add suggestions * update theme * update book * suggestions * fix c/c++ enum * update book
* Implement `X` as extend selection to line boundsBlaž Hrastnik2021-07-05
|
* Add missing linenr.selected key to docsGokul Soumya2021-07-03
|
* Add object selection (textobjects) (#385)Gokul Soumya2021-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add textobjects for word * Add textobjects for surround characters * Apply clippy lints * Remove ThisWordPrevBound in favor of PrevWordEnd It's the same as PrevWordEnd except for taking the current char into account, so use a "flag" to capture that usecase * Add tests for PrevWordEnd movement * Remove ThisWord* movements They did not preserve anchor positions and were only used for textobject boundary search anyway so replace them with simple position finding functions * Rewrite tests of word textobject * Add tests for surround textobject * Add textobject docs * Refactor textobject word position functions * Apply clippy lints on textobject * Fix overflow error with textobjects
* Color palettes (#393)Jakub Bartodziej2021-06-30
| | | | | | | | | | | | | | | | | | | * Enable using color palettes in theme files. * Add an example theme defined using a gruvbox color palette. * Fix clippy error. * Small style improvement. * Add documentation for the features to themes.md. * Update runtime/themes/gruvbox.toml Fix the value of purple0. Co-authored-by: DrZingo <DrZingo@users.noreply.github.com> Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>