IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
487 stars 73 forks source link

Open New Tab after and adjacent to the Current Tab like Thunar does. #777

Open cusco-travel-services opened 4 years ago

cusco-travel-services commented 4 years ago

Hello I.G. et al,

After looking through the User's Manual, there doesn't appear to be an easy way to create a Command to allow a New Tab to be Added adjacent to and immediately after the Current Tab.

Even if this is possible, by using the Sockets feature and then cycling through all of the currently open tabs for a Pane in order to "reposition" the New Tab, I am thinking that it is probably not the most efficient way to do it as I imagine that each tab needs to be populated with the contents of the adjacent tab to the Left until you reach the Tab that was originally adjacent to and to the Right of the Tab from where the action originated.

Would adding a function to the current code be the best way to do this and, if so, where in the code should this be done?

Which Methods, Properties, Functions and Variables would need to be used to achieve this? In which Code file do they exist?

Are Tabs identified as "Windows" objects in a "Tabs Collection" that would have a Method to allow reordering?

Thanks!