Keyboard Shortcut for moving tabbed files?
I quite often have more than 30 files open and when I need to open a new file NP++ opens it in a new tab at the far right (which is fine), but having files adjacent for some tasks is preferable. Dragging the new file to a different place in a long row of tabbed files can be bothersome, because the application gets hung up, and moves in a jerky way. Is there a keyboard shortcut for highlighting a particular tabbed file so that it can be moved with the keyboard then dropped, rather than with a mouse?
For sure, You can assign the shortcut you want in shortcut mapper ( Main menu panel) :
- Move to Other View
- Clone to Other View
- Move to New Instance
- Open in New Instance
They will process the selected tab.
Here is the XML config file of my configured shortcuts
<!--Move to Other View - Ctrl+Alt+Shift+Right --> <Shortcut id="10001" Ctrl="yes" Alt="yes" Shift="yes" Key="39" /> <!--Clone to Other View - --> <Shortcut id="10002" Ctrl="no" Alt="no" Shift="no" Key="0" /> <!--Move to New Instance - --> <Shortcut id="10003" Ctrl="no" Alt="no" Shift="no" Key="0" /> <!--Open in New Instance - --> <Shortcut id="10004" Ctrl="no" Alt="no" Shift="no" Key="0" />
Good idea to have keyboard shortcuts for those…but I think the OP is trying to achieve tab movement via keyboard within the same view and instance.
Thanks for the tip! Inspired by this I created two new macros, both tied to the Move to Other View command; one is tied to ctrl+shift+alt+left, the other is tied to ctrl+shift+alt+right. Although they both do the same thing, it is easier and feels more natural to have the arrow key be the one that points in the direction I want the tab to go. [Note that this implies I have my views arranged left-right instead of over-under.]