Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Movement fixes, refactor and unit test suite (#217) | PabloMansanet | 2021-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: Handle `t<ENTER>` as till newline | Wojciech Kępka | 2021-06-11 | |
| | ||||
* | move to first nonwhitespace on shift-i | Robin van Dijk | 2021-06-10 | |
| | | | | This matches the behaviour in vim and kak | |||
* | Fix jump behavior, goto_implementation now jump | Ivan Tham | 2021-06-10 | |
| | | | | | Better jump behavior since we override the first jump if it's on the first document. At the same time, ctrl-i is now working with gd jumps. | |||
* | Support go to line 1 | Zheming Li | 2021-06-08 | |
| | ||||
* | Make `r<ENTER>` work | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Remove unwanted `as_str` | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Don't replace newlines | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Add bounds checks to replace | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | commands: Replace all characters in selection | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Cleanup find_first_non_whitespace_char funcs | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | commands: Add goto first non-whitespace char of line | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Fix Unicode (#135) | Kirawi | 2021-06-08 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * init * wip * wip * fix unicode break * fix unicode break * Update helix-core/src/transaction.rs Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu> * clippy * fix * add changes * added test * wip * wip * wip * wip * fix * fix view * fix #88 Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu> | |||
* | commands: Add replace with yanked as `R` | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | ui: completion: Use the correct type_name | Blaž Hrastnik | 2021-06-07 | |
| | | | | Fixes #166 | |||
* | Make gh/gl extend selection in select mode | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | Implement register selection | Benoît CORTIER | 2021-06-07 | |
| | | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`. | |||
* | lsp: Provide workspace root on client.initialize() | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | View mode: Use saturating_sub when calculating first_col | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | commands: use chars().count() over .len() on strings | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | Add diagnostics keybindings | Wojciech Kępka | 2021-06-07 | |
| | ||||
* | Add spc w w for window mode | Ivan Tham | 2021-06-07 | |
| | ||||
* | Add ctrl-w in insert mode | Ivan Tham | 2021-06-06 | |
| | | | | | It seemed to panic when I pressed too many times, but that is from lsp side. | |||
* | Add window mode | Ivan Tham | 2021-06-06 | |
| | | | | Fix #93 | |||
* | fix: make find_prev_char and till_prev_char work | ahkrr | 2021-06-05 | |
| | | | | | | Bevore this PR `commands::find_prev_char` and `commands::till_prev_char` were triggerable through keys but `seach::find_nth_next()` was hardcoded in `_find_char`. The passed `fn` was nerver used. With this PR the passed `fn` is used. The change in search.rs resolves an off by one error in the behivor of `find_nth_prev` | |||
* | Fixing Multiple Panics (#121) | Kirawi | 2021-06-05 | |
| | | | | | | | * init * wip * wip | |||
* | Add home-end keymaps, (as kakoune/vim do) (#83) | Antoni Stevenet | 2021-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/gl | notoria | 2021-06-04 | |
| | ||||
* | Implement gt/gm/gb, remap goto tYpe to gy | Blaž Hrastnik | 2021-06-04 | |
| | ||||
* | scroll: Fix the clamping | Blaž Hrastnik | 2021-06-04 | |
| | ||||
* | Exit select mode on delete_selection | Blaž Hrastnik | 2021-06-04 | |
| | ||||
* | Limit goto count | Kevin Sjöberg | 2021-06-03 | |
| | | | | | Giving a goto count greater than the number of lines in the buffer would cause Helix to panic. | |||
* | Avoid theoretical underflow. | Jakub Bartodziej | 2021-06-03 | |
| | ||||
* | Clean up leftover log. | Jakub Bartodziej | 2021-06-03 | |
| | ||||
* | Improve on the fix for deleting from the end of the buffer. | Jakub Bartodziej | 2021-06-03 | |
| | ||||
* | Disable deleting from an empty buffer which can cause a crash. | Jakub Bartodziej | 2021-06-03 | |
| | ||||
* | Support ctrl-f and ctrl-b to page up/down, fixes #41 | Blaž Hrastnik | 2021-06-02 | |
| | ||||
* | Fix empty command cause panic | Daichi Takamiya | 2021-06-02 | |
| | ||||
* | Allow setting a filepath on :write | Blaž Hrastnik | 2021-06-01 | |
| | ||||
* | Don't crash if no filename specified on open | Blaž Hrastnik | 2021-06-01 | |
| | ||||
* | Format document on save | Blaž Hrastnik | 2021-05-29 | |
| | ||||
* | Update deps, introduce the new tree-sitter lifetimes | Blaž Hrastnik | 2021-05-27 | |
| | ||||
* | Support count for indent too | Blaž Hrastnik | 2021-05-18 | |
| | ||||
* | Fix unindent to work with tabs, take a count | Blaž Hrastnik | 2021-05-18 | |
| | ||||
* | Drop selection_lines completely, change move_line_start binding | Blaž Hrastnik | 2021-05-18 | |
| | ||||
* | Fix crash if appending at end of line on the last line of the file | Blaž Hrastnik | 2021-05-18 | |
| | ||||
* | Append :fmt as a separate history state | Blaž Hrastnik | 2021-05-18 | |
| | ||||
* | Fix crash if typing | (regex or) into the prompt. | Blaž Hrastnik | 2021-05-16 | |
| | | | | Zero-width matches at the start of the file make no sense to us. | |||
* | Use array::IntoIter. | Blaž Hrastnik | 2021-05-15 | |
| | ||||
* | Fix crash on xa<Enter> if we were on the last line. | Blaž Hrastnik | 2021-05-15 | |
| |