aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Allow keys to be mapped to sequences of commands (#589)Omnikar2021-11-11
| | | | | | | | | * Allow keys to be mapped to sequences of commands * Handle `Sequence` at the start of `Keymap::get` * Use `"[Multiple commands]"` as command sequence doc * Add command sequence example to `remapping.md`
* helix-term/command: make scratch buffer name consistent (#1071)Cole Helbling2021-11-11
|
* Add `m` textobject for pair under cursor (#961)Omnikar2021-11-11
|
* add wonly -- window only (#1057)Bob2021-11-11
| | | | | | | | | | | | | * add wonly * Update book/src/keymap.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * add `wonly` to space w mode too * remove the TODO Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Fix moving with arrow keys in prompt (#1070)ath32021-11-11
|
* Add json indents.toml file (#1055)Mateusz S. Szczygieł2021-11-10
| | | | | | | * add glsl language support * glsl: use indents.toml file * add json indents.toml
* Refactor keyevent handling using key, ctrl macros (#1058)Gokul Soumya2021-11-10
| | | | | | Adds ctrl! and alt! macros (which existed before the big keymap refactor) and uses them in event handling of Components. Note that this converts crossterm's KeyEvent to our own KeyEvent on each invocation of handle_event in Components.
* Ensure that identical keymaps stay in sync (#1056)Gokul Soumya2021-11-10
| | | | | | | Space mode and view mode are duplicated on two different keybinds, and they tend to get out of sync by contributers forgetting to update both of them. This commit adds a test that explicitly checks that they are identical. Prevents issues like #1050.
* Check for duplicate keys in default keymapGokul Soumya2021-11-10
|
* Change page keybinds in view modeGokul Soumya2021-11-10
| | | | | | | b which was assigned to page_up conflicts with align to bottom, so this commit replaces page up, down, etc keybinds to use normal mode keybinds (C-f, C-b, etc) in view mode too.
* Update `space w` window mode (#1050)Omnikar2021-11-10
|
* Allow piping from stdin into a buffer on startup (#996)Jason Hansen2021-11-10
| | | | | | | | | | | | | | | | | | | * Allow piping from stdin into a buffer on startup * Refactor * Don't allow piping into new buffer on macOS * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Fix Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* buffer picker add is_modifier flag (#1020)CossonLeo2021-11-10
|
* Cleanup keymap doc book page (#1042)Gokul Soumya2021-11-10
| | | | - Clearly mark keybinds that require LSP - Fix incorrect rendering of Prompt section due to missing newline
* Restore screen position when abort search (#1047)Ivan Tham2021-11-10
|
* add <C-h>, <C-u>, <C-d>, Delete in prompt mode (#1034)Bob2021-11-09
|
* Add rename_symbol to book/ (#1031)CossonLeo2021-11-09
| | | | | | | | | * rename_symbol book * Update book/src/keymap.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* search_impl will only align cursor center when it isn't in view (#959)CossonLeo2021-11-09
|
* add solarized_light theme (#1010)CossonLeo2021-11-09
| | | | | * add solarized_light theme * solarized_light add constant.numeric
* Use default `languages.toml` if user's is invalid (#994)Omnikar2021-11-09
|
* build(deps): bump serde_json from 1.0.68 to 1.0.69 (#1030)dependabot[bot]2021-11-09
| | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.69. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69) --- updated-dependencies: - dependency-name: serde_json 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>
* build(deps): bump anyhow from 1.0.44 to 1.0.46 (#1029)dependabot[bot]2021-11-09
| | | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.44 to 1.0.46. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.46) --- updated-dependencies: - dependency-name: anyhow 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>
* Revert "fix(core): stop merging array toml config values (#1004)"Blaž Hrastnik2021-11-09
| | | | | | It breaks languages.toml merging This reverts commit 4304b52ff86f829115cb89b20160b4f80dbb3dbd.
* Make shebangs optional, they don't make sense outside of scriptsBlaž Hrastnik2021-11-09
|
* Fix panicked missing field `shebangs` (#1025)Curiosidad-Racional2021-11-09
| | | | | | Fix the error: ``` thread 'main' panicked at 'Could not parse merged (built-in + user) languages.toml: Error { inner: ErrorInner { kind: Custom, line: None, col: 0, at: None, message: "missing field `shebangs`", key: ["language"] } }', helix-term/src/application.rs:87:14 ```
* glsl support (#993)Mateusz S. Szczygieł2021-11-08
| | | | | * add glsl language support * glsl: use indents.toml file
* Refactor shebang detection to reuse the loaded bufferBlaž Hrastnik2021-11-08
|
* Detect filetype from shebang line (#1001)ath32021-11-08
|
* Add LSP rename_symbol (space-r) (#1011)CossonLeo2021-11-08
| | | improve apply_workspace_edit
* added Down keymapping. (#1019)LollipopFt2021-11-08
|
* Perl support (#978)ath32021-11-08
|
* fix: #896 broke some of the default highlightsBlaž Hrastnik2021-11-08
|
* Specify capacity on toggle_line_commentsBlaž Hrastnik2021-11-08
|
* Adds mint language server (#974)jgart2021-11-08
|
* Adds single and double quotes to matching pairs (#995)Daniel S Poulin2021-11-08
| | | | This enables `mm` to work on quote characters as well as highlighting of matching quote when on it.
* Add WORD textobject (#991)Omnikar2021-11-08
| | | | | * Add WORD textobject * Document WORD textobject
* Touch up docs for adding new language (#1002)Gokul Soumya2021-11-08
|
* fix(core): stop merging array toml config values (#1004)Carter Snook2021-11-08
|
* book: Mention git submodule sync tooBlaž Hrastnik2021-11-07
|
* feat(book/src/languages.md) (#979)ammkrn2021-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(book/src/languages.md) Add a section in the book about language-specific settings and the languages.toml file. * Update book/src/languages.md Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * feat(book/src/guides/adding_languages.md) Add book section on adding a new language to the compile-time/root languages.toml file. * Update book/src/guides/adding_languages.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update book/src/guides/adding_languages.md Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * refactor(revise book/src/languages.md) Change the book page on language settings to match suggestions by archseer and mention both toml files. Co-authored-by: Gokul Soumya <gokulps15@gmail.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Launch with defaults upon invalid config/theme (#982)Omnikar2021-11-06
| | | | | | | | * Launch with defaults upon invalid config/theme * Startup message if there is a problematic config * Statusline error if trying to switch to an invalid theme * Use serde `deny_unknown_fields` for config
* Specify vector capacity on surround_addBlaž Hrastnik2021-11-06
|
* Simplify current!(..).1 into doc!()Blaž Hrastnik2021-11-06
|
* Make sure document diagnostics are sortedBlaž Hrastnik2021-11-06
|
* Simplify goto_*_diagnostic commandsBlaž Hrastnik2021-11-06
|
* minor: view!(..).doc is slightly more efficient than current!(..).1.id()Blaž Hrastnik2021-11-06
|
* minor: Extend search was decclared twice in the keymapBlaž Hrastnik2021-11-06
|
* Retain range direction on searchBlaž Hrastnik2021-11-06
| | | | Co-authored-by: CossonLeo <20379044+cossonleo@users.noreply.github.com>
* Implement Selection::replace to replace a single rangeBlaž Hrastnik2021-11-06
| | | | | | Fixes #985 Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
* Add reverse search functionality (#958)Gygaxis Vainhardt2021-11-06
| | | | | | | | | | | | | * Add reverse search functionality * Change keybindings for extend to be in select mode, incorporate Movement and Direction enums * Fix accidental revert of #948 in rebase * Add reverse search to docs, clean up mismatched whitespace * Reverse search optimization * More optimization via github feedback