Switch to previous/next document... was this previously asked ?
-
for petessakes, I have this has been asked before and I really, really hope there is a workaround or setup to use the previouly way to navigate between files witout the horrendous file selector popup.
Previously I had set previous and next document with F11 and F12 but now, whenever I press either key, the popup comes and I have to click something, defeating the keyboard hotkey.
Is there a way to revert to the previous mode by a setup or something ? Otherwise I’ll be stuck with the last version I had working.
Thanks. -
@Alex-De-Lara said in Switch to previous/next document... was this previously asked ?:
Previously I had set previous and next document with F11 and F12 but now
So you admit to having changed the defaults in the shortcut mapper, why not just do it again. I don’t know why your custom shortcuts weren’t kept but you can just re-map the shortcuts as you desire.
F11 and F12 change the view type of Notepad++ but you suggest something differently. The defaults are Ctrl+Page Up and Ctrl+Page Down to switch between tabs in the Notepad++ view.
Terry
-
There are a multitude of ways to switch between previous/next tabs, the vast majority of which do not include a popup.
For example,
Ctrl+PgUp/PgDown
(the default mappings for View > Tab > Previous Tab / Next Tab). Or a bunch of different actions possible when the mouse is over the tab bar.The “popup” you are talking about is presumably the “Doc Switcher” popup, which is affected by the Settings > Preferences > MISC > Document Switcher settings, so you can even disable that, so that
Ctrl+TAB
/Ctrl+Shift+Tab
will move forward/backward through your document tabs without the popup.Previously I had set previous and next document with F11 and F12 but now
Please note that those keys are by default assigned to View-menu actions Toggle Full-Screen Mode and Post-It, respectively. If you do not remember to disable those default shortcuts, then Shortcut Mapper will show them being in “conflict” with other commands, and the user cannot control which assignment will take precedence if there is a “conflict” (the way to fix a conflict is to delete or change the shortcut on the action you don’t want associated with a given keystroke). So, make sure that you don’t have conflicts on those actions.
-
@Terry-R Oh I did try to remap to what I like but the document switcher keeps popping up - Found the settings->Misc but the option is not checkmarked.
But granted, I just (5 minutes ago) reverted to 8.5.3 so I can get my thing working again.
And… ctrl-tab / ctrl-shift-tab did not work, but I assume it is because it’s the 8.5.3 version.I’ll try a fresh build (the portable zip is great) to see how it does.
Thanks for pointing.Ok, disabled the Post it/Maximize on the fresh dropped in build before it gets me again.
Ctrl-Tab / Ctrl-Shift-Tab works for me too so I’ll stick with it. -
@Alex-De-Lara said in Switch to previous/next document... was this previously asked ?:
@Terry-R Oh I did try to remap to what I like , but the document switcher keeps popping up
Remap what, specifically? The Next Tab / Previous Tab entries? or something else? Be specific. Because those actions never use the Doc Switcher, so I do not see how it’s possible to accidentally get the Doc Switcher from those actions, whatever keystrokes you have assigned (unless, as I said before, you have a conflict in your shortcut settings)
- Found the settings->Misc but the option is not checkmarked.
There are two options there. If you only uncheckmarked
Enable MRU Behavior
but leftEnable
checkmarked, then obviously the Doc Switcher will still be enabled. And when I uncheckmark theEnable
checkbox, I cannot get Doc Switcher to show up withCtrl+Tab
/Shift+Ctrl+Tab
, so I don’t see how it could be showing up, for you.And… ctrl-tab / ctrl-shift-tab did not work, but I assume it is because it’s the 8.5.3 version.
If 8.5.3 is going back to your previous version, WOW, you don’t upgrade often.
However, there have been almost no changes to the Doc Switcher in the year-and-a-half since 8.5.3 was current, so the behavior between those two versions should not change for your use case. I just confirmed in ancient v8.5.3 that Doc Switcher has the same default keystrokes in that version, the same default options, and the same behavior in that version as well.
-
@PeterJones we were talking about next document/previous document so those are the keys I referred to on my post: remapped them to use F11/F12 and whatever was there before, I simply assigned “None” because I don’t use those.
There are no conflicts: I took the time to look all shortcuts.The two checkboxes in the “Document switcher” box are not selected.
You are right: I don’t upgrade often… like my granpa used to say, “If ain’t broke…”
But seriously, every time I upgraded my configuration xml files got clobbered and I got tired of running after the saved copies to restore them.I’m running 8.6.7 now which is working the way I wanted but again, had to reset the colors schema the way I wanted (every one us have our preferences right ?).
It’s all good now.
Thanks for humouring me.
-
@Alex-De-Lara said in Switch to previous/next document... was this previously asked ?:
every time I upgraded my configuration xml files got clobbered
That won’t happen if it’s the “installed” version. This excerpt from the online manual reads:
When you use the installer to upgrade your existing copy of Notepad++ (either manually, or through the ?-menu’s Upgrade Notepad++, or through Notepad++'s auto-update feature), the installer will avoid overwriting configuration files that you have customized – this is to prevent you losing your preferred settings and customizations.So the question is, what exactly have you used to install Notepad++? Can you run the “Debug Info” from the
?
menu, then copy and paste that here?Terry
-
@Alex-De-Lara said in Switch to previous/next document... was this previously asked ?:
@PeterJones we were talking about next document/previous document so those are the keys I referred to on my post: remapped them to use F11/F12 and whatever was there before, I simply assigned “None” because I don’t use those.
You were describing behaviors (opening of the Doc Switcher) which those menu entries cannot do, because they are not making use of the
Ctrl+Tab
which DocSwitcher uses; thus, because what I believed you were describing seems impossible to me, I asked for clarification. I want to confirm: is this the popup you are seeing?Because that’s the DocSwitcher popup. If it looks different, then you might be seeing something other than the DocSwitcher.
There are no conflicts: I took the time to look all shortcuts.
The Shortcut Mapper shows any conflicts in a reddish tone, so it would have been obvious.
The two checkboxes in the “Document switcher” box are not selected.
Then I do not see how you could ever see the Document Switcher popup. When those are disabled, there is no way that I know of that can get the Document Switcher to appear.
I think you might have actually been seeing something else, or you have a plugin that has taken over the actions and is somehow mimicking or invoking the Document Switcher in a non-standard way.
You are right: I don’t upgrade often… like my granpa used to say, “If ain’t broke…”
There have been lots of bugs fixed in the last year and a half – so it was broke, and you were not fixing it. Including security fixes. But if you want new features or bugfixes, you’re going to have to update.
But seriously, every time I upgraded my configuration xml files got clobbered and I got tired of running after the saved copies to restore them.
Some people have come here to claim, but so far no one has ever been able to show a repeatable set of instructions which is guaranteed to overwrite the
%AppData%
settings when running ?-menu’s Update Notepad++ action. By default, the updater goes to great lenghts to not overwrite any of your customized settings – to the point where people complain that they don’t get updated syntax highlighting because it is correctly not overwriting their outdated-but-customized old syntax highlighting.Since it seems to happen frequently for you, sharing the ?-menu’s Debug Info, plus sharing the permissions on your
%AppData%\Notepad++
folder, and any of the XML files in that directory.Of course, if you aren’t using the installer (as @Terry-R suggested), or if you’re not using the
%AppData%\Notepad++
location for your configuration (and the ? > Debug Info that @Terry-R requested will tell us either of those), then it might be easier for it to accidentally clobber.I’m running 8.6.7 now which is working the way I wanted
That’s still more than 6 months out of date, and again, there should be no difference between 8.6.7 and 8.7.5 in how Document Switcher responds to
Ctrl+Tab
based on the settings, and how Notepad++ responds to the View > Tab > Next/Previous Tab commands or their keyboard equivalents.You never told us the results of your portable-zip experiment, but maybe if you did, we could help you figure out whether you are doing something wrong, or whether you’ve found a difficult-to-notice bug, due to your unique situation… but in order to do that, we would need an exact and explicit set of instructions to reproduce. Something like:
- Download official 8.7.5 64bit zip and unzip into a unique folder (not the place where you normally have Notepad++; we want a separate, independent copy)
- Run notepad++ from that folder, and create a few new files so that
new 1
andnew 2
andnew 3
are available for forward/backward tab navigation - Make the following changes to Shortcut Mapper (include screenshots)
- Make the following changes to settings (include screenshots)
- Hit
F11
orF12
(or whatever) to cycle, and Document Switcher comes up, even though think it shouldn’t - Using View > Tab > Next/Previous tab does or does not also show this popup
These are just my guess as to the approximate situation. You need to tell us the exact steps necessary for you to replicate the problem from a fresh, unmodified copy of portable Notepad++, otherwise it’s going to be impossible to debug the problem. Explain the steps in excruciating detail, like you’re explaining it to a computer-newbie grandma or to a 5-year-old (don’t make any assumptions or leave out any steps).
but again, had to reset the colors schema the way I wanted (every one us have our preferences right ?).
In my years of using Notepad++, using the updater, I cannot remember a single time where it accidentally overwrote my
stylers.xml
. If you’re just unzipping a portable, then yes, you either have to not unzip thestylers.xml
or whatever theme, or you have to do some extras to merge new config files into your old, so you don’t lose settings – this is made quite explicit in the Online User Manual’s “upgrading” page (https://npp-user-manual.org/docs/upgrading/#upgrading-a-portable-edition)When you are “upgrading” or “downgrading” Notepad++, what are the exact steps you are taking? (again, please include enough detail that a newbie grandma or a 5yo would be able to repeat exactly what you did)
It’s all good now.
Ignoring a problem isn’t “good”. But it’s your choice.
—
NOTE: by describing a “newbie grandma” or “5yo”, I am not trying to imply that your particular grandmother (or any 5 year old that you know) is stupid or incompetent, or any such thing. I am using “newbie” to describe such a person who has no experience with Notepad++, and might not have a lot of experience with computers in general: in other words, someone whom you would need to take through little tiny steps to do anything new on the computer. If you have a grandma or 5yo who doesn’t need handholding when using Notepad++ or computers in general, that’s great. And if your newbie grandma or 5yo does need help, that’s perfectly understandable and acceptible, and I am not disparaging them or you.