aboutsummaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
* ui: prompt: Avoid allocating a prompt name if it's a static stringBlaž Hrastnik2021-08-31
|
* Refactor a bit furtherBlaž Hrastnik2021-08-31
|
* shell: Move changes outside so we can properly handle errorsBlaž Hrastnik2021-08-31
|
* Shell commands (#547)Omnikar2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement shell interaction commands * Use slice instead of iterator for shell invocation * Default to `sh` instead of `$SHELL` for shell commands * Enforce trailing comma in `commands` macro * Use `|` register for shell commands * Move shell config to `editor` and use in command * Update shell command prompts * Remove clone of shell config * Change shell function names to match prompts * Log stderr contents upon external command error * Remove `unwrap` calls on potential common errors `shell` will no longer panic if: * The user-configured shell cannot be found * The shell command does not output UTF-8 * Remove redundant `pipe` parameter * Rename `ShellBehavior::None` to `Ignore` * Display error when shell command is used and `shell = []` * Document shell commands in `keymap.md`
* fix: use .cursor() instead of .headgbaranski2021-08-30
|
* fix: use head instead of anchor for relative linegbaranski2021-08-30
|
* Fix code indentation (#671)Omnikar2021-08-30
|
* Add ui.menu text style (#664)CossonLeo2021-08-28
| | | | | | | | | * add menu text style * add ui.menu.text ui.info ui.info.text to book * change ui.menu.text to ui.menu * fix book's ui.menu
* ui: prompt: Fix typing with altBlaž Hrastnik2021-08-27
|
* Make `v` in select mode switch back to normal mode (#660)Omnikar2021-08-27
| | | | | * Make `v` in select mode switch back to normal mode * Move select mode toggle to keymap instead of command
* fix: show current line number even if relative line is on (#656)Grzegorz Baranski2021-08-26
|
* Show hidden files in filename completer (#648)Stuart Hinson2021-08-26
| | | also removes unnecessary clone
* feat: merge default languages.toml with user provided languages.toml, add a ↵Yusuf Bera Ertan2021-08-26
| | | | | | | | | | | generic TOML value merge function (#654) * feat: merge default languages.toml with user provided languages.toml * refactor: use catch-all to override all other values for merge toml * tests: add a test case for merging languages configs * refactor: change test module name
* Change vsp to vs (#647)Ivan Tham2021-08-26
| | | Follow up on #639 to match vim behavior
* Move path util functions from helix-term to helix-core (#650)Kirawi2021-08-25
|
* ui: Tone down the preview highlight by adding a new scopeBlaž Hrastnik2021-08-24
|
* ui: Fix preview window padding: we want horizontal, not verticalBlaž Hrastnik2021-08-24
|
* ui: Highlight line ranges in the previewBlaž Hrastnik2021-08-24
|
* info component style config use ui.info ui.info.text (#643)CossonLeo2021-08-24
|
* fix: Don't internally use relative paths in the buffer pickerBlaž Hrastnik2021-08-24
| | | | Fixes #619
* Add :vsplit and :hsplit commands (#639)devins25182021-08-24
| | | | | * add vsplit and hsplit commands * handle splits more elegantly
* Bump crossterm from 0.20.0 to 0.21.0 (#644)dependabot[bot]2021-08-24
| | | | | | | | | | | | | | | | | Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/commits) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Place the cursor on the start of the selected symbolBlaž Hrastnik2021-08-22
| | | | Fixes #626
* better panic messages for when you're missing selection scopes (#608)Kirawi2021-08-22
|
* Refactor new Rect construction (#575)Gokul Soumya2021-08-21
| | | | | | | | | | * Refactor new Rect construction Introduces methods that can be chained to construct new Rects out of pre-existing ones * Clamp x and y to edges in Rect chop methods * Rename Rect clipping functions
* minor: Extract doc.text().slice(..) into a varBlaž Hrastnik2021-08-20
|
* minor: Nicer errors, std::io::Error provides a Display implBlaž Hrastnik2021-08-20
|
* Make scrolling extend in extend modeBlaž Hrastnik2021-08-20
|
* Use the correct search registerBlaž Hrastnik2021-08-20
|
* cargo fmtBlaž Hrastnik2021-08-20
|
* ui: Refactor styling a bit, ensure infobox is stylableBlaž Hrastnik2021-08-20
|
* minor: Refactor commands.rs a bit moreBlaž Hrastnik2021-08-20
|
* use `ui.text.focus` for the picker (fix #622)Kirawi2021-08-20
|
* Fix clippy attrBlaž Hrastnik2021-08-19
|
* Avoid looking up ui.text per highlight rangeBlaž Hrastnik2021-08-19
|
* Extract view.inner_area(), simplify render_focused_view_elementsBlaž Hrastnik2021-08-19
|
* Refactor view.first_line/first_col into view.offset (Position)Blaž Hrastnik2021-08-19
|
* Simplify write/write_all commands, we no longer need to excessively blockBlaž Hrastnik2021-08-19
|
* fix: ui: Pin popups with no positioning to the initial cursor positionBlaž Hrastnik2021-08-19
| | | | This avoids the floating popup following the cursor as we type.
* Exit select mode after toggle_comment. Fixes #597 (#598)Yerlan2021-08-17
| | | Consistent with yanking, exit select mode after toggling comment. Fixes #597
* Refactor infobox rendering and parsing (#579)Gokul Soumya2021-08-17
|
* feat: relative numbers (#485)Grzegorz Baranski2021-08-16
| | | | | | | | | | | | | | | | | | | * feat(helix-view): configuring line-number * feat(helix-term): relative line numbers * feat(helix-term): passing editor::Config to render * fix(helix-view): remove LineNumber::None * feat(helix-term): rendering line-number according to configuration * fix(term): put calculating current line above line iteration * fix: add abs_diff function * deps: cargo update * fix: pass config argument
* Release v0.4.1Blaž Hrastnik2021-08-14
|
* ui: picker: Position count according to input barBlaž Hrastnik2021-08-13
|
* ui: picker: Use ui.selection instead of ui.selection.primaryBlaž Hrastnik2021-08-13
|
* ui: picker: Render matches/total countsBlaž Hrastnik2021-08-13
|
* Add :tree-sitter-scopes, useful when developing indents.tomlBlaž Hrastnik2021-08-13
|
* fix build...Blaž Hrastnik2021-08-12
|
* Release v0.4.0Blaž Hrastnik2021-08-12
|
* 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