Windowsターミナル
Windows Terminal
https://gyazo.com/544a2f87812381a4c7939fc6c827ad6a
https://github.com/microsoft/terminal/blob/main/res/terminal/Terminal.svg
Windows ターミナルの概要 | Microsoft Learn
ターミナルエミュレータ
Windowsから複数のターミナル環境が利用できる
コマンドプロンプト
PowerShell
Bash
WSLを有効化するをやっておくと使える
WSL上のUbuntuは複数の起動方法がある
Tux.icon: C:\WINDOWS\system32\wsl.exe -d Ubuntu
自動でマウントされる
他のディストリビューションではC:\WINDOWS\system32\wsl.exe -d <Distro>で起動されている
Ubuntu.icon: ubuntu.exe
必ず~で開く?あんも.icon
PowerShellをうまく使えないので、Bashをメインにしたいあんも.icon
WSLのシステムを使うことになるが、Windows側のファイルもマウントして利用できる
WSL側のファイルをWindowsのソフトウェアで扱うのはうまくいかない
別のコンピューターに接続している扱いになる?あんも.icon
ファイルはWindows側において、ツールはWSLのシステムを使うようにする
コマンドパレット: Ctrl+Shift+P
タブの分割
水平分割: Atl+Shift+-
垂直分割: Atl+Shift++
https://learn.microsoft.com/ja-jp/windows/terminal/panes
タブを閉じる: Ctrl+Shift+W
設定を開く: Ctrl+Shift+,
Windows ターミナルのアクション#設定ファイルを開く | Microsoft Learn
Quakeモードのキーバインドを加える
Ctrl+Shift+@
VSCodeでもCtrl+@でターミナルが開くしあんも.icon
https://learn.microsoft.com/en-us/windows/terminal/tips-and-tricks#quake-mode
https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#open-the-quake-mode-window
設定JSONで開いてをactionsセクションに加える
通常の設定からも加えられる?あんも.icon
code:json
{
"id": "User.MySummonQuake",
"keys": "ctrl+`",
"command": {
"action": "globalSummon",
"name": "_quake",
"dropdownDuration": 200,
"toggleVisibility": true,
"monitor": "toMouse",
"desktop": "toCurrent"
}
}