I created this text editor by taking refrence from kilo text editor. This is made purely for educational purposes. I had fun creating this masterpiece. Eventhough it is not anywhere near the modern text editor but the fact I created it of my own is satisfactory. You can open, save, close any file you want in this editor. You can search for a word, goto a specific line, switch between open files along with copy, cut and paste whole lines. A menubar to display the open files and the current file in focus.
I learned a lot of memory management as well as new libraries and their amazing features in this mini project.
Their is a good chance I won't be completing all the additional functionalities I have added above.
ref: Kilo Text Editor
Documentation: Here
- Open and close brackets, quotes
- Goto Line
- Open multiple files
- Menubar to display open files
- Sidebar to display line numbers
- Close a specific file
- Cut, Copy and paste whole lines
- Cut, Copy and paste selected area
- Relative line numbers (Done but not visible to user)
- Syntax Higlighting for java
- Auto indent
- Scrolling with touchpad/mouse
- Debian package created
- Clone the repository
- Open terminal in the root directory of the repository
- Run
make bin/kilois the program created- run
bin/./kilowithout any arguments else give it a file name present in current directory
zilo.deb is package build using bin/kilo. If you want you can install zilo on your linux system as well. Just run the following command:
sudo apt install ./zilo.deb
Ctrl-s=> save current fileCtrl-o=> open a fileCtrl-n=> open a new fileCtrl-g=> go to a lineCtrl-w=> close current fileCtrl-q=> quit the editorCtrl-f=> find a word in current fileCtrl-c=> copy current lineCtrl-v=> paste line from clipboardCtrl-x=> cut current lineCtrl-t=> view next file from menubarCtrl-r=> view prev file from menubarHome=> To reach the starting of current lineEnd=> To reach the end of current linePage Up=> To move one page upPage Down=> To move one page down
Some bugs I am too lazy to fix.
- Menubar give up when there are too many files or the file name is too large
- After a find search is done, the color is not reverted back to normal
- After pressing enter the search doesn't stop at the given line number, instead it moves to the first find query.

