kingToolbox / kingToolbox/WindTerm

is there a shortcut to jump to another view?

Open
#2,014 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

when I have splited view, how to jump between two views by keyboard shortcut?
![image](https://github.com/kingToolbox/WindTerm/assets/74046964/07bb7d60-e145-4681-9655-46a5689b987b)

currently I find two possible ways but not fully meet my requirement:
first way is "Activate Next View(Alt+])" and "Activate Previous View (Alt+[)", but these shorcut can only jump to next or previous session. if I have several session in one view, then I need to jump over these sessions one by one and get to my target session.
![image](https://github.com/kingToolbox/WindTerm/assets/74046964/0015b7a1-6379-413a-bb12-0076e79b8339)

second way is "goto session (Alt+O)", but I get confused of the number to identify the session. for example, I have 3 sessions "cmd", "cmd" "Powershell". when I use "Alt+O" and get the window to show a list of sessions: Alt+1, Alt+2, Alt+3 are mapped to these 3 sessions. but I cannot judge: whether the "cmd" session in the right view is mapped to Alt+1 or Alt+2?
![image](https://github.com/kingToolbox/WindTerm/assets/74046964/9406840e-fc2e-491a-9d1c-c94397f810fc)

My suggestions:
1. provide a shortcut to jump to another view.
2. give a unique number for the opened sessions globally and show the number on the tab. and use "Alt+1" "Alt+2"... to go to the session.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the keyboard-shortcut and split-view handling in the application, then determine how sessions and views are identified. Done means a clear shortcut or globally understandable session mapping lets users move directly between views or sessions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.