mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 05:48:49 +02:00
add name
to $env.config.keybindings
(#14159)
# Description This PR adds the `name` column back to keybindings. This may be considered a hack since the reedline keybinding has no spot for name, but it seems to work.
This commit is contained in:
@ -5,6 +5,7 @@ use crate::{engine::Closure, FromValue};
|
||||
/// Definition of a parsed keybinding from the config object
|
||||
#[derive(Clone, Debug, FromValue, IntoValue, Serialize, Deserialize)]
|
||||
pub struct ParsedKeybinding {
|
||||
pub name: Option<Value>,
|
||||
pub modifier: Value,
|
||||
pub keycode: Value,
|
||||
pub event: Value,
|
||||
|
Reference in New Issue
Block a user