#text #editor #terminal #competitive #modal

bin+lib accepted

A text editor to be ACCEPTED

3 releases

0.1.2 Sep 19, 2018
0.1.1 Sep 19, 2018
0.1.0 Sep 19, 2018

#19 in Text editors

Download history 41/week @ 2018-09-20 79/week @ 2018-09-27 44/week @ 2018-10-04 1/week @ 2018-10-11 322/week @ 2018-10-18 72/week @ 2018-10-25 29/week @ 2018-11-01 170/week @ 2018-11-08 71/week @ 2018-11-15 26/week @ 2018-11-22

9 downloads per month

MIT license

3.5K SLoC



A terminal text editor to be ACCEPTED.

Accepted screenshot


A modal text editor for competitive rust programmer written with Rust.

Primary target is in competitive Rust programmers.

So this can Rustfmt and Test run with clipboard input which is useful to competitive programming by simple command.


  • Autoformat with Rustfmt
  • Completion with RLS / Racer
  • Auto compile and show compiler messages
  • Easy to test a single rust code
  • VScode style snippet support
  • Mouse support


You need nightly Rust.

$ cargo install accepted

Install rust components.

$ rustup component add rls-preview
$ rustup component add rust-src
$ rustup component add rustfmt-preview


$ acc [file]

TODO: More precisely.


Many commands of acc is same as Vim.

i, I, a, A, o, O to insert mode and Esc to return.

hjkl, w, e, b to move cursor.

y, d, c, v, V works like vim

Space Prefix

Some of commands can run with space as a prefix.

SPACE -> q to Quit.

SPACE -> s to Save.

SPACE -> a to Save As.

SPACE -> y to Copy all to clipboard

SPACE -> SPACE to Rustfmt.

SPACE -> t to compile and run with clipboard input.

SPACE -> T to compile (optimized) and run with clipboard input.

SPACE -> q to Quit.

Snippet support

This supports vscode style snippet.

You can configure by toml file placed in [config_dir]/acc/init.toml

config_dir is defined in here.

The only configurable thing is snippet

snippet = ["path_to_snippet_file"]


Any kind of contribution including feature request is welcome !!


~385K SLoC