GitXplorerGitXplorer
c

Cedit

public
31 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
840b71caf051771f5c0a7af778ec360b693f08dd

Set up CI with Azure Pipelines

cchaitanyarahalkar committed 4 years ago
Unverified
a7c07a81ff1292393aa95f6d52f39a82bdbec2db

Update README

cchaitanyarahalkar committed 5 years ago
Unverified
3b0ba743d4fd7f41c453ffeec02cdd0b572a1db4

Update README

cchaitanyarahalkar committed 5 years ago
Verified
6fb13f44c844d27bae57702bfd16ed500a18fe19

Update README.md

cchaitanyarahalkar committed 5 years ago
Verified
4b8298100d2a943515cee68c32c9dfd8908cbc42

Update README.md

cchaitanyarahalkar committed 5 years ago
Unverified
a0851b6df15c7f670ef20dccdea0ccf5e096566c

Update Makefile

cchaitanyarahalkar committed 5 years ago

README

The README file for this repository.

Cedit

Build Status GitHub license

Cedit

What is Cedit?

TL;DR - A minimalistic text editor for terminal fanatics.

Cedit is a zero-dependency text editor for the terminal. Cedit is similar to other popular editors like Vim, Emacs, Nano etc. It is designed with the philosophy of minimalism and simplicity. It requires no external libraries (Not even curses) or dependencies for installation. It is just a single-file C program that caters all your editing needs. Cedit can be compiled on any platform having GCC or the Clang C compiler. The idea behing Cedit is to eliminate the key-binding complications of Vim and port the existing key-bindings of your familiar GUI based editors to CLI. A statically compiled binary can allow it to run even on devices without the standard C library. This has facilitated the text editor to be used in embedded devices, routers, PoS terminals, which have very limited disk space. Cedit conforms to VT100 key and escape sequence bindings.

Features

Cedit is currently in beta stage. New features would be added in future stable releases. Cedit supports:

  • Syntax highlighting supported for over 20 programming languages
  • Defining your own syntax for highlighting code blocks
  • Incremental string searching

Improvements to be made in future releases:

  • Regex pattern searching
  • Soft indents
  • Line numbers
  • Reading from configuration file (An rc file)
  • Auto indentation

Building from Source

The project requires a standard C compiler like GCC or Clang and project building tool - Make

build@editor$: make

will produce the editor binary (cedit) with a single dynamically linked library - (libc.so.6 for Linux & libSystem.B.dylib for MacOS)

Author

Chaitanya Rahalkar

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

License

Copyright © 2020 Chaitanya Rahalkar.
This project is Apache 2.0 licensed.