36

How can I make control-tab (and control-shift-tab) behave sensibly in Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the right, control-shift-tab to the tab to the left. Currently they change tab seemingly at random.

1

2 Answers 2

47
  1. Browse the menu Settings > Preferences > MISC.
  2. Look for the box Document Switcher
  3. Uncheck "Enable" checkbox (that will untick "Enable MRU behaviour" too)
2
  • 14
    MRU is Most Recently Used. It switches between the tabs based on which ones were used most recently.
    – Dracs
    Aug 20, 2012 at 10:43
  • 1
    MRU = Many Regrets Unable, obviously.
    – user1655234
    Dec 15, 2022 at 3:57
3

This answer by Luke Scammell has a very full explanation, as well as instructions for creating your own preferred keyboard shortcuts (I prefer Alt+LeftArrow and Alt+RightArrow).

Note that in the current version of NP++ (6.6.7) the lines to change in Settings / Shortcut Mapper are lines 219/220 (about 7 up from bottom of list).

Also, Luke includes an autohotkey macro/script that allows you to retain the default NP++ behaviour, but still use your preferred keyboard shortcuts in addition to the defaults.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .