aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
Commit message (Collapse)AuthorAge
* Fix jump behavior, goto_implementation now jumpIvan Tham2021-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 1Zheming Li2021-06-08
|
* Make `r<ENTER>` workWojciech Kępka2021-06-08
|
* Remove unwanted `as_str`Wojciech Kępka2021-06-08
|
* Don't replace newlinesWojciech Kępka2021-06-08
|
* Add bounds checks to replaceWojciech Kępka2021-06-08
|
* commands: Replace all characters in selectionWojciech Kępka2021-06-08
|
* Cleanup find_first_non_whitespace_char funcsWojciech Kępka2021-06-08
|
* commands: Add goto first non-whitespace char of lineWojciech Kępka2021-06-08
|
* Fix Unicode (#135)Kirawi2021-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ępka2021-06-08
|
* ui: completion: Use the correct type_nameBlaž Hrastnik2021-06-07
| | | | Fixes #166
* Make gh/gl extend selection in select modeBlaž Hrastnik2021-06-07
|
* Implement register selectionBenoît CORTIER2021-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ž Hrastnik2021-06-07
|
* View mode: Use saturating_sub when calculating first_colBlaž Hrastnik2021-06-07
|
* commands: use chars().count() over .len() on stringsBlaž Hrastnik2021-06-07
|
* Add diagnostics keybindingsWojciech Kępka2021-06-07
|
* Add spc w w for window modeIvan Tham2021-06-07
|
* Add ctrl-w in insert modeIvan Tham2021-06-06
| | | | | It seemed to panic when I pressed too many times, but that is from lsp side.
* Add window modeIvan Tham2021-06-06
| | | | Fix #93
* fix: make find_prev_char and till_prev_char workahkrr2021-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)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* 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
|
* scroll: Fix the clampingBlaž Hrastnik2021-06-04
|
* Exit select mode on delete_selectionBlaž Hrastnik2021-06-04
|
* Limit goto countKevin Sjöberg2021-06-03
| | | | | Giving a goto count greater than the number of lines in the buffer would cause Helix to panic.
* Avoid theoretical underflow.Jakub Bartodziej2021-06-03
|
* Clean up leftover log.Jakub Bartodziej2021-06-03
|
* Improve on the fix for deleting from the end of the buffer.Jakub Bartodziej2021-06-03
|
* Disable deleting from an empty buffer which can cause a crash.Jakub Bartodziej2021-06-03
|
* Support ctrl-f and ctrl-b to page up/down, fixes #41Blaž Hrastnik2021-06-02
|
* Fix empty command cause panicDaichi Takamiya2021-06-02
|
* Allow setting a filepath on :writeBlaž Hrastnik2021-06-01
|
* Don't crash if no filename specified on openBlaž Hrastnik2021-06-01
|
* Format document on saveBlaž Hrastnik2021-05-29
|
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|
* Support count for indent tooBlaž Hrastnik2021-05-18
|
* Fix unindent to work with tabs, take a countBlaž Hrastnik2021-05-18
|
* Drop selection_lines completely, change move_line_start bindingBlaž Hrastnik2021-05-18
|
* Fix crash if appending at end of line on the last line of the fileBlaž Hrastnik2021-05-18
|
* Append :fmt as a separate history stateBlaž Hrastnik2021-05-18
|
* Fix crash if typing | (regex or) into the prompt.Blaž Hrastnik2021-05-16
| | | | Zero-width matches at the start of the file make no sense to us.
* Use array::IntoIter.Blaž Hrastnik2021-05-15
|
* Fix crash on xa<Enter> if we were on the last line.Blaž Hrastnik2021-05-15
|
* Drop cx.view_id, it was used before we had cx.current.Blaž Hrastnik2021-05-15
|
* When calculating a new selection, we need to take newly inserted text into ↵Blaž Hrastnik2021-05-15
| | | | account.
* Hacky way to specify indent scopes per language via toml configs.Blaž Hrastnik2021-05-14
| | | | | | | | | Can't do it via a scm query nicely because it returns an iterator over all the matches, whereas we want to traverse the tree ourselves. Can't extract the pattern data from a parsed query either. Oh well, toml files for now.