Blaž Hrastnik
|
77cab5a715
|
Merge open_above and open_below definitions.
|
2021-04-01 11:36:59 +09:00 |
|
Blaž Hrastnik
|
cc058ad78f
|
Simplify some code.
|
2021-04-01 11:04:25 +09:00 |
|
Blaž Hrastnik
|
0dbd5b61ef
|
Simplify code by providin cx.current() = (view, doc).
|
2021-04-01 11:01:26 +09:00 |
|
Blaž Hrastnik
|
ceea5eacd8
|
clippy lint
|
2021-03-31 23:42:16 +09:00 |
|
Blaž Hrastnik
|
15c9a33ebc
|
Drop doc.state. Use doc.text + doc.selections.
|
2021-03-31 23:23:13 +09:00 |
|
Blaž Hrastnik
|
7dfd7f51a0
|
Implement space-v as view same file in split.
|
2021-03-31 18:00:53 +09:00 |
|
Blaž Hrastnik
|
6c4093c946
|
Weave through view_id references so that views into one file have independent selects.
|
2021-03-31 17:17:01 +09:00 |
|
Blaž Hrastnik
|
9eaef6e333
|
Fully drop State references.
|
2021-03-31 15:45:18 +09:00 |
|
Blaž Hrastnik
|
dfc17becd5
|
Move pickers under my leader key mode (space).
|
2021-03-30 18:38:26 +09:00 |
|
Blaž Hrastnik
|
e166da2ab0
|
fix: A (append to line) was inserting before last char.
|
2021-03-30 18:31:56 +09:00 |
|
Blaž Hrastnik
|
1b5316ea74
|
Track document modified state.
|
2021-03-30 18:23:12 +09:00 |
|
Blaž Hrastnik
|
88bb7a1f38
|
Repeat insert command (.).
|
2021-03-30 18:19:27 +09:00 |
|
Blaž Hrastnik
|
ebfd67ac6a
|
Use StreamExt::select_next_some to avoid infinitely spinning on empty stream.
|
2021-03-30 16:39:24 +09:00 |
|
Blaž Hrastnik
|
e833d65b77
|
Teach file picker how to find the project root (.git).
|
2021-03-30 10:14:50 +09:00 |
|
Blaž Hrastnik
|
8098e9bdcd
|
Allow setting a status message.
|
2021-03-29 16:47:02 +09:00 |
|
Blaž Hrastnik
|
742b3a709f
|
Store intra-files jumps (goto) on the jumplist.
|
2021-03-29 16:32:42 +09:00 |
|
Blaž Hrastnik
|
0083a6c325
|
commands: Simplify _goto.
|
2021-03-29 15:44:03 +09:00 |
|
Blaž Hrastnik
|
ea407ccdba
|
Implement <n>g as goto line n.
|
2021-03-29 15:29:03 +09:00 |
|
Blaž Hrastnik
|
626e49448c
|
Update TODO.
|
2021-03-29 15:28:57 +09:00 |
|
Blaž Hrastnik
|
c1f2a14453
|
view: document.rs cleanup
|
2021-03-29 15:22:43 +09:00 |
|
Blaž Hrastnik
|
a323155b99
|
Faster dev builds on OSX if using Rust 1.51.
|
2021-03-29 15:22:07 +09:00 |
|
Blaž Hrastnik
|
5c2d2fda21
|
Wire up opening in splits via pickers.
|
2021-03-29 15:21:48 +09:00 |
|
Blaž Hrastnik
|
aefafc25cd
|
Replace Mode::Goto with just using on_next_key.
|
2021-03-29 15:04:29 +09:00 |
|
Blaž Hrastnik
|
1d96cbfbd2
|
Transaction: Add a changes_iter() that can convert back to a list of Changes
|
2021-03-29 14:56:00 +09:00 |
|
Blaž Hrastnik
|
a74ff6bc03
|
Transaction: need to consume insert | delete properly.
|
2021-03-29 14:55:35 +09:00 |
|
Blaž Hrastnik
|
b52474cf66
|
clippy lint
|
2021-03-27 12:14:58 +09:00 |
|
Blaž Hrastnik
|
a24c3fff54
|
Filter the completion menu based on text entered.
|
2021-03-27 12:08:44 +09:00 |
|
Blaž Hrastnik
|
2a3910c1d9
|
wip: Async async. Delay response handling with a callback.
|
2021-03-26 17:12:45 +09:00 |
|
Blaž Hrastnik
|
ad3325db8e
|
minor: Remove a few unwraps.
|
2021-03-26 11:03:14 +09:00 |
|
Blaž Hrastnik
|
cf0e191a6a
|
Clippy lint
|
2021-03-25 17:45:52 +09:00 |
|
Blaž Hrastnik
|
8b28bf2533
|
Fix broken test.
|
2021-03-25 16:53:32 +09:00 |
|
Blaž Hrastnik
|
a65395d94b
|
Load theme from toml file.
|
2021-03-25 16:42:14 +09:00 |
|
Blaž Hrastnik
|
e3c4edae32
|
Add the machinery to load syntax config from TOML.
It's embedded into the binary at build time for now, but it's progress.
|
2021-03-25 15:26:25 +09:00 |
|
Blaž Hrastnik
|
a900159a86
|
Update deps.
|
2021-03-24 18:17:47 +09:00 |
|
Blaž Hrastnik
|
9a36d2c2a8
|
wip: Hooks & trigger characters for completion/signature_help.
|
2021-03-24 18:17:00 +09:00 |
|
Blaž Hrastnik
|
025d63bc30
|
Update TODO
|
2021-03-24 18:16:15 +09:00 |
|
Blaž Hrastnik
|
350081a3af
|
Fix crash if pressing enter when nothing selected in completion.
|
2021-03-24 18:15:42 +09:00 |
|
Blaž Hrastnik
|
8657c57cf2
|
Trivial jumplist implementation.
|
2021-03-24 18:01:26 +09:00 |
|
Blaž Hrastnik
|
4b176caded
|
Reset first_line when changing files.
|
2021-03-24 16:56:29 +09:00 |
|
Blaž Hrastnik
|
915fd9ebaf
|
Restore buffer_picker.
|
2021-03-24 16:26:53 +09:00 |
|
Blaž Hrastnik
|
376232c543
|
add some TODOs
|
2021-03-24 15:00:41 +09:00 |
|
Blaž Hrastnik
|
06aca7691c
|
clippy lint
|
2021-03-24 14:58:01 +09:00 |
|
Blaž Hrastnik
|
8a0ab447ec
|
editor.open can now either replace the current view or open in a split.
|
2021-03-24 14:28:26 +09:00 |
|
Blaž Hrastnik
|
b24cdd1295
|
Derive a separate ViewId type.
|
2021-03-24 14:03:20 +09:00 |
|
Blaž Hrastnik
|
8328fe926d
|
Drop refcell use, make view simply ref doc.id.
|
2021-03-23 18:14:35 +09:00 |
|
Blaž Hrastnik
|
3f9a94fd43
|
ui: markdown: remove trailing blank line.
|
2021-03-22 23:23:51 +09:00 |
|
Blaž Hrastnik
|
d0530fb839
|
Fix a scrolling crash where it would jump past the end of the buffer.
|
2021-03-22 18:06:52 +09:00 |
|
Blaž Hrastnik
|
73c92a0bc1
|
Implement m / match_brackets (using tree sitter).
|
2021-03-22 17:58:49 +09:00 |
|
Blaž Hrastnik
|
bd607b4cbd
|
Provide a capacity on Selection::new's normalize.
|
2021-03-22 14:50:08 +09:00 |
|
Blaž Hrastnik
|
df306fe031
|
Implement open_above (O).
|
2021-03-22 13:53:43 +09:00 |
|