Michael Davis 71b6cc4d17
Implement a Component command for closing a buffer picker buffer
This is a basic example of a remappable command specific to a single
Component. It could be remapped like so:

    ```toml
    [keys.buffer-picker]
    C-d = "close_buffer_in_buffer_picker"
    ```

This has some rough edges:

* Can we namespace the commands so they don't all have to be very long
  and specific about which component they work for?
* How can we make this work for generics?
    * We can't define commands that operate on a `Picker<_>` for
      example. This example only works because we're using a
      `Picker<BufferMeta>`.
    * For Pickers and Menus we could use a `Vec<Box<dyn Item>>` and drop
      the generics but that would lose static dispatch.
    * Could we separate the part that needs generics into a different
      struct and have the functions operate on that?
2023-06-25 14:45:21 -05:00
2023-06-23 00:19:40 +02:00
2023-05-18 16:01:26 +09:00
2023-04-17 15:36:04 -05:00
2023-05-18 21:58:17 +02:00
2022-02-25 18:01:47 +09:00
2022-08-03 08:21:51 -05:00
2022-07-26 10:22:28 +09:00
2023-05-11 11:30:46 +09:00
2021-05-11 01:44:00 +09:00
2022-12-02 12:06:17 +09:00
2023-03-05 15:54:02 +09:00
2022-03-30 00:16:57 +09:00
2023-05-18 16:01:26 +09:00

Helix

Build status GitHub Release Documentation GitHub contributors Matrix Space

Screenshot

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.

Troubleshooting

Features

  • Vim-like modal editing
  • Multiple selections
  • Built-in language server support
  • Smart, incremental syntax highlighting and code editing via tree-sitter

It's a terminal-based editor first, but I'd like to explore a custom renderer (similar to Emacs) in wgpu or skulpin.

Note: Only certain languages have indentation definitions at the moment. Check runtime/queries/<lang>/ for indents.scm.

Installation

Installation documentation.

Packaging status

Contributing

Contributing guidelines can be found here.

Getting help

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).

Credits

Thanks to @JakeHL for designing the logo!

Description
A post-modern modal text editor.
Readme 89 MiB
Languages
Rust 81.9%
Scheme 17.1%
Handlebars 0.4%
Nix 0.3%
CSS 0.1%