summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/prompt.rs
Commit message (Collapse)AuthorAge
* Fix moving with arrow keys in prompt (#1070)ath32021-11-11
|
* Refactor keyevent handling using key, ctrl macros (#1058)Gokul Soumya2021-11-10
| | | | | | Adds ctrl! and alt! macros (which existed before the big keymap refactor) and uses them in event handling of Components. Note that this converts crossterm's KeyEvent to our own KeyEvent on each invocation of handle_event in Components.
* add <C-h>, <C-u>, <C-d>, Delete in prompt mode (#1034)Bob2021-11-09
|
* Add WORD textobject (#991)Omnikar2021-11-08
| | | | | * Add WORD textobject * Document WORD textobject
* Add c-s to pick word under doc cursor to prompt line & search completion (#831)CossonLeo2021-11-04
| | | | | | | | | | | | | | | * Add prompt shourtcut to book Add completions to search Add c-s to pick word under doc cursor to prompt line * limit 20 last items of search completion, update book * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * limit search completions 200 Co-authored-by: Ivan Tham <pickfire@riseup.net>
* fix: When cycling through prompt history, update event needs to triggerBlaž Hrastnik2021-10-27
|
* ui: prompt: Avoid allocating a prompt name if it's a static stringBlaž Hrastnik2021-08-31
|
* ui: prompt: Fix typing with altBlaž Hrastnik2021-08-27
|
* ui: Refactor styling a bit, ensure infobox is stylableBlaž Hrastnik2021-08-20
|
* Show file preview in split pane in fuzzy finder (#534)Gokul Soumya2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add preview pane for fuzzy finder * Fix picker preview lag by caching * Add picker preview for document symbols * Cache picker preview per document instead of view * Use line instead of range for preview doc * Add picker preview for buffer picker * Fix render bug and refactor picker * Refactor picker preview rendering * Split picker and preview and compose The current selected item is cloned on every event, which is undesirable * Refactor out clones in previewed picker * Retrieve doc from editor if possible in filepicker * Disable syntax highlight for picker preview Files already loaded in memory have syntax highlighting enabled * Ignore directory symlinks in file picker * Cleanup unnecessary pubs and derives * Remove unnecessary highlight from file picker * Reorganize buffer rendering * Use normal picker for code actions * Remove unnecessary generics and trait impls * Remove prepare_for_render and make render mutable * Skip picker preview if screen small, less padding
* Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | Implementation is similar to kakoune: we store the entries into a register.
* fix: Only try expanding directory completion if it makes senseBlaž Hrastnik2021-07-23
| | | | Fixes #487
* Fix unused variable, parameter, and `mut` warnings in helix-term.Nathan Vegdahl2021-07-02
|
* Remove #[allow(unused)] from helix-term, and fix unused imports.Nathan Vegdahl2021-07-02
| | | | Lots of other warning still left. Will address in subsequent commits.
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* ui: Paginate prompt completionBlaž Hrastnik2021-06-23
|
* Fix small screen panicsBlaž Hrastnik2021-06-23
|
* Make the prompt callback take a Context.Joe Neeman2021-06-23
|
* ui: prompt: Add more keymappingsBlaž Hrastnik2021-06-20
|
* Re-export unicode crates from helix_coreBlaž Hrastnik2021-06-20
|
* ui: prompt: Better unicode supportBlaž Hrastnik2021-06-20
| | | | | We copied over eval_movement from wezterm, that already solves most of our problems. self.cursor is now byte-based.
* Fix panic when entering unicode in command promptBenoît CORTIER2021-06-18
| | | | | | | It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes https://github.com/helix-editor/helix/issues/282
* Add cursor kind to separate hidden cursor from posIvan Tham2021-06-15
| | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor.
* Add filter ability to pickerIvan Tham2021-06-15
| | | | Inspired by doom emacs. Able to filter picker options multiple times.
* Add ctrl-w for promptIvan Tham2021-06-14
|
* ui: Prompt should figure out a reasonable column widthBlaž Hrastnik2021-06-13
| | | | | Fixes #192 Refs #225
* Add `Copy` derive to `PromptEvent`Wojciech Kępka2021-06-13
|
* commands: Add more write commandsWojciech Kępka2021-06-13
|
* Fix crash when too many completions availableBlaž Hrastnik2021-06-08
| | | | Refs #81
* Refactor index assignmentKevin Sjöberg2021-06-06
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Allow moving backwards in completionsKevin Sjöberg2021-06-06
|
* Trigger directory completion upon pressing EnterKevin Sjöberg2021-06-06
|
* Fixing Multiple Panics (#121)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* Fix split sizes getting out of sync with the terminal size, refs #69Blaž Hrastnik2021-06-03
|
* Change help prompt stylingBlaž Hrastnik2021-06-01
|
* Fix cursor positioning for promptsBlaž Hrastnik2021-05-28
|
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|
* Replace the Clear widget with buffer.clear/clear_with.Blaž Hrastnik2021-05-09
|
* Simplify the compositor callback.Blaž Hrastnik2021-05-09
|
* clippy lintBlaž Hrastnik2021-05-08
|
* ui: Render command mode doc text if available.Blaž Hrastnik2021-05-08
|
* Define text color (mostly) in theme.toml.Blaž Hrastnik2021-05-07
|
* Simplify prompt autocompletion rendering code.Blaž Hrastnik2021-05-07
|
* clippy lintBlaž Hrastnik2021-05-06
|
* clippy: Drop or-patterns for now because they're not on stable rust yetBlaž Hrastnik2021-04-06
|
* clippy lintBlaž Hrastnik2021-03-31
|
* minor: Remove a few unwraps.Blaž Hrastnik2021-03-26
|
* clippy: Factor out a Completion type.Blaž Hrastnik2021-03-22
|
* Merge some imports.Blaž Hrastnik2021-03-22
|
* Improve completion: src/<tab> will now correctly complete to src/main.rsBlaž Hrastnik2021-03-21
|