stig icon indicating copy to clipboard operation
stig copied to clipboard

Maybe alt+s should switch to an open settings tab if one exists?

Open ghost opened this issue 5 years ago • 2 comments

I may be missing something, but I'm not sure if there's a point to being able to spawn multiple settings tabs. Wouldn't it be nicer if alt+s only created a settings tab when needed, and have it switch to the existing settings tab otherwise?

ghost avatar Oct 02 '20 02:10 ghost

Maybe. Should be quite easy to implement. But I don't really see the benefit.

rndusr avatar Oct 02 '20 07:10 rndusr

I just remember commmand chains. You can already implement that as a user:

tab --focus Settings | tab set

That should focus the tab named "Settings" if it exists or run the command "set" in a new tab.

The only downside is that you're getting an error message if the settings tab doesn't exist yet. Dealing with that would be preferable to hardcoding a single settings tab.

rndusr avatar Oct 02 '20 07:10 rndusr