Sane control-tab behaviour in Notepad++

19

5

How can I make control-tab (and control-shift-tab) behave sensibly 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.

Colonel Panic

Posted 2012-08-20T08:44:15.237

Reputation: 9 529

Since asking this question I defected to the editor Sublime Text http://www.sublimetext.com/3

– Colonel Panic – 2014-01-29T21:04:27.413

Answers

25

  1. Browse the menu Settings / Preferences / Misc
  2. Look for the box Document Switcher
  3. Uncheck both 'Enable' and 'Enable MRU behaviour' (whatever that is)

Colonel Panic

Posted 2012-08-20T08:44:15.237

Reputation: 9 529

8MRU is Most Recently Used. It switches between the tabs based on which ones were used most recently. – Dracs – 2012-08-20T10:43:55.727

1

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.

cssyphus

Posted 2012-08-20T08:44:15.237

Reputation: 1 067