aboutsummaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
* Prevent preview binary or large file (#939)diegodox2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent preview binary or large file (#847) * fix wrong method name * fix add use trait * update lock file * rename MAX_PREVIEW_SIZE from MAX_BYTE_PREVIEW * read small bytes to determine cotent type * [WIP] add preview struct to represent calcurated preveiw * Refactor content type detection - Remove unwraps - Reuse a single read buffer to avoid 1kb reallocations between previews * Refactor preview rendering so we don't construct docs when not necessary * Replace unwarap whit Preview::NotFound * Use index access to hide unwrap Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * fix Get and unwarp equivalent to referce of Index acess * better preview implementation * Rename Preview enum and vairant Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * fixup! Rename Preview enum and vairant * simplify long match * Center text, add docs, fix formatting, refactor Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* Truncate the starts of file paths instead of the ends in picker (#951)Omnikar2021-11-04
| | | | | | | | | | | | | * Truncate the starts of file paths in picker * Simplify the truncate implementation * Break loop at appropriate point * Fix alignment and ellipsis presence * Remove extraneous usage of `x_offset` Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Hide keys bound to `no_op` from infobox (#971)Omnikar2021-11-04
|
* Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | The issue affected files with lots of tabs at the start as well. Fix #840
* Simplify BTreeSet constructionTriton1712021-11-03
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Implement key ordering for info boxDaniel Ebert2021-11-03
|
* only remove primary index when search next without extend (#948)CossonLeo2021-11-02
|
* build(deps): bump tokio-stream from 0.1.7 to 0.1.8 (#953)dependabot[bot]2021-11-02
| | | | | | | | | | | | | | | | Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.7 to 0.1.8. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.7...tokio-stream-0.1.8) --- updated-dependencies: - dependency-name: tokio-stream dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add arrow-key bindings for window switching (#933)Gygaxis Vainhardt2021-10-30
|
* Extract a clear_completion methodBlaž Hrastnik2021-10-29
|
* Bump lsp-types to 0.91.0 (#932)Ivan Tham2021-10-29
|
* Make match work with extend and multi cursors (#920)Ivan Tham2021-10-29
|
* Support extend for multiple goto (#909)Ivan Tham2021-10-29
| | | gg, ge, [n]gg
* add expand_selection to last_motioncossonleo2021-10-29
|
* Release v0.5.0Blaž Hrastnik2021-10-28
|
* Add `--tutor` option to `hx --help` output (#924)Omnikar2021-10-28
| | | | | * Add `--tutor` option to `hx --help` output * Adjust `--tutor` location in help output
* Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)Omnikar2021-10-28
| | | | | | | | | | | | | | | | | | | * Implement `hx --tutor` and `:tutor` to load `tutor.txt` * Document `hx --tutor` and `:tutor` * Change `Document::set_path` to take an `Option` * `Document::set_path` accepts an `Option<&Path>` instead of `&Path`. * Remove `Editor::open_tutor` and make tutor-open functionality use `Editor::open` and `Document::set_path`. * Use `PathBuf::join` Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add comments explaining unsetting tutor path Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Use deserialization fix insteadNehliin2021-10-28
|
* Apply suggestions from code reviewOskar Nehlin2021-10-28
| | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Make key macro more portableNehliin2021-10-28
|
* Fix order being empty and add testNehliin2021-10-28
|
* Move test to test moduleNehliin2021-10-28
|
* Fix panic when using multi-level key mappingNehliin2021-10-28
|
* Revert "minor: Rearrange helix-term Cargo.toml"Blaž Hrastnik2021-10-27
| | | | This reverts commit 2cee0c58baf601995e6fd7ef774d8556bb1af6b9.
* fix: When cycling through prompt history, update event needs to triggerBlaž Hrastnik2021-10-27
|
* minor: Rearrange helix-term Cargo.tomlBlaž Hrastnik2021-10-27
|
* Remove some old TODOsBlaž Hrastnik2021-10-27
|
* Improve statusline (#916)Omnikar2021-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve statusline * Change diagnostic count display to show counts of individual diagnostic types next to their corresponding gutter dots. * Add selection count to the statusline. * Do not display info or hint count in statusline * Reduce padding Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Reduce padding Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Use `Span::styled` * Reduce padding * Use `Style::patch` * Remove unnecessary `Cow` creation Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Use current dir for file picker, after change dir. (#910)radical3dd2021-10-26
|
* Clear competion items when start_offset > cursor (#906)CossonLeo2021-10-26
|
* move_up will select last item, when no item selected (#907)CossonLeo2021-10-26
|
* Add c-j c-k to menu keymap for move_up move_down (#908)CossonLeo2021-10-26
|
* fix warningBlaž Hrastnik2021-10-25
|
* completion: fully revert state before apply & insertText common prefixBlaž Hrastnik2021-10-25
|
* Fix `:quit!` description and tense of other commands (#902)Omnikar2021-10-25
|
* find motion and textobj motion repeat (#891)CossonLeo2021-10-24
|
* Mark a few functions as `const`Blaž Hrastnik2021-10-24
|
* Filter completion items from language server by starts_with word under ↵CossonLeo2021-10-24
| | | | | | | | | | | | | cursor (#883) * filter items by starts_with pre nth char of cursor * add config for filter completion items by starts_with * filter items by starts_with pre nth char of cursor * add config for filter completion items by starts_with * remove completion items pre filter configuratio
* log syntax highlighting init errors (#895)Kirawi2021-10-23
|
* Add commands for moving between splits with a direction (#860)Oskar Nehlin2021-10-23
| | | | | | | | | * Add commands for moving between splits with a direction * Update keymaps * Change picker mapping * Add test and clean up some comments
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* Fix doctest broken on 2021 editionBlaž Hrastnik2021-10-22
|
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* First stab at ignoring compressed files from picker (#767)Daniel S Poulin2021-10-22
|
* Replace current selection with all yanked values. (#882)radical3dd2021-10-21
|
* Ignore errors when disabling mouse captureBlaž Hrastnik2021-10-19
|
* Update dependencies to bump crossterm to 0.22.1Blaž Hrastnik2021-10-19
| | | | | Fixes #825 Fixes #690
* Add `C-j` and `C-k` to keybinds for picker (#876)VuiMuich2021-10-19
| | | | | * Add `C-j` and `C-k` for moving down/up in pickers * Add new binds to keymap doc
* Improve completion trigger (#838)CossonLeo2021-10-18
| | | | | | | * improve idle completion trigger * add completion-trigger-len to book * rename semantics_completion to language_server_completion and optimize idle completion trigger
* Make auto-completion a config (#853)Ivan Tham2021-10-16
|