emma
/
breed
Archived
forked from mars/breed
1
0
Fork 0
Commit Graph

84 Commits

Author SHA1 Message Date
mars 65b8986d30 Merge branch 'main' into main 2023-04-14 19:47:17 +00:00
mars 075b74afca Add goto_first_nonwhitespace + impl insert_at_line_start and end 2023-04-14 15:43:22 -04:00
mars 74e1bd88c6 Fix Buffer::goto_first_whitespace 2023-04-14 15:41:19 -04:00
mars 9558cdadb4 Remove unused imports 2023-04-14 15:34:54 -04:00
mars 5fd2620121 Implement goto_line_start and goto_line_end 2023-04-14 15:31:31 -04:00
Emma Tebibyte 64249e0f67 minor fixes to main() 2023-04-14 15:14:21 -04:00
mars d68a719a90 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-14 15:10:15 -04:00
mars da33dcce1d Handle and render submodes 2023-04-14 15:10:11 -04:00
mars 1496a39a1a Add initial goto keybinds 2023-04-14 15:09:55 -04:00
mars 7f46721caf Better hardcoded keybind semantics 2023-04-14 14:51:46 -04:00
mars c03991f110 Rename minor modes to submodes in keybinds 2023-04-14 14:31:29 -04:00
mars 3020d14081 Migrate keybind handling to State::on_key() 2023-04-14 14:11:36 -04:00
Emma Tebibyte 5c3a21e35e fixed writing buffer to file 2023-04-14 14:08:00 -04:00
mars 878f47c7e9 Add some actions unit tests 2023-04-13 01:05:45 -04:00
mars e9c8cd7a06 Fix append_mode action 2023-04-13 00:43:21 -04:00
mars c914787f47 Use line wrapping config for cursor movement 2023-04-13 00:27:17 -04:00
mars 60fd94ed34 Load all actions by name 2023-04-13 00:09:10 -04:00
mars 5f1e76e912 Add simple keybinds system 2023-04-13 00:04:21 -04:00
mars 18604f3ddd Add command_mode action 2023-04-13 00:04:01 -04:00
mars a40ef42ed6 Add a bunch more actions 2023-04-12 23:40:17 -04:00
mars 2d3c15e571 Rename queue_command() to execute_command() 2023-04-12 21:32:46 -04:00
mars 547dea6ac0 Selected line# and cursorline styling 2023-04-12 21:25:12 -04:00
mars 8141f35cdc Correct typo in unsaved quit error message 2023-04-12 19:48:17 -04:00
mars f04b0ecaab Add error on unsaved quit 2023-04-12 19:40:07 -04:00
mars b7715532f8 Fix clamped_cursor() OOB for 0-length lines 2023-04-12 19:33:28 -04:00
mars 814d4b116b More efficient scope style lookups 2023-04-12 18:38:12 -04:00
mars b351dbbcbb Faster syntax highlighting with a style stack 2023-04-12 18:24:06 -04:00
mars 4f6f17d066 Oops! accidentally set dirty flag every draw 2023-04-12 18:03:25 -04:00
mars 83872583e0 Buffer line styling 2023-04-12 17:54:22 -04:00
mars 742ed97819 Defer stdout flush until end of draw 2023-04-12 17:50:14 -04:00
mars afaf3ab0fe Add line command 2023-04-12 17:39:46 -04:00
mars 1f33402a42 Parse commands as strings + wq 2023-04-12 17:27:01 -04:00
mars 5bf1212b2a Import Path in main.rs 2023-04-12 17:16:07 -04:00
mars 6f81bab277 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-12 17:14:51 -04:00
mars 7d46cbcf9b Live theme reload 2023-04-12 17:13:20 -04:00
mars b7f9c8ba2e pub mode-related types 2023-04-12 15:46:34 -04:00
mars 7fff70ce84 Move (some) actions to separate module 2023-04-12 15:36:38 -04:00
Emma Tebibyte 4d79d7b946 Merge remote-tracking branch 'upstream/main' 2023-04-12 12:58:48 -04:00
mars 3d03c90c7b WIP syntax highlighting 2023-04-12 12:52:46 -04:00
Emma Tebibyte 6ef5182cea fixed file path resolution 2023-04-12 12:44:37 -04:00
mars 51622bf6fd Ignore style modifiers and underline for now 2023-04-12 12:41:22 -04:00
mars 7137744122 Merge palette table with default palette 2023-04-12 12:41:08 -04:00
mars 78b24c4203 Support 0-length scopes 2023-04-12 12:40:39 -04:00
mars 86bbfcda60 Add Style::apply() 2023-04-12 12:40:16 -04:00
mars ce13258ca7 Make Style::print_styled() generic over Display 2023-04-12 12:40:06 -04:00
Emma Tebibyte c06b39239c Merge remote-tracking branch 'upstream/main' 2023-04-12 11:55:36 -04:00
Emma Tebibyte 0ff694c6c1 better command parsing with file name argument for :w 2023-04-12 11:52:21 -04:00
Emma Tebibyte aee17365c6 basic file handling 2023-04-12 01:22:16 -04:00
Roux 8cb37a7820 Capital O insert mode 2023-04-12 00:19:01 -04:00
Roux badd6a0b71 fixed outdated code 2023-04-12 00:10:32 -04:00