Commit graph

856 commits

Author SHA1 Message Date
Jan Hrastnik
7ccc4993f4 added ge command 2020-10-05 15:47:15 +02:00
Jan Hrastnik
b7ef7985ee added gg command 2020-10-05 15:37:33 +02:00
Jan Hrastnik
038201647c started work on goto mode 2020-10-04 23:47:37 +02:00
Blaž Hrastnik
b7e1c0cf82 Fix cursor positioning on a scrolled buffer. 2020-10-04 17:40:43 +09:00
Blaž Hrastnik
226fa89d46 Fix line number rendering. 2020-10-04 17:37:47 +09:00
Blaž Hrastnik
883b77bd24 Fix transaction.invert()/.apply() using byte counts instead of char counts. 2020-10-04 17:37:46 +09:00
Blaž Hrastnik
197651eb30
Merge pull request #2 from helix-editor/tab-implementation
added tab to insert mode
2020-10-04 15:40:49 +09:00
Jan Hrastnik
dc11124df5 added tab to insert mode 2020-10-04 15:40:16 +09:00
Blaž Hrastnik
7b4a4f6a3c Use crate info for clap help text. 2020-10-02 18:16:43 +09:00
Blaž Hrastnik
aa077a07f3 Implement Transaction::invert. 2020-10-02 18:16:26 +09:00
Blaž Hrastnik
956ccc7b5c Update grammar repos. 2020-10-01 18:45:14 +09:00
Blaž Hrastnik
77d75d9275 Collapse cursors command (;). 2020-10-01 18:44:46 +09:00
Blaž Hrastnik
5945815d97 Fix cursor rendering & placement on append mode. 2020-10-01 18:44:12 +09:00
Blaž Hrastnik
d9d59cd209 Simplify keymap.rs with macros 2020-10-01 16:06:42 +09:00
Blaž Hrastnik
4c49197e20 Fix delete key. 2020-10-01 16:06:28 +09:00
Blaž Hrastnik
4189c362b2 Fix clippy warnings. 2020-10-01 15:28:05 +09:00
Blaž Hrastnik
e39bd211d1 argh -> clap to speed up compilation (no syn/proc_macro) 2020-10-01 12:25:03 +09:00
Blaž Hrastnik
1da0be0aa0
Merge pull request #1 from helix-editor/insertKeymapMove
moved insert keymap to keymap.rs
2020-10-01 11:57:43 +09:00
Jan Hrastnik
13800e4dd1 removed redundant line 2020-10-01 01:23:06 +02:00
Jan Hrastnik
dd94a39810 moved insert keymap to keymap.rs 2020-10-01 01:15:42 +02:00
Blaž Hrastnik
592c5b0af2 Fix test, break split + append 2020-09-29 18:13:19 +09:00
Blaž Hrastnik
3feb00283d clippy warnings 2020-09-29 18:07:05 +09:00
Blaž Hrastnik
1bb01d27ae Simplify line ending calculation. 2020-09-29 17:49:19 +09:00
Blaž Hrastnik
13d1ea542e Clamp character movement to line. 2020-09-29 01:11:17 +09:00
Blaž Hrastnik
36e7e2133f Split selection on regex, fix InputEdit generation. 2020-09-29 01:01:27 +09:00
Blaž Hrastnik
3020077da8 Extend selection commands. 2020-09-29 01:00:35 +09:00
Jan Hrastnik
fbe313779e added move_line_start and move_line_end 2020-09-25 16:04:58 +02:00
Blaž Hrastnik
e0785aabe7 Move-by-word commands: w, b, e. 2020-09-24 19:16:35 +09:00
Blaž Hrastnik
eb639eb2e4 More robust syntax detection/grammar loading. 2020-09-22 18:27:37 +09:00
Blaž Hrastnik
2c3b10dbb0 Sync up view size to terminal size for now. 2020-09-21 18:25:56 +09:00
Blaž Hrastnik
935cfeae57 Split parts of helix-term into helix-view.
It still largely depends on term for some types but I plan to change
that later.
2020-09-21 18:24:16 +09:00
Blaž Hrastnik
48330ddb5f Command needs access to view information for certain changes. 2020-09-19 23:16:00 +09:00
Blaž Hrastnik
1303ffd94a Remove old test. 2020-09-19 11:58:08 +09:00
Blaž Hrastnik
91343a6846 Restore terminal mode on panics. 2020-09-19 11:58:08 +09:00
Blaž Hrastnik
929fa5474d Simple cursor scrolling. 2020-09-19 11:58:08 +09:00
Blaž Hrastnik
b120515613 Range based highlight_iter. Only works on limiting the start right now 2020-09-19 11:58:08 +09:00
Blaž Hrastnik
3859f6963d More work on the UI. 2020-09-19 11:58:08 +09:00
Blaž Hrastnik
eb477ec442 Speed up surface code by resetting instead of allocating a new one. 2020-09-17 16:32:40 +09:00
Blaž Hrastnik
088f8a82af Incremental parsing: rough draft. 2020-09-17 16:32:40 +09:00
Blaž Hrastnik
31999d6528 Make state fields read-only from outside the crate. 2020-09-14 19:50:46 +09:00
Blaž Hrastnik
96db02742e Simplify some more code. 2020-09-13 23:40:11 +09:00
Blaž Hrastnik
0427acd18c Avoid collect() by accepting iterators into Transaction::change. 2020-09-13 23:12:14 +09:00
Blaž Hrastnik
2027f69eae Deduplicate some code. 2020-09-13 20:11:29 +09:00
Blaž Hrastnik
b827b41efe Address clippy lint. 2020-09-13 20:06:53 +09:00
Blaž Hrastnik
b08278807e Add 'A', 'I' commands. 2020-09-13 20:04:16 +09:00
Blaž Hrastnik
fb0f56b747 Add 'o' command. 2020-09-13 19:51:42 +09:00
Blaž Hrastnik
eb6b9a9ca9 Support entering newlines. 2020-09-13 19:23:07 +09:00
Blaž Hrastnik
22cb7b3338 Change -> Operation, Change2 -> Change 2020-09-13 19:18:05 +09:00
Blaž Hrastnik
d86f0feafc Abstract Transaction::change from change_by_selection. 2020-09-13 15:48:15 +09:00
Blaž Hrastnik
593f33dca6 Fix clippy warnings. 2020-09-13 11:36:48 +09:00