Commit Graph

55 Commits

Author SHA1 Message Date
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 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
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
Roux 36bbb3b77b resolve merge conflict 2023-04-12 00:04:50 -04:00
mars 5022408e65 Make Cursor and Direction pub to avoid warnings 2023-04-12 00:01:53 -04:00
mars cc1debc051 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-11 23:57:29 -04:00
mars 31a1cf961e Move Buffer to new module 2023-04-11 23:55:56 -04:00
Roux f5ea473328 cargo fmt 2023-04-11 23:55:33 -04:00
Roux 8a110c5b01 Insert: add o-insert with newline 2023-04-11 23:54:42 -04:00
mars 1f9ba13620 Add basic theming 2023-04-11 23:34:24 -04:00
mars 9c633b4c72 Merge pull request 'Handling redirects/pipes and no stdin' (#4) from emma/breed:arg-parsing into main
Reviewed-on: #4
2023-04-11 23:26:50 +00:00
Emma Tebibyte 6ed8a04c24 It now opens to an empty buffer when there is no stdin 2023-04-11 19:15:38 -04:00
mars d7f8ccad2a Merge pull request 'Argument parsing' (#3) from emma/breed:arg-parsing into main
Reviewed-on: #3
2023-04-11 22:55:52 +00:00
Emma Tebibyte 31d9cdf266 Added comment explaining stdin as a file descriptor 2023-04-11 18:54:33 -04:00
Emma Tebibyte 6bde2a1eec Changed wording 2023-04-11 18:51:33 -04:00
Emma Tebibyte 1ef228faa2 EVEN BETTER argument parsing 2023-04-11 18:49:11 -04:00
mars 1d22ad1dc3 Status line, commands, and normal mode errors 2023-04-11 18:44:13 -04:00
Emma Tebibyte 1e69ae5e98 better argument parsing 2023-04-11 18:26:02 -04:00
Emma Tebibyte 71490f7421 basic argument parsing 2023-04-11 18:12:56 -04:00
mars 31adade996 Merge branch 'main' into append 2023-04-11 21:48:21 +00:00
mars 0192cbbc6b Fix bad EOF behavior 2023-04-11 17:44:10 -04:00
Emma Tebibyte f67a0ea567 Merge remote-tracking branch 'upstream/main' into append 2023-04-11 17:34:46 -04:00
mars d1693de12b Autoscrolling + on_any_event() 2023-04-11 17:29:52 -04:00
Emma Tebibyte 1be955dc11 fixed append 2023-04-11 17:28:42 -04:00
mars f597038a40 rustfmt 2023-04-11 17:20:12 -04:00
Emma Tebibyte e06d61317f small formatting issue 2023-04-11 17:06:11 -04:00
Emma Tebibyte 045b9eed99 Merge remote-tracking branch 'upstream/main' into append 2023-04-11 16:54:30 -04:00
Emma Tebibyte bb6862d123 added append mode 2023-04-11 16:53:02 -04:00
mars 8dbe2b6284 Remove duplicate std imports 2023-04-11 16:43:13 -04:00
mars 6d9921fad6 Fix broken event module imports 2023-04-11 16:41:50 -04:00
mars ea7af04e52 Trim lines to column num 2023-04-11 16:32:07 -04:00
Emma Tebibyte c20c58d876 fixed use statement formatting 2023-04-11 16:18:16 -04:00