Dotfiles
My Personal dotfiles include zsh,nvim,tmux,wezterm Managed by chezmoi🤖
Install / Use
/learn @zhaohongxuan/DotfilesREADME
My Personal dotfiles Managed by chezmoi 🤖
This repo contains all my dotfiles managed by chezmoi, Chezmoi manage dotfile start with dot_ prefix instead of . for example,
the .zshrc will be dot_zshrc in chezmoi, so if you don't want use chezmoi, just rename the dot_ config file to real . file, you can fork and edit before use it.
PS. nvim dotfiles were migrated to https://github.com/zhaohongxuan/nvim
How to Usage
- install chezmoi first, if you use mac, simply
brew install chezmoi - fork this repo, if you want to manage dotfiles your self, if you just use it, you can just use this repo
- use
chezmoi init https://github.com/zhaohongxuan/dotfiles.gitto init dotfiles - use
chezmoi apply -vto make all dotfiles take effect. if you just want to apply one config file, let's take .zshrc for example, just usechezmoi appy -v .zshrc
wezterm
I use wezterm as my primary terminal emulator which is super fast, and lua is friendly for configuration.
Screenshot:
<img width="1368" alt="image" src="https://github.com/zhaohongxuan/dotfiles/assets/8613196/595e359d-45ad-4949-926a-d56a19135daa">key bindings
Mod Key (macOS):
SUPER -> Command
SUPER_REV -> Command + Shift
LEADER -> CTRL+a
OPT -> OPT
Pane operations
| Keys | Action |
| ------------------ | ---------------------------------- |
| SUPER + \ | Split Horizontal |
| SUPER_REV + \| | Split Vertical |
| SUPER + Enter | Toggle Pane Zoom |
| SUPER + w | Close current Pane without confirm |
| | |
Pane Navigation
Leader + any key means stoke Leader first and then the arbitrary key.
| Keys | Action |
| -------------- | ------------------------- |
| Leader +k | Move cursor to Up Pane |
| Leader +j | Move cursor to Down Pane |
| Leader +h | Move cursor to Left Pane |
| Leader +l | Move cursor to Right Pane |
Pane Resize
Use Leader + p to active Pane Resize Mode
| Keys | Action |
| ------------ | ------------------------------- |
| k | Adjust current Pane Size: Up |
| j | Adjust current Pane Size: Down |
| h | Adjust current Pane Size: Left |
| l | Adjust current Pane Size: Right |
| ESC or q | Quit Pane Resize Mode |
Tab Operation
| Keys | Action |
| ---------------- | ------------------------------- |
| SUPER + [ | Navigate to Previous Tab (Left) |
| SUPER +] | Navigate to Next Tab (Right) |
| SUPER_REV +[ | Move current TAB to previous |
| SUPER_REV +] | Move current TAB to next |
Miscellaneous
| Keys | Action |
| --------------------- | ----------------------------------------- |
| SUPER + u | Show all url candidates in current Pane |
| SUPER + p | Active Command Palette like VSCode |
| SUPER_REV + Enter | Active Copy Mode |
| OPT + , | Open Wezterm config using nvim in new tab |
Ideavim
- if you use chezmoi, simple use
chezmoi apply -v .ideavimrcto make it effect, or you can just copy this.ideavimrcto your home dictory - enable
ideavim pluginin your Jetbrain IDE like Intellij IDEA or Pycharm etc. - you can watch my tutorial video in bilibili to get more information:ideavim插件的配置和使用
tmux
use Oh my tmux
karabiner
karabiner/karabiner.json
Related Skills
node-connect
337.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.3kCommit, push, and open a PR
