반응형
Windows Terminal 을 사용하다 보면 여러개의 탭을 열어서 사용할 수가 있다.
탭을 이동을 하기 위해서는 각 탭을 마우스로 클릭을 하거나
Ctrl + Tab
Ctrl + Shift + Tab 단축키를 이용할 수가 있는데
여러 탭이 있는 경우 Alt + 숫자 키를 이용하여 각 탭으로 이동하는 방법을 소개 한다.
Terminal 프로그램에서 탭 오른쪽의 ∨ 아이콘 클릭 후 설정을 클릭한다.
설정창이 열리면 왼쪽 하단의 Json 파일 열기 클릭
Json 파일이 열리면
다음과 같은 내용이 있다.
"actions":
[
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about selection, visit https://aka.ms/terminal-selection
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "paste",
"keys": "ctrl+v"
},
// Press Ctrl+Shift+F to open the search box
{
"command": "find",
"keys": "ctrl+shift+f"
},
// Press Alt+Shift+D to open a new pane.
// - "split": "auto" makes this pane open in the direction that provides the most surface area.
// - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
// To learn more about panes, visit https://aka.ms/terminal-panes
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
}
],
다음 내용을 추가 한다.
{ "command": { "action": "switchToTab", "index": 0 }, "keys": "alt+1" },
{ "command": { "action": "switchToTab", "index": 1 }, "keys": "alt+2" },
{ "command": { "action": "switchToTab", "index": 2 }, "keys": "alt+3" },
{ "command": { "action": "switchToTab", "index": 3 }, "keys": "alt+4" },
{ "command": { "action": "switchToTab", "index": 4 }, "keys": "alt+5" },
{ "command": { "action": "switchToTab", "index": 5 }, "keys": "alt+6" },
{ "command": { "action": "switchToTab", "index": 6 }, "keys": "alt+7" },
{ "command": { "action": "switchToTab", "index": 7 }, "keys": "alt+8" },
{ "command": { "action": "switchToTab", "index": 8 }, "keys": "alt+9" }
첫번째 세팅된 부분
},
"keys": "alt+shift+d"
}
괄호 뒤에 ,를 추가해야 한다.
저장 -> 설정 창에서 저장 버튼을 누른 후 Alt 키와 숫자 키를 눌러보면
원하는 탭으로 이동이 가능하다.
'Tip&Tech' 카테고리의 다른 글
아이폰 자녀계정 로그아웃 - 제한 설정으로 인해 로그아웃할 수 없습니다 (1) | 2022.06.23 |
---|---|
에코백스 T9 - 처음 매핑(지도) 만들때 방 누락시 팁 (2) | 2021.11.30 |
삼성 갤럭시북 이온2 - 블루투스 마우스 끊김 해결 (0) | 2021.06.07 |
카트라이더 - 만능챔피언 (0) | 2020.07.03 |
전기 요금 계산기 2018년 7,8월 주택용 (누진율 완화) (0) | 2018.08.07 |
그누보드 CKEditor 최신 버전 및 클립 보드 이미지 붙여넣기 (0) | 2018.01.30 |
넷플릭스 캡쳐 - iOS 아이폰에서 하기 (2) | 2017.12.12 |
넷플릭스 자막 설정 아이폰 (iOS) (4) | 2017.11.09 |