8000 GitHub - ZapSoftwareGroup/Ant: Yet (An)other (t)ext editor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ZapSoftwareGroup/Ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ant text editor

ant is yet another text editor, written in Rust and C. It aims to be small, fast, and efficient, while maintaining important features. Note that it only supports OSX and Linux.

Current version: 0.1.0 - otherwise known as Pre-Pre-Alpha!

Why Another Text Editor?

This is mainly a learning project, but there are some good reasons to use ant:

  • Written in Rust, ensuring memory, type, and thread safety while using the program.

  • Features a load of configuration options that can make it as powerful as vim, or as simplistic as nano. (Not ready yet)

  • Ant can also serve as an introduction to modal editors in the terminal. (Not ready yet)

  • Find a text editor *faster than this. I'll wait.

*This value can vary depending on the text editor.

Features

List of features that are complete, and not so complete. Not in exact order:

  • Open and create a file

  • View contents of file

  • Accurately move through file

  • Insert characters in file

  • Allow saving file to disk

  • Allow anonymous buffers

  • Allow lines longer than the terminal width to extend.

  • Allow copy and paste support

  • Use tabs instead of spaces

  • Pressing return mid-line should move rest of text to next line

  • Allow lines >1000

  • Require sudo to open or create a protected file

  • Display messages on save and such

  • Display prompts to save an anonymous buffer

  • Allow multiple buffers

  • Allow syntax highlighting

  • Allow search

  • Allow find and replace

  • Allow easy suckless configuration

  • Allow modal editing and Vim keybindings

  • Allow editor configuration

  • Allow macros

  • Allow custom commands

  • Allow moving to line by doing :{linenumber}

  • Codebase refactor

  • Undo and Redo

Installation

Presently, the only way to install Ant is to build it from source.

  1. Clone the repo, and cd into it

  2. cd into the ant_frontend directory

  3. Run cargo build --release

  4. Now, move the binary from ./target/release/ant to some directory on your system path

Usage

Here are the most common usage examples for ant:

Open a file

ant file.txt

Exit the editor

Enter: C-q

License

ant is licensed under the GNU/GPLv3

About

Yet (An)other (t)ext editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0