Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use a bool for vi.mode | June McEnroe | 2022-03-12 |
| | | | | | enums use 4 bytes even if they only have 2 values and we have 256 of these structs... | ||
* | Implement r with count | June McEnroe | 2022-03-12 |
| | |||
* | Implement vi R and r | June McEnroe | 2022-03-12 |
| | |||
* | Implement vi insert mode | June McEnroe | 2022-03-12 |
| | |||
* | Implement basic esc/i mode switching | June McEnroe | 2022-03-12 |
| | |||
* | Clean up unimplemented editing mode stuff | June McEnroe | 2022-02-20 |
| | |||
* | Share a cut buffer between all edit buffers | June McEnroe | 2022-02-20 |
| | |||
* | Move mbs out of struct Edit, use a global buffer | June McEnroe | 2022-02-20 |
| | | | | | | | | This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it. | ||
* | Remove unused mbs.len field from struct Edit | June McEnroe | 2022-02-20 |
| | |||
* | Fix edit.[ch] license notice additional permissions | June McEnroe | 2022-02-19 |
| | |||
* | Implement new line editing "library" | June McEnroe | 2022-02-18 |
Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. |