aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/mod.rs
Commit message (Collapse)AuthorAge
* dap: Remove the prompt line parameter, use insert_str insteadBlaž Hrastnik2021-11-22
|
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-21
|\
| * Restore screen position when abort search (#1047)Ivan Tham2021-11-10
| |
* | Make picker take the whole context, not just editorBlaž Hrastnik2021-11-07
| |
* | Merge branch 'master' into debugBlaž Hrastnik2021-11-06
|\|
| * 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>
| * First stab at ignoring compressed files from picker (#767)Daniel S Poulin2021-10-22
| |
* | Merge branch 'master' into debugDmitry Sharshakov2021-09-25
|\|
| * Initial implementation of global search (#651)Leoi Hung Kin2021-09-21
| | | | | | | | | | | | | | | | | | | | | | * initial implementation of global search * use tokio::sync::mpsc::unbounded_channel instead of Arc, Mutex, Waker poll_fn * use tokio_stream::wrappers::UnboundedReceiverStream to collect all search matches * regex_prompt: unified callback; refactor * global search doc
| * enable smart case regex search by default (#761)kraem2021-09-20
| |
| * Regex prompts should have a history with a specifiable registerBlaž Hrastnik2021-09-08
| |
* | Add command for editing breakpoint conditionDmitry Sharshakov2021-09-04
|/
* ui: prompt: Avoid allocating a prompt name if it's a static stringBlaž Hrastnik2021-08-31
|
* Show hidden files in filename completer (#648)Stuart Hinson2021-08-26
| | | also removes unnecessary clone
* Move path util functions from helix-term to helix-core (#650)Kirawi2021-08-25
|
* minor: Refactor commands.rs a bit moreBlaž 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
* config: Rename [terminal] to [editor] and pass it into EditorBlaž Hrastnik2021-08-08
|
* Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | Implementation is similar to kakoune: we store the entries into a register.
* Add infoboxIvan Tham2021-07-04
|
* 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.
* Sort the files in descending orderBlaž Hrastnik2021-06-28
|
* Address nightly clippy warningsBlaž Hrastnik2021-06-27
|
* Sort files in file picker by access, modification and creation date (#336)Wojciech Kępka2021-06-26
| | | | | | | | | * Sort files in file picker by access date * Fallback file time to modified then created then UNIX_EPOCH * Use `sort_by_key` * Refactor
* 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>
* Make the prompt callback take a Context.Joe Neeman2021-06-23
|
* Implement change_current_directory commandLionel Flandrin2021-06-22
|
* minor: Remove old TODOsBlaž Hrastnik2021-06-22
|
* Add a `Spinner`wojciechkepka2021-06-21
|
* Add theme completerwojciechkepka2021-06-19
|
* Fix expansion of `~` (#284)Wojciech Kępka2021-06-18
| | | | | | | | | | | | | * Fix expansion of `~`, dont use directory relative to cwd. * Add `expand_tilde` * Bring back `canonicalize_path`, use `expand_tilde` to `normalize` * Make `:open ~` completion work * Fix clippy * Fold home dir into tilde in Document `realitve_path`
* Replace `Editor::current` by a macroBenoît CORTIER2021-06-18
| | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect.
* Remove RwLock for registersBenoît CORTIER2021-06-15
| | | | | | | | Registers are stored inside `Editor` and accessed without `RwLock`. To work around ownership, I added a sister method to `Editor::current`: `Editor::current_with_context`. I tried to modify `Editor::current` directly but it's used at a lot of places so I reverted into this for now at least.
* Only enforce limit outside of .gitKevin Sjöberg2021-06-09
|
* Bump file picker limitKevin Sjöberg2021-06-08
|
* Double the UI picker file limit.Blaž Hrastnik2021-05-18
|
* Define text color (mostly) in theme.toml.Blaž Hrastnik2021-05-07
|
* Command mode: Per command completers.Blaž Hrastnik2021-05-07
|
* lsp: support both utf-8 and utf-16 offsets.Blaž Hrastnik2021-04-14
| | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls.
* Center search results.Blaž Hrastnik2021-04-14
|
* Simplify some code.Blaž Hrastnik2021-04-01
|
* Simplify code by providin cx.current() = (view, doc).Blaž Hrastnik2021-04-01
|
* clippy lintBlaž Hrastnik2021-03-31
|
* Weave through view_id references so that views into one file have ↵Blaž Hrastnik2021-03-31
| | | | independent selects.
* Teach file picker how to find the project root (.git).Blaž Hrastnik2021-03-30
|
* Store intra-files jumps (goto) on the jumplist.Blaž Hrastnik2021-03-29
|
* Wire up opening in splits via pickers.Blaž Hrastnik2021-03-29
|
* Filter the completion menu based on text entered.Blaž Hrastnik2021-03-27
|
* Restore buffer_picker.Blaž Hrastnik2021-03-24
|