A terminal text editor to be ACCEPTED
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src be Feb 15, 2019
tests Fix test Feb 10, 2019
.gitignore Ignore .idea Jan 16, 2019
Cargo.lock Remove unused dependency Feb 12, 2019
Cargo.toml Remove unused dependency Feb 12, 2019
LICENSE Add LICENSE Sep 17, 2018



crates.io Build Status Join the chat at https://gitter.im/Accepted-text-editor/community

A terminal text editor to be ACCEPTED.

Accepted screenshot


A modal text editor for competitive programmer written with Rust.

Currently Accepted supports Rust and C++.


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


You need nightly Rust.

$ cargo install accepted

For Rust users

Install rust components.

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

For C++ users

Install clang, clang-format and clangd.


$ 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 !!