3

Is it possible to use multiple letters in a shortcut in Notepad++. The UI does not seem to support this. For example, I'd like to create the following shortcut:

ctrl + a + b
Suraj
  • 35,905
  • 47
  • 139
  • 250
  • The UI doesn't expose this, and the [community docs](http://npp-community.tuxfamily.org/documentation/notepad-user-manual/settings/shortcut-mapper) seem to indicate that shortcuts are limited to a single letter, so it seems unlikely that this is possible. – Derek Park Feb 08 '12 at 22:02
  • @Derek - can you add as answer so I can give you credit? – Suraj Feb 08 '12 at 23:26
  • don't worry about it. Demoncodemonkey's suggestion of Autohotkey might be worth your upvote / accept, though. Give that a try and see if it works well for your purposes. – Derek Park Feb 09 '12 at 00:37

3 Answers3

1

I can tell that Notepad++ seems to support multi-letter shortcuts by looking its default shortcuts; for example Ctrl-Shft-S is the shortcut of 'Save All'.

After digging the Shortcut Mapper of Notepad++ a little bit, I have concluded that you can create multi-letter shortcuts either CTRL + SHIFT + KEY format OR ALT + SHIFT + KEY format.

Check the image:

enter image description here

You can read here for further information about the 'Notepad++ Shorcut Mapper'

Korhan Ozturk
  • 11,148
  • 6
  • 36
  • 49
  • These are multi-key shortcuts, not multi-letter shortcuts. I want to do something like CTRL+A+B – Suraj Feb 08 '12 at 22:40
  • It doesn't look possible then (at least from Shortcut Mapper). Have you tried modifying shortcuts.xml file? – Korhan Ozturk Feb 08 '12 at 22:45
  • I'm not sure what I would modify. The Ctrl/Alt/Shift attributes are all booleans and the Key attribute seems to take a character code – Suraj Feb 08 '12 at 23:26
1

I think your best bet is to use some external keyboard macro engine to trigger a certain command when a key sequence is pressed.

It looks like you can do it with Autohotkey, check here for an example.

Community
  • 1
  • 1
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
  • thanks! I prefer not to install/manage another program, but this seems to be the only workaround – Suraj Feb 09 '12 at 00:55
1

It seems that this is not possible from within notepad++

Suraj
  • 35,905
  • 47
  • 139
  • 250