Yank with line numbers to clipboard
Useful for creating snippets in documentations.
Looks like this:
File:helix-term/src/commands.rs
4530: fn yank_with_line_numbers_to_clipboard(cx: &mut Context) {
4531: yank_with_line_numbers_impl(cx, '+');
4532: }
4533:
4534: fn yank_with_line_numbers_to_primary_clipboard(cx: &mut Context) {
4535: yank_with_line_numbers_impl(cx, '*');
4536: }
4537:
4538: fn yank_with_line_numbers_impl(cx: &mut Context, register: char) {
4539: let (view, doc) = current!(cx.editor);
4540: let file = doc
A Kakoune / Neovim inspired editor, written in Rust.
The editing model is very heavily based on Kakoune; during development I found myself agreeing with most of Kakoune's design decisions.
For more information, see the website or documentation.
All shortcuts/keymaps can be found in the documentation on the website.
- Vim-like modal editing
- Multiple selections
- Built-in language server support
- Smart, incremental syntax highlighting and code editing via tree-sitter
Although it's primarily a terminal-based editor, I am interested in exploring a custom renderer (similar to Emacs) using wgpu or skulpin.
Note: Only certain languages have indentation definitions at the moment. Check
runtime/queries/<lang>/
for indents.scm
.
Contributing guidelines can be found here.
Your question might already be answered on the FAQ.
Discuss the project on the community Matrix Space (make sure to join #helix-editor:matrix.org
if you're on a client that doesn't support Matrix Spaces yet).
Thanks to @jakenvac for designing the logo!