aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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`.
* Update book to include typable command remapping (#1240)Oskar Nehlin2021-12-08
| | | | | * Update book to include typable command remapping * Add additional example
* Only use a single documentation popup (#1241)Kirawi2021-12-08
|
* Use same name used in config files for langs in docsGokul Soumya2021-12-08
|
* Add github action to lint unmerged docsGokul Soumya2021-12-08
|
* Auto generate docs for language supportGokul Soumya2021-12-08
|
* docs: Auto generate command listGokul Soumya2021-12-08
|
* Fix solarized selection colors (#1236)Skyler Hawthorne2021-12-08
| | | | | | * do not select a foreground color in selections, as this eliminates syntax coloring * select lighter color for selections * Make non-primary cursor cyan instead of green
* Add note to `keymap.md` regarding `format_selections` (#1230)Omnikar2021-12-06
|
* Make kill_to_line_end behave like emacs (#1235)WindSoilder2021-12-06
|
* Fix compilationBlaž Hrastnik2021-12-06
| | | | nix-direnv issues still mess with my shell..
* Use binary_search when looking up diagnosticsBlaž Hrastnik2021-12-06
| | | | They're sorted by range so they should also be sorted by line
* fix: Normalize backtab into shift-tabBlaž Hrastnik2021-12-06
| | | | Fixes #1150
* Small changeJason Rodney Hansen2021-12-05
|
* Remove `Clone` deriveJason Rodney Hansen2021-12-05
|
* Remove `FormatError`Jason Rodney Hansen2021-12-05
|
* Don't increment for overlapping changesJason Rodney Hansen2021-12-05
|
* Used checked_add for years and monthsJason Rodney Hansen2021-12-05
|
* CleanupJason Rodney Hansen2021-12-05
|
* No need to clone formatJason Rodney Hansen2021-12-05
|
* Add support for time and more date formatsJason Rodney Hansen2021-12-05
|
* Add `Increment` traitJason Rodney Hansen2021-12-05
|
* Remove dependency on gregorian crateJason Rodney Hansen2021-12-05
|
* CleanupJason Rodney Hansen2021-12-05
|
* FormattingJason Rodney Hansen2021-12-05
|
* No default features for gregorianJason Rodney Hansen2021-12-05
|
* Add support for incrementing year and monthJason 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
* Support env flags in shebang (#1224)ath32021-12-03
|
* rose_pine_dawn.toml colorscheme (#1226)chunghha2021-12-03
| | | | | * adds: rose_pine_dawn.toml colorscheme * chore: define ui.statusline.inactive colors of rose_pine
* add more monokai pro filter themes (#1220)WindSoilder2021-12-03
|
* cargo fmtBlaž Hrastnik2021-12-03
|
* Bump rust to 1.57, fix new lint failuresBlaž Hrastnik2021-12-03
|
* lsp: Don't panic if init failsBlaž Hrastnik2021-12-03
| | | | | | We correctly filter out the language server inside Document to ignore it if the capabilities are missing, so this way it'll simply ignore the errored out LSP rather than panicking.
* Address new lint on 1.57Blaž Hrastnik2021-12-03
|
* nix: Update to lld 13, drop flake-compat (was unused)Blaž Hrastnik2021-12-03
|
* fix: Correctly detect empty transactionsBlaž Hrastnik2021-12-02
| | | | Fixes #1221
* Add monokai pro theme (#1206)WindSoilder2021-12-02
| | | | | | | | | * add monokai_pro theme * add monokai_pro theme * claim the inspired theme and original author * make diagnostic underlined
* 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.
* Annotate Theme::highlight with #[inline]Blaž Hrastnik2021-12-01
|
* 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
|