• Joined on 2022-02-27
mars merged pull request mars/breed#5 2023-04-12 04:21:46 +00:00
o-insert
mars pushed to main at mars/breed 2023-04-12 04:01:57 +00:00
5022408e65 Make Cursor and Direction pub to avoid warnings
mars pushed to main at mars/breed 2023-04-12 03:57:35 +00:00
31a1cf961e Move Buffer to new module
1f9ba13620 Add basic theming
Compare 3 commits »
mars pushed to main at mars/breed 2023-04-11 23:26:51 +00:00
9c633b4c72 Merge pull request 'Handling redirects/pipes and no stdin' (#4) from emma/breed:arg-parsing into main
6ed8a04c24 It now opens to an empty buffer when there is no stdin
Compare 2 commits »
mars merged pull request mars/breed#4 2023-04-11 23:26:50 +00:00
Handling redirects/pipes and no stdin
mars pushed to main at mars/breed 2023-04-11 22:55:53 +00:00
d7f8ccad2a Merge pull request 'Argument parsing' (#3) from emma/breed:arg-parsing into main
31d9cdf266 Added comment explaining stdin as a file descriptor
6bde2a1eec Changed wording
1ef228faa2 EVEN BETTER argument parsing
1e69ae5e98 better argument parsing
Compare 6 commits »
mars merged pull request mars/breed#3 2023-04-11 22:55:53 +00:00
Argument parsing
mars pushed to main at mars/breed 2023-04-11 22:44:18 +00:00
1d22ad1dc3 Status line, commands, and normal mode errors
mars pushed to main at mars/breed 2023-04-11 21:48:30 +00:00
7821969324 Merge pull request 'Add `a` entering Insert mode with appending cursor instead' (#2) from emma/breed:append into main
31adade996 Merge branch 'main' into append
f67a0ea567 Merge remote-tracking branch 'upstream/main' into append
1be955dc11 fixed append
e06d61317f small formatting issue
Compare 7 commits »
mars merged pull request mars/breed#2 2023-04-11 21:48:30 +00:00
Add `a` entering Insert mode with appending cursor instead
mars pushed to append at emma/breed 2023-04-11 21:48:21 +00:00
31adade996 Merge branch 'main' into append
0192cbbc6b Fix bad EOF behavior
Compare 2 commits »
mars pushed to main at mars/breed 2023-04-11 21:44:16 +00:00
0192cbbc6b Fix bad EOF behavior
mars pushed to main at mars/breed 2023-04-11 21:29:58 +00:00
d1693de12b Autoscrolling + on_any_event()
f597038a40 rustfmt
Compare 2 commits »
mars commented on pull request mars/breed#2 2023-04-11 21:17:17 +00:00
Add a entering Insert mode with appending cursor instead

We can give the Mode::Insert variant some data. Let's make a new struct named InsertState which contains a boolean field named append, then add it to Mode::Insert. Then, on_insert_event()

mars suggested changes for mars/breed#2 2023-04-11 20:58:25 +00:00
Add a entering Insert mode with appending cursor instead

You don't need a new mode for append.

mars commented on pull request mars/breed#2 2023-04-11 20:58:25 +00:00
Add a entering Insert mode with appending cursor instead

None of the new Mode::Append code is necessary if you just set self.mode to Mode::Insert instead.

mars pushed to main at mars/breed 2023-04-11 20:44:02 +00:00
8dbe2b6284 Remove duplicate std imports
mars pushed to main at mars/breed 2023-04-11 20:42:01 +00:00
6d9921fad6 Fix broken event module imports
mars pushed to main at mars/breed 2023-04-11 20:32:23 +00:00
ea7af04e52 Trim lines to column num