Community
    • Login

    Hidden shortcut ctrl+} ?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 780 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y Offline
      ydqsbfsyi
      last edited by

      increase line indent, i’d like to bind ctrl+} to this function, just like in VSCode. I tried bind another shortcut, and link ctrl+} to it with autohotkey. However, it failed, then I found ctrl+} 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.

      CoisesC 1 Reply Last reply Reply Quote 0
      • CoisesC Offline
        Coises @ydqsbfsyi
        last edited by

        @ydqsbfsyi said in Hidden shortcut ctrl+} ?:

        increase line indent, i’d like to bind ctrl+} to this function, just like in VSCode. I tried bind another shortcut, and link ctrl+} to it with autohotkey. However, it failed, then I found ctrl+} 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 me CONFLICT 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 not Ctrl+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.

        Y 1 Reply Last reply Reply Quote 1
        • Y Offline
          ydqsbfsyi @Coises
          last edited by

          @Coises Oh, I see, shift+] = }
          Now it works.
          Much appreciated!

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors