Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I run trough the tabs in Notepad++ easily? I like to use Ctrl+PgUp/Down like in Firefox.

share|improve this question
add comment

migrated from stackoverflow.com Jun 20 '11 at 0:24

This question came from our site for professional and enthusiast programmers.

4 Answers

up vote 26 down vote accepted

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:

http://superuser.com/questions/137230/switching-to-tabs-to-the-right-or-left-of-the-current-tab-in-notepad

Wish I'd seen that first! :)

share|improve this answer
    
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! –  Sk606 Nov 26 '12 at 18:19
    
The settings weren't sticking for me after closing notepad++ but I found the solution here: ehc.ac/p/notepad-plus/bugs/938 –  advocate Aug 19 '13 at 16:37
add comment

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

share|improve this answer
    
And also don't forget to disable "Document Switcher" in preference. –  user1032613 Apr 1 '13 at 21:52
add comment

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

From All the keyboard shortcuts

Ctrl+Tab switches between 2 documents.

share|improve this answer
    
*** Sigh *** lol –  Mazzi Feb 17 '10 at 7:17
add comment

To enable Ctrl+PgUp/Down tab-switching behaviour, use AutoHotkey script:

#IfWinActive, ahk_class Notepad++
^PgDn::send {XButton2}
^PgUp::send {XButton1}

This script has a minor bug: when Notepad++ window is focused but the mouse pointer is placed outside of it, then the AutoHotkey {XButton2} will go to the window over which the mouse pointer floats. (Has anybody found a better solution?)

This script is based on the one taken from this blog.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.