https://docs.microsoft.com/ja-jp/windows/wsl/install-win10#manual-installation-steps
- enable windows subsystem for linux
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
-
check requirements
winver
inRun
-
enable virtual machine
dism.exe /onine /enable-feature /featurename:VirtualMachinePlatform /all /norestartl
-
download linux kernel upgrade package
-
set wsl2 as default version
wsl --set-default-version 2
windows terminal font is enough for me.
https://github.com/edihbrandon/RictyDiminished
- install fonts
- copy and paste in
Control Panel\Appearance and Personalization\Fonts
- select font with terminal properties
- install google ime
- remove default ime
alt + \
- (option) customize keymap style
- remove entries with key
Ctrl Space
- change entries key with
Zenkaku/Hankaku
toCtrl Space
https://www.cg-method.com/google-ime/#index_id2
- install scoop: https://github.com/lukesampson/scoop#installation
- install apps
scoop install git
scoop install alacritty
scoop install vcredist2017
https://qiita.com/nimzo6689/items/1ab33380366e324c0b84
neovim can integrate with windows clipboard via x11. it works as x client. we need run x server in advance.
- overview: microsoft/WSL#892
- neovim requires xsel: https://github.com/neovim/neovim/commit/037ffd54dcd8edba6787d93273e6696b7a366ac6#diff-b8571b36b7a192b0ee51c989a040ab85590ab220f047287a4fc2155e78edf0d1R106-R111
- neovim spec can be checked
:help x11-selection
or:help clipboard
x server setup is here.
- command
C:\Users\yysushi\scoop\apps\vcxsrv\current\xlaunch.exe -run config.xlaunch
- or just place startup script link
start up folder can be opened by shell:startup
in windows+R
https://github.com/microsoft/wslg
https://www.kali.org/docs/wsl/win-kex/
Set-PSReadLineOption -EditMode Vi