Skip to content

Terminal text editor written in C++. Written as an exercise to learn more of C++ and ncurses ๐Ÿ’๐Ÿป

Notifications You must be signed in to change notification settings

annygakh/manuscrito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Manuscrito

Terminal text editor written in C++. Written as an exercise to learn more of C++ and ncurses. This text editor is still in development.

The text editor uses buffers for text editing. There are several modes, just like in vim.

Usage

Initial mode: normal mode.

Actions available from all modes

  • Save file (Ctrl-R), entering prompt mode

In normal mode you can

  • Navigate throughout the text
  • Enter insert mode (i)
  • Exit the editor (Esc)

In insert mode you can

  • Edit text
  • Exit the insert mode, and enter normal mode again (Esc)

In prompt mode you can

  • Exit the prompt mode, thus cancelling the current action (Esc)
  • Navigate left or right around the text you have entered so far, while in prompt mode

Development

Building

make clean # optional, to clean the project
make

Running

./manuscrito.out # to edit a new file
./manuscrito.out myText.txt # or edit an existing file

Handling issues

If the application exists unexpectedly, you have to reset the terminal screen in order for it to continue displaying text in a normal manner. The program takes care of that by itself if it is exited normally by pressing x in normal mode.

reset # to reset the terminal screen and remove ncurses' settings

Contributing

Suggestions are welcome. Filing of issues is appreciated.

How it works

TBA

Authors

Anny Gakhokidze

License

Acknowledgements

About

Terminal text editor written in C++. Written as an exercise to learn more of C++ and ncurses ๐Ÿ’๐Ÿป

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published