Menu

Shortcut for plugin functions

mauri
2006-09-01
2012-11-14
  • mauri

    mauri - 2006-09-01

    Hi!
    I've found a similar thread in the Help forum but nobody gives a reply.
    Sorry if this question is already posted, I've not found the right thread.

    Here is my (stupid?) question.
    Is it possible to assign a custom shortcut to a function in the plugin menu?
    Many of this functions doesn't have a shortcut mapped.
    For example, if I must use many time the 'TextFX Edit' -> 'Unwrap text' command, can I assign to this function a shortcut?

    I've also tried with a macro but it not works.

     
    • Don HO

      Don HO - 2006-09-02

      In the current version (v3.8) there's no way to assign a shortcut to a plugin command via Notepad++.

      It'll be however in the future version.

      Don

       
      • Nobody/Anonymous

        v4.0 has now come out, but still I cannot figure out how to do that, or how to access a plugin function with macros.

         
        • Don HO

          Don HO - 2007-01-29

          You can NOT record plugins commands in your macro.
          But you can modify the shortcuts of plugins commands via Shortcut mapper in v4.0.

          Don

           
          • Nobody/Anonymous

            Shortcuts are still not available for TextFX commands.

             
            • Don HO

              Don HO - 2007-02-03

              I just tested it with v4.0, and I confirm you that you can modify all the TextFX shorcuts via shortcut mapper.

              Don

               
              • Rocky

                Rocky - 2007-02-05

                One dummy question - is there a way to add shortuct for item, that doesn't have defined shortcut?
                For example I want to add shortcut for 'Plugins->XML Tools->Pretty print with line breaks'.
                I guess it is not possible this to be configured in shortcut mapper because only already defined shortcuts can be altered?
                Another question - can it be added to the context menu? I.e. is there 'id' for Plugin menu, so that I can use the context menu configuration described in http://notepad-plus.sourceforge.net/uk/contextMenu-HOWTO.php ?

                Regards,
                Rocky

                 
                • Nobody/Anonymous

                  (Version 4.2.2)

                  Hello,
                  i'm searching for a way to add a shortcut to the TextFx plugin too. I want to use the function "Delete blank lines" with one key, as i have to use it very often.

                  Macro recorder sadly not recort plugin functions.

                  The often named "Shortcut Mapper" doesn't allow to append new commands and don't use plugins either.

                  Pleasy give me a hint how i map a key to a plugin function. I love notepadd++ very much and i'm sad that i have to click for most used functions ever and ever again.

                  Bye
                  Bernhard

                   
                  • Nobody/Anonymous

                    I agree that mapping configuration require more detailed documentation, especially in plugin parts. Maybe very usefull will have some type of internal action that allow to gather menu codes.
                    But currently (v4.2.2) it is possible only change exists plugins mappings but does not possible to create new.

                     
  • David Noonan

    David Noonan - 2010-03-20

    I'm looking for the same functionality.  The ability to add a shortcut either directly to a TextFX action or to put the TextFX in a macro and put a shortcut on that.

    (and yes, I'm spamming this comment on many threads that have gone unanswered)

     
  • cchris

    cchris - 2010-03-20

    It is fairly easy though: go to Settings -> Shortcut mapper, look for the command of your choice in the left hand column, right click and Modify it.

    Putting a plugin command in a macro may work in some simple cases, but not too often.

    CChris

     
MongoDB Logo MongoDB