This project aims to provide a terminal-based text and code editor, taking a lot of inspiration from Sublime Text.
- pin folders to a file tree
- explore these folders and open files for edition
- edit multiple files via tabs
- cheap syntax highlighting
- intuitive mouse support
- some context-menus
- clipboard support
- multi-cursor
Please go to the 'releases' section of this git repository.
- Install Rust: https://www.rust-lang.org/tools/install
- Run
cargo install hop-editor
- Install Rust: https://www.rust-lang.org/tools/install
- Clone this repository
- From the newly created directory, run
cargo install --path .
See how-to-use.md in the assets folder.
hop relies on external executables for clipboard management.
If this is a problem for you, try setting internal-clipboard to true in your config.
hopwill try to copy usingwl-copy, then usingxclip, then usingpbcopy.
hopwill try to paste usingwl-paste, then usingxclip, then usingpbpaste.
When Ctrl+Shift+V is pressed, your terminal should spontaneously input characters from a clipboard as if they were pressed;
hopdoes nothing special in this process.
The path of the configuration file can be specified with the -c argument.
By default, this path is ~/.config/hop.toml.
Please check out the default config file in assets from the git repo.
There you will also find a default syntax file.
internal-clipboard: set totrueif you don't want to use the system-wide clipboardmax-cursor-lines: max number of lines that the cursor list can take in left panelhide-folders: list of folders to hide in the file treesyntax-file: path to a syntax file for syntax highligtingtree-width: number of columns for the file treebackground: hexadecimal color code for the backgroundsyntax: map of syntax token types to hexadecimal color codeshover: hexadecimal color code for hovering color (tree & tabs)
I openly accept PRs for syntax highlighting changes.
For everything else, please file an issue first.
