Commit Graph

2720 Commits (61365dfbf3f8f36572c8cb44331e3aa405236927)
 

Author SHA1 Message Date
Blaž Hrastnik 61365dfbf3
Add a custom event type that's shared across backends 3 years ago
Blaž Hrastnik e0f9d86f49
Move terminal out of compositor 3 years ago
Blaž Hrastnik 57d4a9ba21
This term specific behavior really doesn't belong to compositor 3 years ago
Blaž Hrastnik 14f987807d
Drop terminal interaction in compositor.size() 3 years ago
Blaž Hrastnik c3f9d3641c
fix helix-term build 3 years ago
Blaž Hrastnik 6f8bf67fa6
helix-view now builds on WASM 3 years ago
Blaž Hrastnik 756b001030
helix-term: Start feature gating lsp 3 years ago
Blaž Hrastnik 8694d60ab3
Simplify LSP formatting, feature gate lsp in helix-view 3 years ago
Blaž Hrastnik dcd1e9eaa3
Successfully feature gate DAP 3 years ago
Blaž Hrastnik d7b1c40452
Pass surface as part of RenderCtx 3 years ago
Blaž Hrastnik 3c0e11d69e
Implement a separate RenderContext 3 years ago
Blaž Hrastnik 7622643117
wasm 3 years ago
Blaž Hrastnik 649a17720a
WIP: try compiling helix-core for WASM 3 years ago
Blaž Hrastnik cb5b12725e
wip add helix-ui 3 years ago
Blaž Hrastnik ede01b5f1e
num_cpus apparently unused in helix-term 3 years ago
Blaž Hrastnik ade4cbffaa
Add a nop clipboard provider for wasm 3 years ago
Blaž Hrastnik 9191af3f8d
helix-loader + helix-core now compile for WASM 3 years ago
Blaž Hrastnik 8bb89dafa2
cargo xtask docgen 3 years ago
Blaž Hrastnik 73879052c1
Add Cairo support 3 years ago
unrelentingtech 2c60798b00
feat(ui): add nbsp (non-breaking space) to rendered whitespace (#2322) 3 years ago
Michael Davis e4c2618099
prevent rendering visible whitespace on trailing cursor (#2331) 3 years ago
unrelentingtech 2687b8fb3b
feat(ui): treat slashes as word separators in prompt (#2315)
When fiddling with paths in a :o prompt, one usually would want Ctrl-W to erase a path segment
rather than the whole path. This is how Ctrl-W works in e.g. (neo)vim out of the box.
3 years ago
nosa 0106173375
Add Night Owl Color Theme. (#2330) 3 years ago
unrelentingtech 8e77e3388c
feat(lang): add devicetree (Flattened Device Tree Source) (#2329) 3 years ago
unrelentingtech 030e7ab988
fix(docs): cleanup obsolete indents.toml mentions (#2327) 3 years ago
Erasin 668b39d1df
change cursor for copy selection (#2323) 3 years ago
Yang Tang 667cdf929f
Fix spelling errors in some themes (#2324) 3 years ago
Erin van der Veen 21487d13fd
feat(lang): Update nickel to include "rec" keyword (#2320) 3 years ago
Gokul Soumya 22ae1b92a6 Fix tests for surround primitives 3 years ago
Gokul Soumya 76175dbd6d Support m in surround delete and replace 3 years ago
Gokul Soumya de15d70171 Add `m` textobject to select closest surround pair 3 years ago
Ivan Tham c22873c33f
Change A-left right to C-left right in insert (#2193)
Currently A-left move one word left and the behavior will be more
consistent for people coming GUI world if the key was changed to control
given that both browsers and editors like vscode uses C-left right by
default to move word rather than alt.
3 years ago
Ivan Tham ab6a00e196
Make A-hjkl tree-sitter nav A-pion (#2205)
A-hl currently is not very consistent with hl when next object is
selected, since it may go up/down or left/right and this behavior is
confusing such that some people think it should swap the keys with A-jk,
so it is better to use A-pn since that only specifies two direction.

A-jk have the same issue as in it usually moves right and is not
consistent with the behavior of jk so people may think A-hl is better,
maybe A-oi is better here since A-hl will be swapped to A-pn, A-oi can
convey the meaning of in and out, similar to some window manager keys?
3 years ago
nosa e10cf08516
Extend tutor file (#2133)
* Adds tutorial sections for multiple areas including:
- Changing selections to uppercase / lowercase
- yanking and pasting
- macros
- selecting to chars with t and f

PS: I got kind of carried away and put off commiting for a while,
    will commit to commit more often in the future.

* Changed section titles to all uppercase

* Added recap and section about jumplist

* Added sections for searching in file, joining lines and indenting lines.

* Removed some trailing whitespace

* Evened out the space between sections to all be 5 lines

* Add section on opening lines (o) and recap

* Changed the amount of lines between sections

This is so that - on a 24 line terminal -
only one section is visible at a time and
page up/page down goes straight to the next
section keeping the header at the top.

* Punctuation error

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Punctuation error

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Spelling error

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Remove unnecessary word

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Reword note about searches

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Change word

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>

* Update tutor file

* Made some small changes suggested by Omnikar

* Added better demo for macros.

* Small changes

- Add newlines at the end
- Make "MACROS" section fit into 22 lines
- Correct mistake of saying helix copied to clipboard in "COPYING AND PASTING TEXT"

* Reformatted notes in copying/pasting section to fit in screen

* Add a note about n and N and their difference to Vim.

* Combine f and t commands into one section.

* Removed t/T section which was merged into the f/F section.

* Merge sections on manipulating case into one.

* Gave section's numbers

* Convert 'press' to 'type' in some places

* Added examples of how prompt lines should look.

* Reformatted notes in copy/pasting section.

* More rewording to more comfortably fit sections on screen.

* Grammatical error.

* Missing periods.

* Missing capital + small reformat

* Fix mis-numbered section

* Reworded to use these conventions when referring to inputs:
- "Press" for single keypresses
- "Type" for multiple keypresses / modifiers
- "Use" when referencing two inputs as a pair.

* till not 'til

* Say 'press' instead of 'type' when referring to symbols

* 'outdent' not 'unindent'

* Typo and grammar.

* Replace all 'press's with 'type's (apart from places it would make no sense in).

* Improve examples for joining and indenting lines.

* Section alignment.

Co-authored-by: Omnikar <omkar.subramaniam@icloud.com>
3 years ago
CossonLeo 477b88e99c
Wrap current directory picker with overlay widget (#2308) 3 years ago
chunghha 3a398eec56
fix typos (#2304) 3 years ago
Alexis Kalabura 2e46961886
feat(lsp): add toml lsp (#2302) 3 years ago
Gokul Soumya 3626e38e51 Add ui.virtual theme scopes for onedark theme 3 years ago
Matouš Dzivjak 52f5a4228a
feat(commands): better handling of buffer-close (#1397)
* feat(commands): better handling of buffer-close

Previously, when closing buffer, you would loose cursor position in other docs.
Also, all splits where the buffer was open would be closed.

This PR changes the behavior, if the view has also other buffer
previously viewed it switches back to the last one instead of the view
being closed. As a side effect, since the views are persisted,
 the cursor history is persisted as well.

Fixes: https://github.com/helix-editor/helix/issues/1186

* Adjust buffer close behavior

* Remove closed documents from jump history

* Fix after rebase
3 years ago
Erasin a3c0b4db48
Add onelight theme variant (#2287) 3 years ago
meak 1a3d6252b9
feat(lang): add hare language support (#2289)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
3 years ago
Michael Davis 773736b03a
Fix paste direction for typed paste commands (#2288) 3 years ago
Tomas Roos fcd0ca3912
Fix base16_terminal theme using incorrect ansi-color (#2279) 3 years ago
dependabot[bot] 3d3145d511
build(deps): bump anyhow from 1.0.56 to 1.0.57 (#2273)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.56...1.0.57)

---
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
Jens Getreu 8eb15f5283
Autumn theme: improve markup highlighting (#2270)
Co-authored-by: Jens Getreu <jens.getreu@dlh.lu>
3 years ago
Lucy b65fb0f64a
Fix typo (#2264) 3 years ago
matt rice db47761154
register publish_diagnostics client capability (#2241) 3 years ago
ttys3 a8cb46680d
feat(lsp): add vala language support (#2243) 3 years ago
workingj ea02b46c5d
Add Pop-Dark Theme (#2189) 3 years ago
Daniel 15db6031bb
Add :get-option command (#2231) 3 years ago