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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login