Windows設定の個人的な事
Posted: | Categories: Windows | Tags: Windows
環境
- Windows10 pro
- nec-versa-pro-j-type-vt
セットアップ
CapsLock を Ctrl に変更
ctrl2cap をインストール
変換を ctrl + space で開始する
IMEを右クリック->設定->キーとタッチのカスタマイズ->Ctrl+Space->IMEのオンとオフ
bash
Git Bashって使ってる?Windowsで動く意外にすごい便利ツール | 侍エンジニアブログ
これで C:\Program Files\Git\bin\bash.exe にbashがインストールされる。
weztermインストール
https://wezfurlong.org/wezterm/install/windows.html
デフォルトだとコピペは中クリックでできる。
設定ファイルはホームディレクトリ(C:\User\ユーザー名)配下に .wezterm.lua に置く
次の形でbashを起動するようにする。
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
config.color_scheme = 'AdventureTime'
config.default_prog = { 'C:\\Program Files\\Git\\bin\\bash.exe' }
-- and finally, return the configuration to wezterm
return config
weztermを起動し、 ssh-keygen ssh-copy-id でログインするマシンにssh鍵を転送し、weztermの設定を下記のように書き換える。 これでweztermを起動すると自動的にリモートに接続する。
Read more...