Commit Graph

2733 Commits

Author SHA1 Message Date
Blaž Hrastnik
8dc9ad7997
wip 2022-05-01 11:41:16 +09:00
Blaž Hrastnik
9438430e98
wip 2022-05-01 11:41:16 +09:00
Blaž Hrastnik
3b2b9e102d
clippy lint 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
d151567192
it compiles! 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
afcb78a538
LSP feature gates 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
842a5fc979
Closer to compiling 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
842cd2cc13
Geate more code to get it all building 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
febc7ee0fa
placeholder completion fn if no LSP 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
eadb2eaad1
Split out render & cursor methods into a tui renderer 2022-05-01 11:41:15 +09:00
Blaž Hrastnik
1aa2b027d7
Move ui, keymap & commands to helix-view 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
11b8f068da
Extract compositor & jobs into helix-view 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
18381fcbc8
Fix code after rebase 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
9dd9515a8d
Term backend 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
61365dfbf3
Add a custom event type that's shared across backends 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
e0f9d86f49
Move terminal out of compositor 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
57d4a9ba21
This term specific behavior really doesn't belong to compositor 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
14f987807d
Drop terminal interaction in compositor.size() 2022-05-01 11:41:14 +09:00
Blaž Hrastnik
c3f9d3641c
fix helix-term build 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
6f8bf67fa6
helix-view now builds on WASM 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
756b001030
helix-term: Start feature gating lsp 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
8694d60ab3
Simplify LSP formatting, feature gate lsp in helix-view 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
dcd1e9eaa3
Successfully feature gate DAP 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
d7b1c40452
Pass surface as part of RenderCtx 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
3c0e11d69e
Implement a separate RenderContext 2022-05-01 11:41:13 +09:00
Blaž Hrastnik
7622643117
wasm 2022-05-01 11:41:12 +09:00
Blaž Hrastnik
649a17720a
WIP: try compiling helix-core for WASM 2022-05-01 11:41:12 +09:00
Blaž Hrastnik
cb5b12725e
wip add helix-ui 2022-05-01 11:41:12 +09:00
Blaž Hrastnik
ede01b5f1e
num_cpus apparently unused in helix-term 2022-05-01 11:40:04 +09:00
Blaž Hrastnik
ade4cbffaa
Add a nop clipboard provider for wasm 2022-05-01 11:39:31 +09:00
Blaž Hrastnik
9191af3f8d
helix-loader + helix-core now compile for WASM 2022-05-01 11:39:07 +09:00
Blaž Hrastnik
8bb89dafa2
cargo xtask docgen 2022-05-01 11:37:14 +09:00
Blaž Hrastnik
73879052c1
Add Cairo support 2022-05-01 11:24:17 +09:00
unrelentingtech
2c60798b00
feat(ui): add nbsp (non-breaking space) to rendered whitespace (#2322) 2022-04-30 09:48:52 +09:00
Michael Davis
e4c2618099
prevent rendering visible whitespace on trailing cursor (#2331) 2022-04-30 09:48:11 +09:00
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.
2022-04-30 09:46:51 +09:00
nosa
0106173375
Add Night Owl Color Theme. (#2330) 2022-04-29 17:27:09 -05:00
unrelentingtech
8e77e3388c
feat(lang): add devicetree (Flattened Device Tree Source) (#2329) 2022-04-29 15:08:00 -05:00
unrelentingtech
030e7ab988
fix(docs): cleanup obsolete indents.toml mentions (#2327) 2022-04-29 12:40:59 -05:00
Erasin
668b39d1df
change cursor for copy selection (#2323) 2022-04-29 11:11:36 -05:00
Yang Tang
667cdf929f
Fix spelling errors in some themes (#2324) 2022-04-29 11:03:46 -05:00
Erin van der Veen
21487d13fd
feat(lang): Update nickel to include "rec" keyword (#2320) 2022-04-29 07:34:15 -05:00
Gokul Soumya
22ae1b92a6 Fix tests for surround primitives 2022-04-29 15:51:14 +09:00
Gokul Soumya
76175dbd6d Support m in surround delete and replace 2022-04-29 15:51:14 +09:00
Gokul Soumya
de15d70171 Add m textobject to select closest surround pair 2022-04-29 15:51:14 +09:00
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.
2022-04-29 15:50:01 +09:00
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?
2022-04-29 15:49:15 +09:00
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>
2022-04-29 09:52:11 +08:00
CossonLeo
477b88e99c
Wrap current directory picker with overlay widget (#2308) 2022-04-28 22:17:24 +09:00
chunghha
3a398eec56
fix typos (#2304) 2022-04-27 14:21:20 -05:00
Alexis Kalabura
2e46961886
feat(lsp): add toml lsp (#2302) 2022-04-27 13:48:04 -05:00