How can I switch tabs in Notepad++ via Ctrl+PgUp/Down?

961

Solution 1

I'm using Notepad++ version 5.7, and it's simple to change the behavior to do exactly what you're looking for -- use Ctrl+PgUp/PgDown to change tabs just like in Firefox. Here's how:

Step 1: Click Settings | Shortcut Mapper... and make sure "Main menu" is highlighted at the top of the window. Then scroll to the very bottom of the list, and find the line that says "Switch to previous document". Double click on it's current shortcut value, and in the window that comes up change the shortcut to "Ctrl + Page up". Similarly, change the shortcut for "Switch to next document" to "Ctrl + Page down".

Step 2: Click Settings | Preferences... | MISC. tab. In the "Document Switcher (Ctrl+TAB)" box, uncheck "Enable MRU behavior". This is needed so that switching to the next/previous document will switch to an adjacent tab, rather than switching to the Most Recently Used tab.

EDIT: shoot, this question is answered far better here:

Switching to tabs to the right or left of the current tab in Notepad++

Wish I'd seen that first! :)

Solution 2

Use Ctrl + Tab . Same will apply to most tabbed applications. :)

Solution 3

Use Cntrl+Shft+Tab to run through the documents.

From All the keyboard shortcuts

Ctrl+Tab switches between 2 documents.

Share:
961

Related videos on Youtube

Shuai Wang
Author by

Shuai Wang

Updated on September 17, 2022

Comments

  • Shuai Wang
    Shuai Wang over 1 year

    I put some data into elasticsearch through logstash. Then I run the first command:

    curl 'http://localhost:9200/_search?q=traceID=1428074818422&pretty=true'
    

    the elasticsearch return the result that which traceID is 1428074818422.

    But when I use the second command:

    curl 'http://localhost:9200/_search?pretty=true' -d'{
        "query":{
        "term" : {"traceID" : "1428074818422"}
        }
    }'
    

    the elastcsearch can not find any result.

    I want to kown the reason about this problem and how can I solve it,thanks.

    • Yogesh
      Yogesh about 9 years
      is your traceId string or number? try to pass number instead of string.
    • Olly Cruickshank
      Olly Cruickshank about 9 years
      your first query should be written as follows curl 'http://localhost:9200/_search?q=traceID:1428074818422&prett‌​y=true' - note the colon after traceID. So possibly the first query isn't returning the right data anyway?
    • Shuai Wang
      Shuai Wang almost 9 years
      yeah , u are right, but how about the second query?
  • Sk606
    Sk606 over 11 years
    In step 2, you'll want to uncheck "Enable" to disable the document switcher. This matches what the link above says too. Anyway, thanks for the info!
  • user1032613
    user1032613 about 11 years
    And also don't forget to disable "Document Switcher" in preference.
  • Erik Bergstedt
    Erik Bergstedt over 8 years
    Ctrl+Tab is smart tab, Ctrl+PgUp/Down is cycling tabs in order.
  • DavidPostill
    DavidPostill over 7 years
    Can you explain what your plugin actually does? There is no readme on your github site ...
  • Oleksii Maryshchenko
    Oleksii Maryshchenko over 7 years
    @DavidPostill, This plugin is something like NavigateTo in Visual Studio but it is more simple. It allows you to quickly search and navigate between opened files(tabs).
  • Oleksii Maryshchenko
    Oleksii Maryshchenko over 7 years
  • Ramhound
    Ramhound over 7 years
    @OleksiiMaryshchenko - You have multiple identical answers, that all recomend your software, and none of the follow the guidlines to software recomendations here at Supuser. On top of that, you only need one answer that suggests you tool, flag the other questions as duplicates as the one question you answer. You should Improve the quality of your answers
  • Oleksii Maryshchenko
    Oleksii Maryshchenko over 7 years
    @Ramhound , Done