aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | Fix line-wise `p` pasting before the current line instead of after.Nathan Vegdahl2021-07-20
| | | | | |
| * | | | | Fix incorrect line hihglight when a selection is at the end of a line.Nathan Vegdahl2021-07-20
| | | | | |
| * | | | | Make search work a little nicer when there are already selections.Nathan Vegdahl2021-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, if you have text like "aaaaaaaaa" and you search for "a", the new behavior will actually progress through all of the "a"s, whereas the previous behavior would be stuck on a single one.
| * | | | | Fix `Selection::push()` to make the pushed range primary.Nathan Vegdahl2021-07-20
| | | | | | | | | | | | | | | | | | | | | | | | Apparently I accidentally deleted that behavior in the cleanup.
| * | | | | Fix extend line behavior.Nathan Vegdahl2021-07-20
| | | | | |
| * | | | | Handle edge case in `range_to_target()` correctly.Nathan Vegdahl2021-07-19
| | | | | |
| * | | | | Fixed primary cursor position calculation to use 1-width semantics.Nathan Vegdahl2021-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
| * | | | | Properly fix `last_line` view calculation.Nathan Vegdahl2021-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turned out to be simpler than I thought. Didn't even need to change the other use-sites.
| * | | | | Fix last line number being drawn in the status bar.Nathan Vegdahl2021-07-19
| | | | | |
| * | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-19
| |\ \ \ \ \
| * | | | | | Update word selection/navigation to work with gap indexing.Nathan Vegdahl2021-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also tweaked some of the existing behavior that seemed inconsistent and/or buggy. It's mostly identical, just a few corner cases are different.
| * | | | | | Update extend_line command to work with gap indexing.Nathan Vegdahl2021-07-17
| | | | | | |
| * | | | | | Update change-case commands to work with gap indexing.Nathan Vegdahl2021-07-17
| | | | | | |
| * | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
| |\ \ \ \ \ \
| * | | | | | | Update surround commands to work with gap indexing.Nathan Vegdahl2021-07-08
| | | | | | | |
| * | | | | | | Implement `Range::put()` which manages range movements and extensions.Nathan Vegdahl2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this wraps the annoying logic involved in keeping the cursor width to 1 grapheme.
| * | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-06
| |\ \ \ \ \ \ \
| * | | | | | | | Make vertical selection movement work properly.Nathan Vegdahl2021-07-06
| | | | | | | | |
| * | | | | | | | Make horizontal selection movement work properly.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Fix empty document test.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Make new documents empty, rather than starting with a line ending.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Allow last line in file to lack a line break character.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Fix a couple additional `unused` warnings after merge.Nathan Vegdahl2021-07-02
| | | | | | | | |
| * | | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-02
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Ensure a minimum selection width on commands that need it.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Make `Selection`'s normalize and transform methods self-consuming only.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Clean up `Selection` to not use so many allocations.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Better validation method APIs for `Range`.Nathan Vegdahl2021-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way they do less work, are more specific to what we actually need, and they compose.
| * | | | | | | | | Add `Range` methods for various kinds of validation.Nathan Vegdahl2021-07-01
| | | | | | | | | |
| * | | | | | | | | Change the `Range` type and associated functions to gap indexing.Nathan Vegdahl2021-07-01
| | | | | | | | | |
* | | | | | | | | | Refactor case where key event is solely a characterGokul Soumya2021-07-29
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Fix goto line numberGokul Soumya2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from #454. Go to line 10 with `10gg` or `10G`.
* | | | | | | | | Quite edit pageIvan Tham2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Stolen from https://github.com/rust-lang/wg-async-foundations/pull/225
* | | | | | | | | Show pending keys in status line (#515)Gokul Soumya2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show pending keys and counts in status line * Refactor pending key display
* | | | | | | | | Update keyboard.rs (#516)Rust & Python2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix doc comment typo
* | | | | | | | | Bump futures-executor from 0.3.15 to 0.3.16dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.16. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.16) --- updated-dependencies: - dependency-name: futures-executor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump tokio from 1.8.2 to 1.9.0dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.2 to 1.9.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.2...tokio-1.9.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump jsonrpc-core from 17.1.0 to 18.0.0dependabot[bot]2021-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc) from 17.1.0 to 18.0.0. - [Release notes](https://github.com/paritytech/jsonrpc/releases) - [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-core-17.1.0...v18.0.0) --- updated-dependencies: - dependency-name: jsonrpc-core dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | | Bump futures-util from 0.3.15 to 0.3.16dependabot[bot]2021-07-27
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.16. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.16) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | | Allow multi key remappings in config file (#454)Gokul Soumya2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use tree like structure to store keymaps * Allow multi key keymaps in config file * Allow multi key keymaps in insert mode * Make keymap state self contained * Add keymap! macro for ergonomic declaration * Add descriptions for editor commands * Allow keymap! to take multiple keys * Restore infobox display * Fix keymap merging and add infobox titles * Fix and add tests for keymaps * Clean up comments and apply suggestions * Allow trailing commas in keymap! * Remove mode suffixes from keymaps * Preserve order of keys when showing infobox * Make command descriptions smaller * Strip infobox title prefix from items * Strip infobox title prefix from items
* | | | | | | | fix: change primary cursor color in bogster themegbaranski2021-07-26
| | | | | | | |
* | | | | | | | Fix append newline indentIvan Tham2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #492
* | | | | | | | Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation is similar to kakoune: we store the entries into a register.
* | | | | | | | rust: Indent multi line call expressions one level deeperBlaž Hrastnik2021-07-26
| | | | | | | |
* | | | | | | | Improve rust indentation queriesBlaž Hrastnik2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if/if let are already handled by block, and keeping these scopes would indent else blocks one level too far.
* | | | | | | | Determine whether to use a margin of 0 or 1 when uncommenting (#476)Omnikar2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `margin` calculation for uncommenting * Move `margin` calculation to `find_line_comment` * Fix comment bug with multiple selections on a line * Fix `find_line_comment` test for new return type * Generate a single vec of lines for comment toggle `toggle_line_comments` collects the lines covered by all selections into a `Vec`, skipping duplicates. `find_line_comment` now returns the lines to operate on, instead of returning the lines to skip. * Fix test for `find_line_comment` * Reserve length of `to_change` instead of `lines` The length of `lines` includes blank lines which will be skipped, and as such do not need space for a change reserved for them. `to_change` includes only the lines which will be changed. * Use `token.chars().count()` for token char length * Create `changes` with capacity instead of reserving * Remove unnecessary clones in `test_find_line_comment` * Add test case for 0 margin comments * Add comments explaining `find_line_comment`
* | | | | | | | fix(term): undo-ing code actionsGokul Soumya2021-07-25
| | | | | | | |
* | | | | | | | fix(term): use existing implementation of edits_to_transactiongbaranski2021-07-25
| | | | | | | |
* | | | | | | | build(nix): fix build issuesYusuf Bera Ertan2021-07-25
| | | | | | | |
* | | | | | | | Add missing keybinds to docsGokul Soumya2021-07-24
| | | | | | | |