mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Add "space" key to bind in vi normal mode (#6590)
* Add "space" key to bind in vi normal mode Implements #6586 No special logic to prevent you from binding it in other modes! Needs a separate change to reedline to make it available in the default listing of `keybindings list`. * Update reedline to report the available `space` Pulls in nushell/reedline#486
This commit is contained in:
committed by
GitHub
parent
71844755e5
commit
9aed95408d
@ -20,8 +20,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.68.2" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.68.2" }
|
||||
nu-ansi-term = "0.46.0"
|
||||
nu-color-config = { path = "../nu-color-config", version = "0.68.2" }
|
||||
# reedline = { version = "0.11.0", features = ["bashisms", "sqlite"]}
|
||||
reedline = { git = "http://github.com/nushell/reedline", rev = "9a6fdd7", features = ["bashisms", "sqlite"]}
|
||||
reedline = { version = "0.11.0", features = ["bashisms", "sqlite"]}
|
||||
|
||||
atty = "0.2.14"
|
||||
chrono = "0.4.21"
|
||||
|
@ -666,6 +666,7 @@ fn add_parsed_keybinding(
|
||||
|
||||
KeyCode::Char(char)
|
||||
}
|
||||
"space" => KeyCode::Char(' '),
|
||||
"down" => KeyCode::Down,
|
||||
"up" => KeyCode::Up,
|
||||
"left" => KeyCode::Left,
|
||||
|
@ -87,8 +87,7 @@ unicode-segmentation = "1.8.0"
|
||||
url = "2.2.1"
|
||||
uuid = { version = "1.1.2", features = ["v4"] }
|
||||
which = { version = "4.3.0", optional = true }
|
||||
# reedline = { version = "0.11.0", features = ["bashisms", "sqlite"]}
|
||||
reedline = { git = "http://github.com/nushell/reedline", rev = "9a6fdd7", features = ["bashisms", "sqlite"]}
|
||||
reedline = { version = "0.11.0", features = ["bashisms", "sqlite"]}
|
||||
wax = { version = "0.5.0", features = ["diagnostics"] }
|
||||
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
|
||||
sqlparser = { version = "0.23.0", features = ["serde"], optional = true }
|
||||
|
Reference in New Issue
Block a user