Skip to content

A complete text editor for your terminal.

License

Notifications You must be signed in to change notification settings

oldaccountdeadname/amp

 
 

Repository files navigation

Amp: A Fork

This repo houses a fork of amp with a few small extra features (checked are merged into jmacdonald's main):

  • selection::justify transparently handles indents.
  • If a non-existent file path is opened, it's created.

  • line_length_guide can be configured differently for different file types

  • Percentage through the file is displayed in the modeline.

  • Preferences may be overriden in --command_line options.

Some fixes:

  • Adding a trailing newline no longer breaks on weird unicode.
  • Text reflowing is treated as a single operation in the undo/redo chain

Some internal stuff:

  • Don't depend on the pad crate.

And some unstable hacks:

  • Nix flake packaging (unchecked not because I'm looking to merge but because I need to remind myself that most of what I did for this is, indeed, a very ugly hack).

This all uses a fork of scribe with similarly incremental additions.


Amp: A text editor for your terminal.

Heavily inspired by Vi/Vim. Amp aims to take the core interaction model of Vim, simplify it, and bundle in the essential features required for a modern text editor.

Written with ❤️ in Rust.

Amp's internals (data structures, syntax highlighting, workspace management, etc.) have been built as a separate crate: scribe.

For a full overview, along with documentation and installation instructions, visit amp.rs.

Amp screenshot

Installation

Cargo

If you have Rust >= 1.38.0 installed:

cargo install amp

Homebrew

You can install Amp using Homebrew:

brew install amp

About

A complete text editor for your terminal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.7%
  • Nix 0.3%