mr/minttyでwsl
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* 動機 / Motivation [#hcf9a7b9]
- wslttyが起動しなくなった / wsltty has stopped starting
-- [[wsltty exits immediately after Windows 11 update KB5...
-- [[wslttyからWindows Terminalに乗り換えた話 & ターミナ...
- なぜかcygwinはインストールしてある / For some reason, c...
そうだ、minttyでwslを叩こう!
That's right, let's run WSL on Mintty!
* minttyでwslを使うためのショートカットの作り方 [#sd372f74]
How to create a shortcut to launch WSL in mintty
パスを端折るとこんな感じ
If you omit the path, it looks like this:
mintty.exe wsl bash --login
cygwinとwslでconfigを別にするには、-c オプションで上書き...
To use different configs for cygwin and wsl, use the -c o...
mintty.exe -c \path\to\.minttyrc.wsl wsl bash --login
* tmux で Esc キーが効かない [#a6e16d52]
Esc key doesn't work in tmux
例)vimでEscキーが使えなくなる・・・地獄
ex.: The Esc key no longer works in vim... it's hell!
原因がわからない。。。
I don't know the cause...
対症療法で AutoHotKey を使い、mintty.exe のウィンドウでは...
As a workaround, I use AutoHotKey to replace the key code...
#prism(autohotkey){{{
#SingleInstance
SendMode("Input") ; Recommended for new scripts due to i...
SetWorkingDir(A_ScriptDir) ; Ensures a consistent starti...
SetKeyDelay(20) ; https://bit.ly/3yIPG4x AutoHotkey設定メモ
#HotIf WinActive("ahk_exe mintty.exe")
Esc::Send "^["
#HotIf
}}}
* 余談 / Digression [#x5cd02d4]
最初は Windows Terminal に乗り換えたのですが、tmuxで上下...
At first I switched to Windows Terminal, but when I used ...
終了行:
* 動機 / Motivation [#hcf9a7b9]
- wslttyが起動しなくなった / wsltty has stopped starting
-- [[wsltty exits immediately after Windows 11 update KB5...
-- [[wslttyからWindows Terminalに乗り換えた話 & ターミナ...
- なぜかcygwinはインストールしてある / For some reason, c...
そうだ、minttyでwslを叩こう!
That's right, let's run WSL on Mintty!
* minttyでwslを使うためのショートカットの作り方 [#sd372f74]
How to create a shortcut to launch WSL in mintty
パスを端折るとこんな感じ
If you omit the path, it looks like this:
mintty.exe wsl bash --login
cygwinとwslでconfigを別にするには、-c オプションで上書き...
To use different configs for cygwin and wsl, use the -c o...
mintty.exe -c \path\to\.minttyrc.wsl wsl bash --login
* tmux で Esc キーが効かない [#a6e16d52]
Esc key doesn't work in tmux
例)vimでEscキーが使えなくなる・・・地獄
ex.: The Esc key no longer works in vim... it's hell!
原因がわからない。。。
I don't know the cause...
対症療法で AutoHotKey を使い、mintty.exe のウィンドウでは...
As a workaround, I use AutoHotKey to replace the key code...
#prism(autohotkey){{{
#SingleInstance
SendMode("Input") ; Recommended for new scripts due to i...
SetWorkingDir(A_ScriptDir) ; Ensures a consistent starti...
SetKeyDelay(20) ; https://bit.ly/3yIPG4x AutoHotkey設定メモ
#HotIf WinActive("ahk_exe mintty.exe")
Esc::Send "^["
#HotIf
}}}
* 余談 / Digression [#x5cd02d4]
最初は Windows Terminal に乗り換えたのですが、tmuxで上下...
At first I switched to Windows Terminal, but when I used ...
ページ名: