mirror of
https://github.com/evanlin96069/nino
synced 2026-07-22 15:43:49 +00:00
No description
- C 98.8%
- CMake 0.7%
- Shell 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| docs | ||
| resources | ||
| scripts | ||
| src | ||
| .clang-format | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
nino
My personal text editor.
Inspired by kilo and snaptoken's Build Your Own Text Editor tutorial.
Why?
I'm not used to Vim and I don't like nano either, so I make my own text editor. (I don't know about micro back then...)
Features
- Basic syntax highlight
- Basic UTF-8 support
- Multiple editor tabs
- Automatic indentation and bracket completion
- Mouse support
- Cut, copy, and paste the selected section
- Multiple undo/redo
- Search with smart case sensitivity
- File explorer
- Split screen
Build
This project uses CMake for building. Follow these steps to build the project:
Prerequisites
- CMake (minimum required version, e.g., 3.15)
- A suitable C compiler (GCC, Clang, MSVC, etc.)
Cloning the Repository
git clone https://github.com/evanlin96069/nino.git
cd nino
Configuring the Build
Create a build directory and run CMake to configure the project:
mkdir build
cd build
cmake ..
Building the Project
To build the project, run:
cmake --build .
Building Without CMake
For Unix-like systems, the project can also be built without CMake using the provided build script.
Prerequisites
- A C compiler (such as GCC or Clang)
- A POSIX-compatible shell
Building
Run the provided build script:
./scripts/build.sh
This method is not supported on Windows.
