Shortcut to select word and repeat select on other occurrences
Author: eleonoracastelliCreated Sep 3, 2026Updated Sep 16, 2026
Labelscomponent:Editortype:Featurecomponent:Find and Replace
Problem description
I can't find a keyboard shortcut that allows me to select one word and to repeat select on other occurrences of the same word. This is a feature that is available in editors such as Sublime Text as CTRL + D on Windows/Linux (https://docs.sublimetext.io/reference/keyboard_shortcuts_win.html) and CMD + D on MacOS.
This is rather useful when there is the need to renominate a series of variables at one time (e.g. copy paste a snippet of code for a plot and change the plotted variable).
Versions
- Spyder 6.1.7
- Python 3.12.11 64-bit
- Qt 5.15.15
- PyQt5 5.15.11
- OS: Xubuntu 24.04 Linux 6.8.0-138-generic (x86_64)
Source: spyder-ide/spyder