aboutsummaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
...
| * | Fix panic when scrolling through completion popup (#1260)Midnight Exigent2021-12-14
| | | | | | | | | | | | | | | | | | | | | * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * | Add auto pairs for same-char pairs (#1219)Skyler Hawthorne2021-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add auto pairs for same-char pairs * Add unit tests for all existing functionality * Add auto pairs for same-char pairs (quotes, etc). Account for apostrophe in prose by requiring both sides of the cursor to be non-pair chars or whitespace. This also incidentally will work for avoiding a double single quote in lifetime annotations, at least until <> is added * Slight factor of moving the cursor transform of the selection to inside the hooks. This will enable doing auto pairing with selections, and fixing the bug where auto pairs destroy the selection. Fixes #1014
| * | Add ui.gutter to theme all gutters (i.e. set bg)Blaž Hrastnik2021-12-13
| | |
| * | Assume true color support on WindowsOmnikar2021-12-13
| | |
| * | Load alt default theme if true color is not supportedOmnikar2021-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move `runtime/themes/base16_default_terminal.toml` to `base16_theme.toml` alongside `theme.toml` * Use `terminfo` crate to detect whether the terminal supports true color and, if the user has no theme configured and their terminal does not support true color, load the alt default theme instead of the normal default. Remove `terminfo` dependency, use `COLORTERM` env instead Prevent user from switching to an unsupported theme Add `true-color-override` option If the terminal is wrongly detected to not support true color, `true-color-override = true` will override the detection. Rename `true-color-override` to `true-color`
| * | minor: Shorten goto file(s) descriptionsBlaž Hrastnik2021-12-13
| | |
| * | Macros (#1234)Omnikar2021-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Macros WIP `helix_term::compositor::Callback` changed to take a `&mut Context` as a parameter for use by `play_macro` * Default to `@` register for macros * Import `KeyEvent` * Special-case shift-tab -> backtab in `KeyEvent` conversion * Move key recording to the compositor * Add comment * Add persistent display of macro recording status When macro recording is active, the pending keys display will be shifted 3 characters left, and the register being recorded to will be displayed between brackets — e.g., `[@]` — right of the pending keys display. * Fix/add documentation
| * | Open files with spaces in filename, allow opening multiple files (#1231)ath32021-12-12
| | |
| * | ui: popup: Don't allow scrolling past the end of contentBlaž Hrastnik2021-12-10
| | |
| * | Add `save_selection` command (#1247)Omnikar2021-12-10
| | |
| * | Add `default-run = "hx"` to `helix-term/Cargo.toml` (#1244)Omnikar2021-12-10
| | | | | | | | | | | | | | | Following the addition of `xtask`, `cargo run` has multiple possible targets, necessitating the usage of `cargo run --bin hx` to run Helix during development. This allows `cargo run` to be used to run `hx`.
| * | Only use a single documentation popup (#1241)Kirawi2021-12-08
| | |
| * | docs: Auto generate command listGokul Soumya2021-12-08
| | |
| * | Make kill_to_line_end behave like emacs (#1235)WindSoilder2021-12-06
| | |
| * | fix: Normalize backtab into shift-tabBlaž Hrastnik2021-12-06
| | | | | | | | | | | | Fixes #1150
| * | Small changeJason Rodney Hansen2021-12-05
| | |
| * | Don't increment for overlapping changesJason Rodney Hansen2021-12-05
| | |
| * | CleanupJason Rodney Hansen2021-12-05
| | |
| * | Add support for time and more date formatsJason Rodney Hansen2021-12-05
| | |
| * | Add `Increment` traitJason Rodney Hansen2021-12-05
| | |
| * | Add support for dates for increment/decrementJason Rodney Hansen2021-12-05
| | |
| * | Assert in release mode too on duplicate keys (#1228)ath32021-12-05
| | |
| * | feat: Make it possible to keybind `TypableCommands` (#1169)Oskar Nehlin2021-12-04
| | | | | | | | | | | | | | | | | | | | | * Make TypableCommands mappable * Fix pr comments * Update PartialEq implementation
| * | cargo fmtBlaž Hrastnik2021-12-03
| | |
| * | Bump rust to 1.57, fix new lint failuresBlaž Hrastnik2021-12-03
| | |
| * | Add last modified file (gm) (#1093)Ivan Tham2021-12-02
| | |
| * | fix goto_window index crash (#1207)Bob2021-12-02
| | |
| * | Revert "Improve dedent behavior, make kill_to_line_end behave like emacs ↵Blaž Hrastnik2021-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1173)" 1. pressing o on a line with no indentation will open a new line as expected, but esc will then delete the line altogether 2. the kill_line behavior happens after insert mode changes are already commited to history, and the change isn't commited. pressing u after this will break highlighting & undo history This reverts commit c08d2fae587a0a5dd2a1e2e44a1f385d142c9d59.
| * | ui: Optimize tree-sitter style lookupsBlaž Hrastnik2021-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tree sitter returns an index referring to the position of the scope in the scopes array. We can use that same index to avoid a hashmap lookup and instead store the styles in an array. This currently stores the styles in both a map and an array because the UI still uses hashmap lookups, but it's a reasonable tradeoff.
| * | ui: Only calculate span styling when it's actually in boundsBlaž Hrastnik2021-12-01
| | |
| * | minor: Use anchor::ensure in some casesBlaž Hrastnik2021-12-01
| | |
| * | Improve dedent behavior, make kill_to_line_end behave like emacs (#1173)WindSoilder2021-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restore indent when press esc right after open a new line * add comment for restore_indent * fix, and make kill to line end behaves like emacs * update comment * fix comment * adjust cancel restore_indent situation * check esc logic in mode transaction * improve comment * add more check for dedent * update comment * use matches to check for last_cmd * no need to introduct CommandFun type
* | | wipBlaž Hrastnik2021-12-13
| | |
* | | dap: Improve variables UIBlaž Hrastnik2021-12-09
| | |
* | | TODOBlaž Hrastnik2021-12-09
| | |
* | | dap: Simplify a few more statements that could use the debugger macroBlaž Hrastnik2021-12-09
| | |
* | | dap: Extract a macro that fetches a debugger or returnsBlaž Hrastnik2021-12-07
| | |
* | | dap: Fix an off-by-one error when jumpingBlaž Hrastnik2021-12-07
| | |
* | | clippy lintBlaž Hrastnik2021-12-06
| | |
* | | Make thread_picker non-blockingBlaž Hrastnik2021-12-06
| | |
* | | dap: Reply to RunInTerminalBlaž Hrastnik2021-12-06
| | |
* | | Apply suggestions from code reviewBlaž Hrastnik2021-12-06
| | | | | | | | | Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* | | dap: Add RunInTerminal reverse request, support replying to requestsBlaž Hrastnik2021-12-03
| | |
* | | Make dap_start non-blockingBlaž Hrastnik2021-12-03
| | |
* | | dap: Start working on runInTerminal supportBlaž Hrastnik2021-12-03
| | |
* | | Simplify some cases that use return None to use ?Blaž Hrastnik2021-12-02
| | |
* | | dap: Use cursor_line over cursor + char_to_lineBlaž Hrastnik2021-12-02
| | |
* | | dap: Fix an off-by-one and move the function over to commands/dapBlaž Hrastnik2021-12-02
| | |
* | | dap: Remove some unwrapsBlaž Hrastnik2021-12-02
| | |
* | | Mark some more TODOs as resolvedBlaž Hrastnik2021-12-01
| | |