diff --git a/spyder_vim/spyder/plugin.py b/spyder_vim/spyder/plugin.py index 4639591..e58afe6 100644 --- a/spyder_vim/spyder/plugin.py +++ b/spyder_vim/spyder/plugin.py @@ -68,6 +68,11 @@ def on_editor_available(self): editor.editorsplitter, self.vim_cmd.commandline.setFocus) sc.setContext(Qt.WidgetWithChildrenShortcut) + sc2 = QShortcut( + QKeySequence(Qt.META + Qt.Key_BracketLeft), + editor.editorsplitter, + self.vim_cmd.commandline.setFocus) + sc2.setContext(Qt.WidgetWithChildrenShortcut) def check_compatibility(self): valid = True