Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestions: Pin tabs #82

Closed
gooker opened this issue Apr 14, 2021 · 14 comments
Closed

Feature suggestions: Pin tabs #82

gooker opened this issue Apr 14, 2021 · 14 comments
Assignees
Labels
feature New feature

Comments

@gooker
Copy link

gooker commented Apr 14, 2021

I have used many SSH clients before,such as xshell /finalshell/securecrt... and open multiple tabs and switch tab frequently, so I hope to have some shortcut keys for tabs switch:

here is my suggestion, For me, these can improve efficiency .

  1. tab auto switch when mouse on it, like hover over the tab for 2 sec;

  2. tab switch use shortcuts,like Alt+1~9 or Ctrl+Tab or Shift+Tab;

  3. Allow pin tabs;

Thanks for the great software.

@kingToolbox kingToolbox self-assigned this Apr 14, 2021
@kingToolbox kingToolbox added the feature New feature label Apr 14, 2021
@kingToolbox
Copy link
Owner

Thank you, these proposals look great.

  1. tab auto switch when mouse on it, like hover over the tab for 2 sec;
    WindTerm supported this feature a long time ago 😄 , but it was disabled. It has been redesigned as an option, and you can enable it in the new version 2.1.0-prerelease-2.

  2. tab switch use shortcuts,like Alt+1~9 or Ctrl+Tab or Shift+Tab;
    Please try alt+[ and alt+], it should be the Ctrl+Tab and Shift+Tab you want. In the past two days, the feature of switching to the tab index has also been developed and used the shortcut key Ctrl+Shift+0~9.
    Shift+Tab has been used to decrease the indentation in WindEdit, and Alt+1~9 has been used to trigger the menu items of the main menu. So they are not very suitable for tabs. Of course, you can assign any shortcut keys as you like. For details, please refer to (feature request) customisable keyboard shortcuts would be handy #13.

  3. Allow pin tabs;
    Since the entire interface framework will be replaced in the future, this feature will not be done for the time being and will be reserved for subsequent development.

@gooker
Copy link
Author

gooker commented Apr 21, 2021

Awesome. I've recommended WindTerm to my friends。

Thank you, these proposals look great.

  1. tab auto switch when mouse on it, like hover over the tab for 2 sec;
    WindTerm supported this feature a long time ago 😄 , but it was disabled. It has been redesigned as an option, and you can enable it in the new version 2.1.0-prerelease-2.
  2. tab switch use shortcuts,like Alt+1~9 or Ctrl+Tab or Shift+Tab;
    Please try alt+[ and alt+], it should be the Ctrl+Tab and Shift+Tab you want. In the past two days, the feature of switching to the tab index has also been developed and used the shortcut key Ctrl+Shift+0~9.
    Shift+Tab has been used to decrease the indentation in WindEdit, and Alt+1~9 has been used to trigger the menu items of the main menu. So they are not very suitable for tabs. Of course, you can assign any shortcut keys as you like. For details, please refer to (feature request) customisable keyboard shortcuts would be handy #13.
  3. Allow pin tabs;
    Since the entire interface framework will be replaced in the future, this feature will not be done for the time being and will be reserved for subsequent development.

@kingToolbox
Copy link
Owner

The new version 2.1.0_prerelease_2 has been released and supports selecting tabs by hovering or using the shortcut key Ctrl+Shift+0~9. Please download and check, thank you!

@gooker
Copy link
Author

gooker commented Apr 23, 2021

The new version 2.1.0_prerelease_2 has been released and supports selecting tabs by hovering or using the shortcut key Ctrl+Shift+0~9. Please download and check, thank you!

P2 OK.thanks

@kingToolbox
Copy link
Owner

Thank you for verifying so quickly. The feature "Pin tabs" will be developed after the UI framework is replaced, and it is expected to be in the second half of the year. Please keep follow, thank you!

@kingToolbox kingToolbox changed the title Feature suggestions:Tab switch Feature suggestions: Pin tabs Apr 23, 2021
@yangjq4
Copy link

yangjq4 commented Apr 27, 2021

I'm not used to tab auto switch when mouse hover on, so is there any configuration to disable this?

@gooker
Copy link
Author

gooker commented Apr 27, 2021

I'm not used to tab auto switch when mouse hover on, so is there any configuration to disable this?

I think you can try:
delete global/wind.config
"tabbar.hoverToSelect": 0.2,

@kingToolbox
Copy link
Owner

Yes, of course. The most important thing to make a tool is to meet the different needs of all users for the same feature. 😄 Please open or create WindTerm-install-path/default.v10/user.config and add:

{
   ...
   "tabbar.hoverToSelect": 0,
   ...
}

You can modify the same configuration in WindTerm-install-path/global/wind.config too, but when you upgrade to a new version, you need to modify it again. The settings GUI will be implemented in the next version.

@kingToolbox
Copy link
Owner

Hi, gooker, may I ask if you usually count tabs by yourself when you use shortcut keys Alt+1~9 to switch tabs? Would it be worthwhile to add index numbers to tab titles for convenience at the cost of increasing the width of the tabs? Thank you!

@gooker
Copy link
Author

gooker commented Apr 28, 2021

Hi, gooker, may I ask if you usually count tabs by yourself when you use shortcut keys Alt+1~9 to switch tabs? Would it be worthwhile to add index numbers to tab titles for convenience at the cost of increasing the width of the tabs? Thank you!

1,Most of the time I use mouse, "mouse hover" is very easy to use;

2,When using the keyboard, ALT + 0 ~ 9 is only for single view, so I use Alt + [/]
If Alt + 0 ~ 9 for all tags, add index number will be very useful. I will also get used to using Alt + 0 ~ 9. Increasing the width is ok.

i remove menu shortcut , change ctrl+shift+num to alt+num 📝

20210428093808

@kingToolbox
Copy link
Owner

Thank you for such a detailed answer.

After considering your suggestions, I have just finished this feature. Now you can set the numbers to be displayed on all tabs or the first to ninth tabs, or not to display at all in the next prerelease version. Because Alt+[ and Alt+] can already switch tabs between different groups, I still keep Ctrl+Shift+1~9 only switch tabs in the current group to meet different needs. I think this design would be better.

@kingToolbox
Copy link
Owner

kingToolbox commented Mar 21, 2022

@gooker
After redesigning the menu bar, WindTerm_2.4.0_Prerelease_1 finally support Alt+0~5 shortcut keys to activate tabs by default. 😄 Please download and use it, thank you.

Now the new shortcut keys:

Key Action
Alt+0 Activate the last tab
Alt+1 Activate the first tab
Alt+2 Activate the second tab
Alt+3 Activate the third tab
Alt+4 Activate the fourth tab
Alt+5 Activate the fifth tab
Alt+[ Activate the previous tab
Alt+] Activate the next tab

And shortcut keys such as Ctrl+Alt+0~9 have been removed.

@lbmeng
Copy link

lbmeng commented Feb 9, 2023

I can't find a setting in GUI to disable Tab hovering switch in WindTerm 2.5.0.

Is onfig file change the only way to do this for now?

@gooker
Copy link
Author

gooker commented Feb 10, 2023

I can't find a setting in GUI to disable Tab hovering switch in WindTerm 2.5.0.

Is onfig file change the only way to do this for now?

1676012367487

@gooker gooker closed this as completed Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

4 participants