Cole Helbling
bf70cfd050
helix-term/command: make scratch buffer name consistent ( #1071 )
3 years ago
Omnikar
ebc14d9d20
Add `m` textobject for pair under cursor ( #961 )
3 years ago
Bob
4d22454386
add wonly -- window only ( #1057 )
...
* 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>
3 years ago
ath3
c7cb7527be
Fix moving with arrow keys in prompt ( #1070 )
3 years ago
Mateusz S. Szczygieł
e0540fbcc4
Add json indents.toml file ( #1055 )
...
* add glsl language support
* glsl: use indents.toml file
* add json indents.toml
3 years ago
Gokul Soumya
efc2b4c77b
Refactor keyevent handling using key, ctrl macros ( #1058 )
...
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.
3 years ago
Gokul Soumya
e863e3b62d
Ensure that identical keymaps stay in sync ( #1056 )
...
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 .
3 years ago
Gokul Soumya
f9e9efb3ec
Check for duplicate keys in default keymap
3 years ago
Gokul Soumya
80036b8bd3
Change page keybinds in view mode
...
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.
3 years ago
Omnikar
5654909135
Update `space w` window mode ( #1050 )
3 years ago
Jason Hansen
cf831b1a65
Allow piping from stdin into a buffer on startup ( #996 )
...
* 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>
3 years ago
CossonLeo
68224232af
buffer picker add is_modifier flag ( #1020 )
3 years ago
Gokul Soumya
92d23430c0
Cleanup keymap doc book page ( #1042 )
...
- Clearly mark keybinds that require LSP
- Fix incorrect rendering of Prompt section due to missing newline
3 years ago
Ivan Tham
97893cca64
Restore screen position when abort search ( #1047 )
3 years ago
Bob
7c9f620236
add <C-h>, <C-u>, <C-d>, Delete in prompt mode ( #1034 )
3 years ago
CossonLeo
490919df4f
Add rename_symbol to book/ ( #1031 )
...
* rename_symbol book
* Update book/src/keymap.md
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
CossonLeo
a69caff450
search_impl will only align cursor center when it isn't in view ( #959 )
3 years ago
CossonLeo
f96be0fcbc
add solarized_light theme ( #1010 )
...
* add solarized_light theme
* solarized_light add constant.numeric
3 years ago
Omnikar
a424ef4e20
Use default `languages.toml` if user's is invalid ( #994 )
3 years ago
dependabot[bot]
eb68cd3767
build(deps): bump serde_json from 1.0.68 to 1.0.69 ( #1030 )
...
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>
3 years ago
dependabot[bot]
81015266d9
build(deps): bump anyhow from 1.0.44 to 1.0.46 ( #1029 )
...
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>
3 years ago
Blaž Hrastnik
e18198aeb2
Revert "fix(core): stop merging array toml config values ( #1004 )"
...
It breaks languages.toml merging
This reverts commit 4304b52ff8
.
3 years ago
Blaž Hrastnik
f804ed3192
Make shebangs optional, they don't make sense outside of scripts
3 years ago
Curiosidad-Racional
41fc326325
Fix panicked missing field `shebangs` ( #1025 )
...
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
```
3 years ago
Mateusz S. Szczygieł
3f0345ff58
glsl support ( #993 )
...
* add glsl language support
* glsl: use indents.toml file
3 years ago
Blaž Hrastnik
549cdee561
Refactor shebang detection to reuse the loaded buffer
3 years ago
ath3
77dbbc73f9
Detect filetype from shebang line ( #1001 )
3 years ago
CossonLeo
29e6849413
Add LSP rename_symbol (space-r) ( #1011 )
...
improve apply_workspace_edit
3 years ago
LollipopFt
bf4c70e027
added Down keymapping. ( #1019 )
3 years ago
ath3
30744646cb
Perl support ( #978 )
3 years ago
Blaž Hrastnik
cdc2107bca
fix : #896 broke some of the default highlights
3 years ago
Blaž Hrastnik
82ff5b0ab6
Specify capacity on toggle_line_comments
3 years ago
Blaž Hrastnik
8b85903116
wip
3 years ago
jgart
4010b327e2
Adds mint language server ( #974 )
3 years ago
Daniel S Poulin
1e793c2bbf
Adds single and double quotes to matching pairs ( #995 )
...
This enables `mm` to work on quote characters as well as highlighting of
matching quote when on it.
3 years ago
Omnikar
a252ecd8c8
Add WORD textobject ( #991 )
...
* Add WORD textobject
* Document WORD textobject
3 years ago
Gokul Soumya
e0e227d172
Touch up docs for adding new language ( #1002 )
3 years ago
Carter Snook
4304b52ff8
fix(core): stop merging array toml config values ( #1004 )
3 years ago
Blaž Hrastnik
09f5796537
dap: Simplify get_breakpoint_at_current_line
3 years ago
Blaž Hrastnik
c39d9f44a0
dap: Simplify debug_parameter_prompt
3 years ago
Blaž Hrastnik
3042ff3e5a
dap: Clean up dap_start_impl, no need to clone arg keys
3 years ago
Blaž Hrastnik
9963a5614d
dap: Minor simplifications
3 years ago
Blaž Hrastnik
65868081fc
dap: Simplify launch & start
...
There's no need to re-detect language config, just use the one available
on the document.
3 years ago
Blaž Hrastnik
4f2a01cc09
dap: Error implements Display so we can format with {}
3 years ago
Blaž Hrastnik
2bd8a9b39d
dap: Consistently rename type as ty
3 years ago
Blaž Hrastnik
31b431bfdd
dap: Remove Deref for DebuggerCapabilities
...
Looks like a mistake
3 years ago
Blaž Hrastnik
9dd17c46a2
dap: Avoid cloning old_breakpoints if we are immediately replacing them
3 years ago
Blaž Hrastnik
757babb1b4
dap: Avoid cloning *entire* stack frames when picking a thread
3 years ago
Blaž Hrastnik
5803de2067
dap: Simplify more calls
3 years ago
Blaž Hrastnik
155c608237
dap: Drop examples
3 years ago