You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term
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?
1 year ago
..
src Implement a Component command for closing a buffer picker buffer 1 year ago
tests Add config for default line ending (#5621) 1 year ago
.gitignore Initial import. 4 years ago
Cargo.toml build(deps): bump libc from 0.2.145 to 0.2.146 (#7327) 1 year ago
build.rs feat(lsp): pass client_info on initialization (#4904) 2 years ago