• Login
Community
  • Login

Is there a way to somehow jump to a document by pressing a key in the "Document list"?

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 311 Views
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.
  • C
    Cletos
    last edited by May 1, 2024, 11:30 AM

    Is there a way to somehow jump to a document by pressing a key in the “Document list”? E.g. pressing P would jump to the first txt file in that list beginning with a P.
    [IMG]https://i.imgur.com/gSXDtbc.png[/IMG]
    https://i.imgur.com/gSXDtbc.png

    P 1 Reply Last reply May 1, 2024, 2:16 PM Reply Quote 0
    • P
      PeterJones @Cletos
      last edited by PeterJones May 1, 2024, 3:01 PM May 1, 2024, 2:16 PM

      @Cletos said in Is there a way to somehow jump to a document by pressing a key in the "Document list"?:

      [IMG]https://i.imgur.com/gSXDtbc.png[/IMG]

      This forum uses “Markdown” syntax, not “BBCode”.

      If you don’t want to use the “image link” button (the button that looks like a landscape painting on the edit-your-post toolbar), then the syntax you should use is:

      ![](https://i.imgur.com/gSXDtbc.png)
      

      which would have shown as

      Now, on to your question:

      Is there a way to somehow jump to a document by pressing a key in the “Document list”? E.g. pressing P would jump to the first txt file in that list beginning with a P.

      That is how it works, as long as you have clicked on the Document List panel.

      Your screenshot shows it’s not the active panel, so your keystrokes are currently being seen by some other panel (or your editing window).

      But if you click on the Document List title, it will change to a highlighted title bar, like:
      e15b9700-99e8-4a85-a0b4-554a37de276a-image.png
      … at which point, hitting a or b or c will go to the file starting with that.

      • You can then hit ENTER to activate that file (which will also move your typing to be in that file, rather than in Document List).
      • Or you can use an up/down arrow to navigate to a different one first.
      • To be able to type a letter again, once you’ve already letter-navigated to one (for example, if you had typed c and changed your mind and want to go to a instead), you need to either click on the Document List title bar again, or use an arrow (up/down/left/right) before typing. So doing c then right arrow then a will navigate you to c, then apparently do nothing, then navigate you to a.

      (The Document List paragraph in the User Manual doesn’t currently describe that keyboard navigation. That’s now on my todo list. Update: it’s done; the paragraph had gotten too big, so it got split into the new Document List Panel Details subsection, with more details on keyboard navigation.)

      C 1 Reply Last reply May 1, 2024, 7:32 PM Reply Quote 3
      • C
        Cletos @PeterJones
        last edited by May 1, 2024, 7:32 PM

        OK, very sorry for the wrong code, just habit. Many thanks for correcting!

        That is how it works, as long as you have clicked on the Document List panel.

        OK, yes, just clicking an item in the list and pressing any key does not work (that’s what I tried).

        But if you click on the Document List title, it will change to a highlighted title bar, like:
        Maybe such a mouse over hover field, don’t know the name, saying this would be good. Is there a shortcut which could do what that mouse click does?

        Many thanks, also for updating the help.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors