Expand ctrl-w/ctrl-u/ctrl-h context from Picker>Editor to Editor

This commit is contained in:
Peter Tripp 2025-08-18 16:18:15 -04:00
parent 7422e7a141
commit 797b7f4987

View file

@ -733,6 +733,14 @@
"escape": "buffer_search::Dismiss"
}
},
{
"context": "Editor",
"bindings": {
"ctrl-h": "editor::Backspace",
"ctrl-u": "editor::DeleteToBeginningOfLine",
"ctrl-w": "editor::DeleteToPreviousWordStart"
}
},
{
"context": "VimControl || !Editor && !Terminal",
"bindings": {
@ -869,14 +877,6 @@
"shift-n": null
}
},
{
"context": "Picker > Editor",
"bindings": {
"ctrl-h": "editor::Backspace",
"ctrl-u": "editor::DeleteToBeginningOfLine",
"ctrl-w": "editor::DeleteToPreviousWordStart"
}
},
{
"context": "GitCommit > Editor && VimControl && vim_mode == normal",
"bindings": {
@ -906,11 +906,5 @@
// and Windows.
"alt-l": "editor::AcceptEditPrediction"
}
},
{
"context": "Pane",
"bindings": {
"ctrl-w": "editor::DeleteToPreviousWordStart"
}
}
]