Hidden shortcut ctrl+} ?
-
increase line indent
, i’d like to bindctrl+}
to this function, just like in VSCode. I tried bind another shortcut, and linkctrl+}
to it with autohotkey. However, it failed, then I foundctrl+}
seems to be a hidden shortcut in NPP, jumping to next code block (separated with blank line).Is that so? Any way to modify hidden shortcut? Please give me a hand.
-
@ydqsbfsyi said in Hidden shortcut ctrl+} ?:
increase line indent
, i’d like to bindctrl+}
to this function, just like in VSCode. I tried bind another shortcut, and linkctrl+}
to it with autohotkey. However, it failed, then I foundctrl+}
seems to be a hidden shortcut in NPP, jumping to next code block (separated with blank line).Is that so? Any way to modify hidden shortcut? Please give me a hand.
If you’re using a typical US keyboard, that would be
Ctrl+Shift+]
, which on my installation is in Shortcut Mapper on the Scintilla Commands tab as#27, SCI_PARADOWNEXTEND
. If yours is the same, you could remove it there, then add it on the Main Menu tab.However, you should be able to find this out by trying to add it on the Main Menu tab. On my system, if I select Increase Line Indent and attempt to add
Ctrl+Shift+]
the dialog tells meCONFLICT FOUND!
and the text box at the bottom of the dialog shows:
Scintilla Commands | 27 SCI_PARADOWNEXTEND (Ctrl+Shift+])
which describes the conflict.If
}
is notCtrl+Shift+]
on your keyboard, then, of course, you’ll need to use whatever combination it is.If the base character (the one on the key) is not on the list of characters from which you can choose, then that sounds like a bug which should be reported.
-
@Coises Oh, I see, shift+] = }
Now it works.
Much appreciated!