Community
    • Login

    Shortcut key or toolbar button to quickly toggle Document List Panel?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 4.3k Views 2 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.
    • taa1T Offline
      taa1
      last edited by

      Hi All,

      The only way I have found to show the Document List Panel is by going to Settings->Preferences->Document List Panel->click on Show. When I want to temporarily recover the real estate taken up by the panel, I’ll click on the “x” in the upper right to close it. Then when I want to show the Document List Panel again, I have to go through Settings again. There’s got to be a quicker way. :D

      I’ve looked at Settings->Shortcut Mapper, and the Customize Toolbar plugin, but don’t see a way to do this. If I had to choose, I’d like to be able to have a toolbar button to toggle it.

      This seems like an odd omission considering how customizable Notepad++ is in other respects, but maybe there’s a reason there’s been no toggle in the past?

      This was asked in Escape Key for the Document Switcher (Ctrl+TAB) but that thread ultimately had a different solution.

      1 Reply Last reply Reply Quote 0
      • BoozyB Offline
        Boozy
        last edited by Boozy

        I was actually looking for this feature and I couldn’t even find it or knew it existed until I came here to the n++ community and searched and found the OP… I may not even have found anything if not posted 38 minutes ago… (do your own search for “document list” and see what you find if it not the OP – https://notepad-plus-plus.org/community/search/document list?in=titlesposts)

        Anyways, this should even be a preference, this should be found under /View, right next to [Document Map].

        signed…
        Long time TextPad user, who might press F11 but never actually has, since “Document Selector” has always been on and actually a default.

        1 Reply Last reply Reply Quote 0
        • MAPJe71M Offline
          MAPJe71
          last edited by

          I’m using the LuaScript plugin with the following code in the startup.lua:

          npp.AddShortcut("Toggle Doc Switcher", "", function()
              npp:ShowDocSwitcher( not npp:IsDocSwitcherShown() )
          end)
          

          and added a button to the toolbar using the CustomizeToolbar plugin but you could also define a shortcut as second parameter to AddShortcut in the code above.

          1 Reply Last reply Reply Quote 1
          • taa1T Offline
            taa1
            last edited by

            Hi @MAPJe71,

            Thank you for this! i want to try it out. I’ve never used the LuaScript plugin before. I’ve installed it but where do I find startup.lua?

            1 Reply Last reply Reply Quote 0
            • MAPJe71M Offline
              MAPJe71
              last edited by

              Plugins - LuaScript - Edit Startup Script.

              1 Reply Last reply Reply Quote 1

              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