-
Notifications
You must be signed in to change notification settings - Fork 0
94kai/dotconfig
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
brew install iterm2 [email protected]:94kai/dotconfig.git # ================neovim相关 ln -s ~/project/dotconfig/nvim ~/.config/nvim # 启动neovim,等待Lazy克隆成功后,关闭重启启动即可 # 安装字体补丁(Noto Nerd Font) brew tap homebrew/cask-fonts brew install font-hack-nerd-font # Perferences->Profiles->Text->Font # LSP/Format/DAP通过Mason按需安装 # ================zsh相关 sh -c "$(curl -fsSL https://install.ohmyz.sh)" git clone https://github.com/jeffreytse/zsh-vi-mode $ZSH_CUSTOM/plugins/zsh-vi-mode git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting ln -s ~/project/dotconfig/zshrc ~/.zshrc # ================tmux相关 ln -s ~/project/dotconfig/tmux.conf ~/.tmux.conf # 克隆tmux的插件管理器 git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm # 重启tmux # Ctrl-s shift-I 安装tmux插件 > linux上显示有问题,tmux可以切换到linux分支 # ================ideavim相关 ln -s ~/project/dotconfig/ideavimrc ~/.ideavimrc # ================按键映射 - caps单独按esc,组合按Ctrl - linux - sudo apt install interception-tools interception-caps2esc - 创建/etc/interception/udevmon.d/udevmon.yaml - 添加如下配置 ``` - JOB: interception -g $DEVNODE | caps2esc | uinput -d $DEVNODE DEVICE: EVENTS: EV_KEY: [KEY_CAPSLOCK, KEY_ESC] ``` - sudo systemctl restart udevmon # ================三指拖动 https://github.com/ferstar/gestures/releases ``` ; 登陆前启动肯定会失败,所以需要设置自动重启 [Unit] Description=三指拖拽,注意需要配置一些环境变量,否则service中跑这个程序会有各种bug StartLimitIntervalSec=0 [Service] Environment=XAUTHORITY=/run/user/1000/gdm/Xauthority Environment=DISPLAY=:0 Environment=HOME=/home/xuekai Type=simple ExecStart=/home/xuekai/.local/bin/gestures-amd64-linux Restart=always RestartSec=1 [Install] WantedBy=default.target ```
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published