Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Update surround commands to work with gap indexing. | Nathan Vegdahl | 2021-07-08 |
| | |||
* | Implement `Range::put()` which manages range movements and extensions. | Nathan Vegdahl | 2021-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_cleanup | Nathan Vegdahl | 2021-07-06 |
|\ | |||
| * | julia language-server line was plain wrong | wesh | 2021-07-05 |
| | | |||
| * | Add julia support (LSP not working) | wesh | 2021-07-05 |
| | | |||
| * | Fix phantom lines in some CRLF files. | Nathan Vegdahl | 2021-07-05 |
| | | | | | | | | | | | | | | Fixes #415. The issue was that cursor highlighting wasn't extending to encompass the entire CRLF grapheme, and therefore ended up splitting it. This presumably was messing up other grapheme rendering as well, and this fixes that as well. | ||
| * | appease clippy | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | fix: Make path absolute before normalizing | Blaž Hrastnik | 2021-07-05 |
| | | | | | | | | :open ../file.txt failed before because .. would be stripped | ||
| * | fix: When calculating relative path, expand tilde last | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | Remove outdated comment | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | Implement `X` as extend selection to line bounds | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | Fix info panic on small terminal | Ivan Tham | 2021-07-04 |
| | | |||
| * | Factor out goto t/m/b into a single function again | Blaž Hrastnik | 2021-07-04 |
| | | |||
| * | Revert back to 'gm' | Blaž Hrastnik | 2021-07-04 |
| | | | | | | | | top / middle / bottom mnemonic. | ||
| * | Info box add horizontal padding | Ivan Tham | 2021-07-04 |
| | | |||
| * | Goto mode use infobox | Ivan Tham | 2021-07-04 |
| | | | | | | | | | | In the meantime, change gm to gc. Remove extra space in mode title. | ||
| * | Reduce calculation and improve pattern in infobox | Ivan Tham | 2021-07-04 |
| | | | | | | | | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match | ||
| * | Support infobox doc gen on stable release | Ivan Tham | 2021-07-04 |
| | | |||
| * | Add infobox doc generation and improve ergonomics | Ivan Tham | 2021-07-04 |
| | | |||
| * | Fix rendering issues for infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Apply suggestions from blaz for infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Suggestions for infobox changes | Ivan Tham | 2021-07-04 |
| | | | | | | Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu> | ||
| * | Add infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Fix typo on comment in surround | Ivan Tham | 2021-07-03 |
| | | |||
| * | Fix surround bug when cursor on same pair | Gokul Soumya | 2021-07-03 |
| | | | | | | | | | | | | For example when the cursor is _on_ the `'` in `'word'`, the cursor wouldn't move because the search for a matching pair started _from_ the position of the cursor and simply found itself. | ||
| * | Add missing linenr.selected key to docs | Gokul Soumya | 2021-07-03 |
| | | |||
| * | Update onedark theme | Gokul Soumya | 2021-07-03 |
| | | | | | | | | | | Add colors for matching brace, non primary selections, inactive statusline | ||
| * | fix: Temporary fix for #402 | Blaž Hrastnik | 2021-07-03 |
| | | |||
| * | Add object selection (textobjects) (#385) | Gokul Soumya | 2021-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 | ||
| * | `:reload` (#374) | Kirawi | 2021-07-02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change | ||
| * | Add missing import | Perry Thompson | 2021-07-02 |
| | | |||
* | | Make vertical selection movement work properly. | Nathan Vegdahl | 2021-07-06 |
| | | |||
* | | Make horizontal selection movement work properly. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Fix empty document test. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Make new documents empty, rather than starting with a line ending. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Fix a couple additional `unused` warnings after merge. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-02 |
|\| | |||
| * | Fixed last `unused` warning. | Nathan Vegdahl | 2021-07-02 |
| | | |||
| * | Fix one of the two remaining warnings. | Nathan Vegdahl | 2021-07-02 |
| | | | | | | | | One of them was a lot more obvious than I thought. | ||
| * | Fix all remaining warnings in helix-core except for two. | Nathan Vegdahl | 2021-07-02 |
| | | | | | | | | | | I'm not sure how to address them, because they look like they might be bugs, and code is involved. Will poke the relevant people. | ||
| * | Remove #[allow(unused)] from helix-core, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | | | | | Still a bunch more warnings to fix in core, but it's a start. | ||
| * | Fix unused `Result` warnings in helix-term. | Nathan Vegdahl | 2021-07-02 |
| | | |||
| * | Fix unused variable, parameter, and `mut` warnings in helix-term. | Nathan Vegdahl | 2021-07-02 |
| | | |||
| * | Remove #[allow(unused)] from helix-term, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | | | | | Lots of other warning still left. Will address in subsequent commits. | ||
* | | Ensure a minimum selection width on commands that need it. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Make `Selection`'s normalize and transform methods self-consuming only. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Clean up `Selection` to not use so many allocations. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Better validation method APIs for `Range`. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-07-01 |
| | |