vim: Allow : in empty panes and screen shares (#10171)

Release Notes:

- vim: Fixed `:` when no files are open
This commit is contained in:
Conrad Irwin
2024-04-04 14:24:49 -06:00
committed by GitHub
parent 4a325614f0
commit 73d8a43c81
3 changed files with 15 additions and 2 deletions
+6
View File
@@ -546,6 +546,12 @@
"escape": "buffer_search::Dismiss"
}
},
{
"context": "EmptyPane || SharedScreen",
"bindings": {
":": "command_palette::Toggle"
}
},
{
// netrw compatibility
"context": "ProjectPanel && not_editing",