Virtually every Windows program supports Shift+Del, Ctrl+Ins and Shift+Ins in addition to Ctrl+X, Ctrl+C and Ctrl+V. Those Ins/Del shortcuts are way back from the days of the DOS, so a lot of people got used to them (including me).
Luckily, you can assign multiple shortcuts to a command in Notepad++, despite the fact that Shortcut Mapper looks like as if you can't. The way to do it is to record a single-command macro and assign your favourite shortcut to it.
For example, start Notepad++.
Select "Macro -> Start Recording" from the menu.
Press Ctrl+C to record the "copy" command.
Select "Macro -> Stop Recording" from the menu.
Select "Macro -> Save current recorded macro" from the menu.
In the dialog box set the Name field = "Copy" and make the shortcut = Ctrl+INS.
Click OK.
You will see the new command and the shortcut listed at the bottom of the "Macro" menu.
The macros are stored in the "shortcuts.xml" configuration file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The macro will still work as before, because it does not replay the keyboard shortcut, but rather sends the "copy" command code to the Scintilla component.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good to know that I must "repair" the missing shortcuts through macro.
Since create those macros is really a tedious task (think it repeated on 10+ PCs), I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Since create those macros is really a tedious task (think it repeated on 10+ PCs),
> I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
No, they won't.
But you can copy your shortcut.xml in 10+ PCs.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Since create those macros is really a tedious task (think it repeated on 10+ PCs),
> I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
I just tried v1.75, indeed they're the shorcuts supported in this (and older) version.
I'll see what can I do about it in v4.8.1.
Harry, I believe this regression is due to the enhancement of shortcut mapper.
Could you give me an hint?
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, the current shortcutmapper doesnt really allow duplicates in its current state
(duplicates in this way that is, the other way (same shortcut-multiple items) is possible though it will never work)
Im cooking up a patch in an attempt to fix this, so if its possible please wait until I got this sorted out.
-Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You really should consider bringing back these shortcuts (i.e., Shift+Ins, etc).
I can't think of *ANY* windows editor that does not support these. I love Notepad ++, but I may have to switch to something else if it doesn't work like I'm used to. :-(
-Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Virtually every Windows program supports Shift+Del, Ctrl+Ins and Shift+Ins in addition to Ctrl+X, Ctrl+C and Ctrl+V. Those Ins/Del shortcuts are way back from the days of the DOS, so a lot of people got used to them (including me).
Luckily, you can assign multiple shortcuts to a command in Notepad++, despite the fact that Shortcut Mapper looks like as if you can't. The way to do it is to record a single-command macro and assign your favourite shortcut to it.
For example, start Notepad++.
Select "Macro -> Start Recording" from the menu.
Press Ctrl+C to record the "copy" command.
Select "Macro -> Stop Recording" from the menu.
Select "Macro -> Save current recorded macro" from the menu.
In the dialog box set the Name field = "Copy" and make the shortcut = Ctrl+INS.
Click OK.
You will see the new command and the shortcut listed at the bottom of the "Macro" menu.
The macros are stored in the "shortcuts.xml" configuration file.
What will the effect be when changing the original shortcut after recording the macro?
If I change CTRL+C to clear my document, for example, which action will the recorded macro execute after that?
The macro will still work as before, because it does not replay the keyboard shortcut, but rather sends the "copy" command code to the Scintilla component.
Good to know that I must "repair" the missing shortcuts through macro.
Since create those macros is really a tedious task (think it repeated on 10+ PCs), I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
You may find this new plugin useful:
http://sourceforge.net/forum/forum.php?thread_id=1954095&forum_id=482781
> Since create those macros is really a tedious task (think it repeated on 10+ PCs),
> I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
No, they won't.
But you can copy your shortcut.xml in 10+ PCs.
Don
> Since create those macros is really a tedious task (think it repeated on 10+ PCs),
> I hope that Shift+Del, Ctrl+Ins and Shift+Ins macros will be included by default in future versions of Notepad++.
I just tried v1.75, indeed they're the shorcuts supported in this (and older) version.
I'll see what can I do about it in v4.8.1.
Harry, I believe this regression is due to the enhancement of shortcut mapper.
Could you give me an hint?
Don
Well, the current shortcutmapper doesnt really allow duplicates in its current state
(duplicates in this way that is, the other way (same shortcut-multiple items) is possible though it will never work)
Im cooking up a patch in an attempt to fix this, so if its possible please wait until I got this sorted out.
-Harry
Thanks for this. OI found that the Shift+Ins and Ctrl+Ins was no longer working in 4.8 to copy & paste. Glad I found this so I could add them back in.
Pat
You really should consider bringing back these shortcuts (i.e., Shift+Ins, etc).
I can't think of *ANY* windows editor that does not support these. I love Notepad ++, but I may have to switch to something else if it doesn't work like I'm used to. :-(
-Don
You could still use a previous version that works to your liking.