How to use Multiple Cursors (aka Multi-Editing) using Keyboard?
Is it possible to use Multiple Cursors (aka Multi-editing in Notepad++ Preferences > Editing) using Keyboard shortcut?
For example, I can do Column editing mode using ALT + Shift + Up/Down arrows.
Is there a way to do the same somehow for Multi Cursors? I can use Mouse click and it works find, but was wondering if there is a faster way to do so?
PeterJones last edited by
Not that I am aware of.
I am not sure how that would even work.
With column-mode, you are arrowing through the box region you want to select, so you’re always “inside” the selection.
With multi-select Ctrl+Click, you are literally clicking at multiple locations; I am not sure how you would be able to tell Notepad++ “I want to click HERE, THERE, and ANOTEHR”, with only using the keyboard.
@peterjones, here is one test case that I was trying. Let’s say, I want to add
<li>tag to the following lines. If I use Column edit mode, I cannot effectively go to end of the line to add closing tag
</li>. However, Multi-editing mode allows me to go to end of word using
Ctrl + Right Arrow. However, I have to select the beginning of each line with
Ctrl + Mouse Click, which I prefer to use keyboard shortcut.
I understand, there are other ways to do the same, I was just wondering if there is a way to do it through multi-editing feature.
<li>monday</li> <li>tuesday</li> <li>wednesday</li> <li>thursday</li>
(note: this is a simplified example.)
Michael Vincent last edited by
@amit said in How to use Multiple Cursors (aka Multi-Editing) using Keyboard?:
However, Multi-editing mode allows me to go to end of word using Ctrl + Right Arrow. However, I have to select the beginning of each line with Ctrl + Mouse Click, which I prefer to use keyboard shortcut.
I think you want to install the “BetterMultiSelection” plugin based on what I think you’re asking.
astrosofista last edited by
@Michael-Vincent is right, that is easily doable with the
BetterMultiSelectionplugin. After making the multiselection at the start of the lines and typing
<li>, just press the
endkey to move to the end of the lines. Then you can type the ending tags.
Here are links for more advanced examples involving the
Khatri Vinay last edited by
This post is deleted!
@astrosofista @Michael-Vincent, thank you. I will look into this and will try it out. Appreciate it.