- 安装
msys2
到/e/jamit/sdk
- 初始话脚本如下
sed -i "s#https\?://mirror.msys2.org/#https://mirrors.tuna.tsinghua.edu.cn/msys2/#g" /etc/pacman.d/mirrorlist*
pacman -Syu --noconfirm
pacman -S rsync openssh vim git --noconfirm
- 修改目录
- 开启sshd服务
ssh-keygen -A
/bin/sshd
-
安装 python3.12 到/e/jamit/sdk
-
echo 'PATH=/d/p/python/python312:$PASTH' >> ~/.bashrc
-
终端vim操作模式(可选)
echo 'set -o vi' >> ~/.bashrc
- F1 -> open user settings json
"terminal.integrated.defaultProfile.windows": "mysys2-mingw64",
"terminal.integrated.profiles.windows": {
"mysys2-mingw64": {
"path": "e:\\jamit\\sdk\\msys64\\msys2_shell.cmd",
"icon": "terminal-bash",
"args": [
"-full-path",
"-defterm",
"-here",
"-no-start",
"-msys"
],
}
},
"git.path": "E:/jamit/sdk/msys64/usr/bin/git.exe",
- editerm
- F1 -> open keyboard shortcuts json
{
"key": "e e",
"command": "editerm.runlinecode",
"when": "editorTextFocus && inputFocus && vim.mode == 'Normal'"
},
- vim
- IntelliJ IDEA Keybindings