Skip to content

Commit c1cffc2

Browse files
committed
Add key binding 'ctrl+['
1 parent 1d18445 commit c1cffc2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

spyder_vim/spyder/plugin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ def on_editor_available(self):
6868
editor.editorsplitter,
6969
self.vim_cmd.commandline.setFocus)
7070
sc.setContext(Qt.WidgetWithChildrenShortcut)
71+
sc2 = QShortcut(
72+
QKeySequence(Qt.META + Qt.Key_BracketLeft),
73+
editor.editorsplitter,
74+
self.vim_cmd.commandline.setFocus)
75+
sc2.setContext(Qt.WidgetWithChildrenShortcut)
7176

7277
def check_compatibility(self):
7378
valid = True

0 commit comments

Comments
 (0)