Skip to content

Commit

Permalink
Add shortcut to clear extra cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
athompson673 committed Jan 10, 2025
1 parent 2310863 commit 55c29d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spyder/config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@
'editor/run selection in debugger': CTRL + '+F9',
'editor/add cursor up': 'Alt+Shift+Up',
'editor/add cursor down': 'Alt+Shift+Down',
'editor/clear extra cursors': 'Esc',
# -- Internal console --
'internal_console/inspect current object': "Ctrl+I",
'internal_console/clear shell': "Ctrl+L",
Expand Down
1 change: 1 addition & 0 deletions spyder/plugins/editor/widgets/codeeditor/codeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ def register_shortcuts(self):
self.enter_array_table)),
('add cursor up', self.add_cursor_up),
('add cursor down', self.add_cursor_down),
('clear extra cursors', self.clear_extra_cursors)
)

for name, callback in shortcuts:
Expand Down

0 comments on commit 55c29d6

Please sign in to comment.