https://github.com/palomena/clide
Command line interface document editor
https://github.com/palomena/clide
c editor nano ncurses ssh text-editor vim
Last synced: about 1 month ago
JSON representation
Command line interface document editor
- Host: GitHub
- URL: https://github.com/palomena/clide
- Owner: palomena
- License: mit
- Created: 2025-05-21T13:30:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-27T12:46:54.000Z (about 1 year ago)
- Last Synced: 2025-09-07T01:12:42.691Z (10 months ago)
- Topics: c, editor, nano, ncurses, ssh, text-editor, vim
- Language: C
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# clide
clide - short for *command line interface document editor* - is an intuitive
and lightweight libncurses-based text editor for posix terminals.
It features sensible key bindings and the usual functionality that is expected
by users from a text editor nowadays.
Implementation language is ISO C99, requires a hosted implementation of libc
and the ncurses libraries. The codebase is small and highly hackable.
That's it.

## Features
* modern key-bindings
* builtin clipboard
* colored output
* custom theming
* regex-based syntax highlighting (TODO)
* mouse support
* file streaming (TODO)
## Installation
1. Clone the git repository.
2. Install build-essentials (compiler, make), e.g. via `apt install build-essential`
3. Install dependencies, e.g. via `apt install libncurses-dev`
4. Run `make` in the root directory of the repository
## Keymap
```
Ctrl+A : Select everything
Ctrl+C : Copy selection
Ctrl+F : Search text
Ctrl+G : Goto line number, column number
Ctrl+H : Display help window
Ctrl+I : Display info window
Ctrl+L : Select current line
Ctrl+O : Open a new file
Ctrl+Q : Quit editor
Ctrl+R : Replace text
Ctrl+S : Save file to disk
Ctrl+V : Paste clipboard contents
Ctrl+X : Cut selection
Ctrl+Y : Redo last action
Ctrl+Z : Undo last action
```
## Porting
The program is cross-platform except for the following dependencies:
* libncurses-dev (A replacement implementation could be pdcurses)
* GNU getopt (Replacement implementations are everywhere)
## License
clide is open source software and licensed under the terms of the MIT License.