I am searching for a way to use the following functionality in the open source Notepad++.
In SublimeText if you press Ctrl + D (mac: cmd + D I think) this happens:
- If there is no selection then the cursor position is expanded to select that word.
- Otherwise the next occurance of that word is also selected (without the need to open a search-popup).
You then have a multi-selection of words you can change, and you have actually seen each of these places (as opposed to a select-all).
Is there any way this can be done in Notepad++ (maybe with the help of Autohotkey)?
Optional: In Sublime you can also undo each of these Ctrl + D's with Ctrl + U and skip an occurance with Ctrl + K.
Best Answer
I found this thread on the Notepad++ Community page:
https://notepad-plus-plus.org/community/topic/11360/multi-selection-and-multi-edit
They are using the python script plugin to create this functionality with the following script: