summaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
Commit message (Collapse)AuthorAge
* 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.
* Add :fmt (formats the whole file).Blaž Hrastnik2021-05-12
|
* Simplify the compositor callback.Blaž Hrastnik2021-05-09
|
* Fix jumplist jumps, keep the selection on vsplit.Blaž Hrastnik2021-05-08
|
* Remove some of the panics, just log instead.Blaž Hrastnik2021-05-08
|
* ui: Render command mode doc text if available.Blaž Hrastnik2021-05-08
|
* Show a message if no definition was found.Blaž Hrastnik2021-05-08
|
* Extract a method for view alignment.Blaž Hrastnik2021-05-08
|