The aim of this project is to write a minimalist terminal text editor (similar to vim), designed to provide only the simplest editing, deleting, and saving functions
you can build and run it on window or MCU
int main(int argc, char *argv[]) {
vim_main(argc, argv);
return 0;
}- windows You can look at the settings in the routine, and provide vim_print output functions and vim_gets input functions
- MCU In addition to configuring the input and output functions, you also need to manually modify the relevant functions in vim.c about file input and output, or let your single-chip microcomputer's file system support the file IO of the standard library
