Toggle Next/Previous Window?
-
New user here. When having two files open in Notepad++, is there a keyboard shortcut to toggle between the two windows? I’ve see other editors that have Next/Previous window functions, but I can’t seem to find it here.
Thank You
-
@John-Schneider said in Toggle Next/Previous Window?:
keyboard shortcut to toggle between the two windows
Yes, use Ctrl-Pagedown or Ctrl-PageUp.
These shortcuts are listed under the Settings menu, under “shortcut mapper”, look at #165/#166. The shortcuts can be changed to suit your requirements.
Terry
-
Since Notepad++ offers the ability to have two views (one left, one right or on top, one bottom) with a separate set of tabs, it depends on what you mean with
having two files open in Notepad++
- Did you open the files in the same view (the main view) in different tabs?
- Did you open the files in different views?
In case of 1. the answer is: Go to
(menu) View -> Tab -> Next Tab
repectively(menu) View -> Tab -> Previous Tab
.In case of 2. the answer is: Go to
(menu) View -> Focus on Another View
.You will find the related keyboard shortcuts beside the menu entries. If you want to change them, go to
(menu) Settings -> Shortcut Mapper
. -
Thanks for the replies.
My scenario is that I startup Notepad++ and open two files, each one in a separate tab. I was looking for a keyboard shortcut to switch back and forth between the two tabs.
-
Then you should apply @dinkumoil 's #1:
In case of 1. the answer is: Go to (menu) View -> Tab -> Next Tab repectively (menu) View -> Tab -> Previous Tab.
-
@John-Schneider , there are multiple options for tab navigation.
- Use Ctrl+Pagedown or Ctrl+PageUp (as @Terry-R suggested)
- Use Ctrl+Tab or Ctrl+Shift+Tab (Without MRU enabled)
- Use Ctrl+Tab or Ctrl+Shift+Tab (With MRU enabled)
- Use Ctrl+Mousewheel over tab.
I guess option 3 will suit you the most as you are looking to toggling tab back and forth.
To enable MRU you can follow “Settings->Preferences->MISC.->Document Switcher”, then tick both “Enable” and “Enable MRU Behavior”. -
@Alan-Kilborn As stated in the OP, I was specifically looking for a keyboard shortcut.
-
@John-Schneider said in Toggle Next/Previous Window?:
@Alan-Kilborn As stated in the OP, I was specifically looking for a keyboard shortcut.
As stated in my comment, you will find the related keyboard shortcuts beside the menu entries’ text. If you want to set/change them, go to
(menu) Settings -> Shortcut Mapper
.The reason why I’ve described how to change the active tab using menu entries is that keyboard shortcuts can be changed and I have actually changed them to non-standard values. Maybe you did that as well, so giving you the advice to press a certain keycombo could be not helpful for you.
-
Thanks again everyone. Using Ctl-Tab is perfect as that’s what I instinctively use in browsers.
The more I use N++ the more I like it!!!