aboutsummaryrefslogtreecommitdiff
path: root/book
Commit message (Collapse)AuthorAge
* 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>
* Update keymap.mdPabloMansanet2021-06-29
|
* Refactor, add `ui.cursor.primary`wojciechkepka2021-06-23
|
* Add ability to theme primary selecitionwojciechkepka2021-06-23
|
* Update docswojciechkepka2021-06-23
|
* fix: Docs, `select_line` -> `extend_line`wojciechkepka2021-06-23
|
* Add repology.org packaging statusBlaž Hrastnik2021-06-22
|
* Add documentation for surroundGokul Soumya2021-06-22
|
* Update docswojciechkepka2021-06-21
|
* Merge `x` and `X`Blaž Hrastnik2021-06-20
|
* book: document new system clipboard mappingsBenoît CORTIER2021-06-20
|
* Fix docx formatting and linksGokul Soumya2021-06-20
|
* Update docswojciechkepka2021-06-19
|
* Removed unneeded escaping in Markdown docs (#299)rypervenche2021-06-18
|
* Use kebab-case for configwojciechkepka2021-06-18
|
* Add an option to disable display of progress in status barwojciechkepka2021-06-18
|
* Fix typos in Markdown documentationPerry Thompson2021-06-17
|
* Add homebrew tap instructions againBlaž Hrastnik2021-06-17
|
* Configurable keys 2 (Mapping keys to commands) (#268)PabloMansanet2021-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Add keycode parse and display methods * Add remapping functions and tests * Implement key remapping * Add remapping book entry * Use raw string literal for toml * Add command constants * Make command functions private * Map directly to commands * Match key parsing/displaying to Kakoune * Formatting pass * Update documentation * Formatting * Fix example in the book * Refactor into single config file * Formatting * Refactor configuration and add keymap newtype wrappers * Address first batch of PR comments * Replace FromStr with custom deserialize
* Add theme key for selected line numberGokul Soumya2021-06-16
| | | | | | | | | | | Adds `ui.linenr.selected` which controls highlight of linu numbes which have cursors on. - Fallback to linenr if linenr.selected is missing - Update docs and themes - Add TODOs for themes with temporary linenr.selected
* Format docs for better readabilityGokul Soumya2021-06-15
| | | | | | - Wrapped appropriate table elements in inline code blocks - Added links to different modes - Capitalised table elements
* Add filter ability to pickerIvan Tham2021-06-15
| | | | Inspired by doom emacs. Able to filter picker options multiple times.
* Add ui.selection to theme.tomlGokul Soumya2021-06-14
| | | | | Enables changing the color of the selection which was previously hard coded.
* add symbol picker (#230)Robin2021-06-12
| | | | | | | | | * add symbol picker use the lsp document_symbol request * fix errors from merging in master * add docs for symbol picker
* add alternate file (#223)Robin2021-06-12
| | | | | | | | | | | | | * add alternate file inspired by vim ctrl-6/kak ga commands. the alternate file is kept per view * apply feedback from #223 * rename to last_accessed * add ga doc * add fail message for ga
* Movement fixes, refactor and unit test suite (#217)PabloMansanet2021-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Test horizontal moves * Add column jumping tests * Add failing movement conditions for multi-word moves * Refactor skip_over_next * Add complex forward movement unit tests * Add strict whitespace checks and edge case tests * Restore formatting * Remove unused function * Add empty test case for deletion and fix nth_prev_word_boundary * Add tests for backward motion * Refactor word movement * Address review comments and finish refactoring backwards move * Finish unit test suite * Fmt pass * Fix lint erors * Clean up diff restoring bad 'cargo fmt' actions * Simplify movement closures (thanks Pickfire) * Fmt pass * Replace index-based movement with iterator based movement, ensuring that each move incurs a single call to the RopeSlice API * Break down tuple function * Extract common logic to all movement functions * Split iterator helpers away into their own module * WIP reducing clones * Operate on spans * WIP simplifying iterators * Simplify motion helpers * Fix iterator * Fix all unit tests * Refactor and simplify * Simplify fold
* commands: Add goto first non-whitespace char of lineWojciech Kępka2021-06-08
|
* Update keymapWojciech Kępka2021-06-08
|
* Add diagnostics keys to keymap.mdBlaž Hrastnik2021-06-07
|
* Add spc w w for window modeIvan Tham2021-06-07
|
* theme: Enable style modifiers in theme.toml, add Ingrid's theme (#113)Ingrid2021-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | * theme: Enable style modifiers in theme.toml * docs: theme documentation * fixup: parse modifiers with filter_map * theme: tests for parse_style * theme: Log invalid cases in theme.toml parse * docs: theme documentation fixup * docs: Blaz's theming comments * docs: Theme doc fixes from pickfire Co-authored-by: Ivan Tham <pickfire@riseup.net> * theme: More context in logs, TODO for alerting users * contrib: Ingrid's theme * docs: Theme subsection fixes Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Apply suggestions from code reviewBrian Dawn2021-06-06
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Provide a feature flag to be able to embed the runtime folder.Brian Dawn2021-06-06
| | | | | | These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary.
* Add window modeIvan Tham2021-06-06
| | | | Fix #93
* Add home-end keymaps, (as kakoune/vim do) (#83)Antoni Stevenet2021-06-05
| | | | | | | | | | | * add home-end keymaps * implement extend methods for extend_line_start, extend_line_end * add home-end mappings to keymaps.md * add ^-$ extend mappings for extend mode * pass cargo linter
* Replace ^/$ with gh/glnotoria2021-06-04
|
* Implement gt/gm/gb, remap goto tYpe to gyBlaž Hrastnik2021-06-04
|
* update keymap.md to include arrow keys for movementAntoni Stevent2021-06-03
|
* Update install notesBlaž Hrastnik2021-06-02
|
* book: Always generate the CNAME fileBlaž Hrastnik2021-06-02
|
* Fixed c/p error in keymap docwullewutz2021-06-01
| | | Go to definition mapping is "gd" not "ge"
* Update mdbook styling, add link to AURBlaž Hrastnik2021-05-30
|
* Drop selection_lines completely, change move_line_start bindingBlaž Hrastnik2021-05-18
|
* Update the book (keymaps).Blaž Hrastnik2021-05-12
|
* Update book css styling.Blaž Hrastnik2021-04-07
|
* Add book/ (mdbook based user guide)Blaž Hrastnik2021-04-05