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

117 Commits

Author SHA1 Message Date
mars 6049ee6136 Merge branch 'main' into main 2023-04-20 03:46:34 +00:00
mars d6138d5986 Fixed get_*_dir() result handling 2023-04-19 23:46:08 -04:00
mars 344b3b5145 Add placeholder word movement actions 2023-04-18 20:19:32 -04:00
mars 9ab272823d Implement rudimentary undo/redo support 2023-04-18 20:05:28 -04:00
mars ae45c3392f Refactor State into submodule 2023-04-18 19:28:59 -04:00
Emma Tebibyte 487b8e4580 removed println macro used for testing 2023-04-15 17:22:32 -04:00
Emma Tebibyte 4b6e5edbd3 Revert "removed println macro used for testing"
This reverts commit ddbdc3f7a7.
2023-04-15 17:21:55 -04:00
Emma Tebibyte ddbdc3f7a7 removed println macro used for testing 2023-04-15 17:21:17 -04:00
Emma Tebibyte 70f242f8f6 fall back to $HOME/.config and $HOME/.local/share 2023-04-15 16:25:20 -04:00
Emma Tebibyte a3ba320016 changed themes directory to $XDG_DATA_HOME and config directory to $XDG_CONFIG_HOME 2023-04-15 16:20:07 -04:00
mars 5aed7766c9 Add open_below_at_eof() test 2023-04-15 11:57:28 -04:00
mars bde9c9987a Add d keybind 2023-04-14 22:19:05 -04:00
mars 042ea6d420 Better handling of EOF 2023-04-14 22:15:48 -04:00
mars e910608805 Add panic handler hook to exit alternative screen and raw mode 2023-04-14 21:25:42 -04:00
mars b2b69bf7b3 Remove NormalState + simplify event-handling 2023-04-14 20:59:59 -04:00
mars e47275cb88 Add goto_file_start and goto_file_end 2023-04-14 17:29:19 -04:00
mars a7e121ba18 Merge pull request 'minor fixes to main()' (#12) from emma/breed:main into main
Reviewed-on: mars/breed#12
2023-04-14 19:47:22 +00:00
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
mars 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
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 b29891571b Sane default theme 2023-04-12 20:31:51 -04:00
mars 46759c98c7 Disable toml dep display feature 2023-04-12 19:53:35 -04:00
mars 37cfa90176 Disable release profile abort panic 2023-04-12 19:49:02 -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 417294921a Disable nightly toolchain 2023-04-12 19:31:05 -04:00
mars 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
Emma Tebibyte d540f8ed7c removed once_cell 2023-04-12 18:55:35 -04:00
mars f1be638ea7 Merge branch 'main' into main 2023-04-12 22:53:48 +00:00