Archived
1
0
forked from mars/breed
Commit Graph

94 Commits

Author SHA1 Message Date
d68a719a90 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-14 15:10:15 -04:00
da33dcce1d Handle and render submodes 2023-04-14 15:10:11 -04:00
1496a39a1a Add initial goto keybinds 2023-04-14 15:09:55 -04:00
7f46721caf Better hardcoded keybind semantics 2023-04-14 14:51:46 -04:00
c03991f110 Rename minor modes to submodes in keybinds 2023-04-14 14:31:29 -04:00
3020d14081 Migrate keybind handling to State::on_key() 2023-04-14 14:11:36 -04:00
9f6eecfa26 Merge pull request 'fixed writing buffer to file' (#11) from emma/breed:main into main
Reviewed-on: mars/breed#11
2023-04-14 18:09:52 +00:00
5c3a21e35e fixed writing buffer to file 2023-04-14 14:08:00 -04:00
878f47c7e9 Add some actions unit tests 2023-04-13 01:05:45 -04:00
e9c8cd7a06 Fix append_mode action 2023-04-13 00:43:21 -04:00
c914787f47 Use line wrapping config for cursor movement 2023-04-13 00:27:17 -04:00
60fd94ed34 Load all actions by name 2023-04-13 00:09:10 -04:00
5f1e76e912 Add simple keybinds system 2023-04-13 00:04:21 -04:00
18604f3ddd Add command_mode action 2023-04-13 00:04:01 -04:00
a40ef42ed6 Add a bunch more actions 2023-04-12 23:40:17 -04:00
2d3c15e571 Rename queue_command() to execute_command() 2023-04-12 21:32:46 -04:00
547dea6ac0 Selected line# and cursorline styling 2023-04-12 21:25:12 -04:00
b29891571b Sane default theme 2023-04-12 20:31:51 -04:00
46759c98c7 Disable toml dep display feature 2023-04-12 19:53:35 -04:00
37cfa90176 Disable release profile abort panic 2023-04-12 19:49:02 -04:00
8141f35cdc Correct typo in unsaved quit error message 2023-04-12 19:48:17 -04:00
f04b0ecaab Add error on unsaved quit 2023-04-12 19:40:07 -04:00
b7715532f8 Fix clamped_cursor() OOB for 0-length lines 2023-04-12 19:33:28 -04:00
417294921a Disable nightly toolchain 2023-04-12 19:31:05 -04:00
2976fb4697 Merge pull request 'reduced binary size' (#9) from emma/breed:main into main
Reviewed-on: mars/breed#9
2023-04-12 22:56:00 +00:00
d540f8ed7c removed once_cell 2023-04-12 18:55:35 -04:00
f1be638ea7 Merge branch 'main' into main 2023-04-12 22:53:48 +00:00
d9a8f45024 reduced binary size 2023-04-12 18:46:19 -04:00
814d4b116b More efficient scope style lookups 2023-04-12 18:38:12 -04:00
b351dbbcbb Faster syntax highlighting with a style stack 2023-04-12 18:24:06 -04:00
4f6f17d066 Oops! accidentally set dirty flag every draw 2023-04-12 18:03:25 -04:00
83872583e0 Buffer line styling 2023-04-12 17:54:22 -04:00
742ed97819 Defer stdout flush until end of draw 2023-04-12 17:50:14 -04:00
afaf3ab0fe Add line command 2023-04-12 17:39:46 -04:00
1f33402a42 Parse commands as strings + wq 2023-04-12 17:27:01 -04:00
5bf1212b2a Import Path in main.rs 2023-04-12 17:16:07 -04:00
6f81bab277 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-12 17:14:51 -04:00
aa013fc422 Merge pull request 'basic file handling' (#7) from emma/breed:main into main
Reviewed-on: mars/breed#7
2023-04-12 21:13:38 +00:00
7d46cbcf9b Live theme reload 2023-04-12 17:13:20 -04:00
b7f9c8ba2e pub mode-related types 2023-04-12 15:46:34 -04:00
7fff70ce84 Move (some) actions to separate module 2023-04-12 15:36:38 -04:00
4d79d7b946 Merge remote-tracking branch 'upstream/main' 2023-04-12 12:58:48 -04:00
539360114a WIP Rose Pine default theme 2023-04-12 12:53:11 -04:00
3d03c90c7b WIP syntax highlighting 2023-04-12 12:52:46 -04:00
6ef5182cea fixed file path resolution 2023-04-12 12:44:37 -04:00
51622bf6fd Ignore style modifiers and underline for now 2023-04-12 12:41:22 -04:00
7137744122 Merge palette table with default palette 2023-04-12 12:41:08 -04:00
78b24c4203 Support 0-length scopes 2023-04-12 12:40:39 -04:00
86bbfcda60 Add Style::apply() 2023-04-12 12:40:16 -04:00
ce13258ca7 Make Style::print_styled() generic over Display 2023-04-12 12:40:06 -04:00