| Crates.io | hop-editor |
| lib.rs | hop-editor |
| version | 1.1.0 |
| created_at | 2025-08-03 20:09:43.245708+00 |
| updated_at | 2025-08-14 21:38:31.688369+00 |
| description | terminal code editor |
| homepage | |
| repository | https://github.com/NathanRoyer/hop-editor |
| max_upload_size | |
| id | 1780062 |
| size | 161,078 |
hop EditorThis 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
clipboard support
multi-cursor
Please go to the 'releases' section of this git repository.
cargo install hop-editorInstall 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.
hop will try to copy using wl-copy, then using xclip, then using pbcopy.hop will try to paste using wl-paste, then using xclip, then using pbpaste.
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 to true if you don't want to use the system-wide clipboard
max-cursor-lines: max number of lines that the cursor list can take in left panel
hide-folders: list of folders to hide in the file tree
syntax-file: path to a syntax file for syntax highligting
tree-width: number of columns for the file tree
background: hexadecimal color code for the background
syntax: map of syntax token types to hexadecimal color codes
hover: hexadecimal color code for hovering color (tree & tabs)
I openly accept PRs for syntax highlighting changes.
For everything else, please file an issue first.