macOS向けの開発環境構築用dotfilesです。Neovim、tmux、zsh、各種CLIツールの設定を含みます。
- エディタ: Neovim with lazy.nvim (LSP, completion, git integration)
- シェル: zsh with zinit + Powerlevel10k
- ターミナルマルチプレクサ: tmux
- パッケージ管理: Homebrew, mise, aqua
- 開発ツール: Docker, Kubernetes, Go, Python, Node.js, Ruby
- 便利ツール: fzf, ripgrep, lazygit, bat, eza, ghq
curl -fsSL https://raw.githubusercontent.com/seiyeah78/dotfiles/master/install.sh | shこのコマンドは以下を実行します:
- Command Line Developer Toolsのインストール (macOS)
- リポジトリのクローン (
~/dotfiles) - dotfilesのシンボリックリンク作成
- Homebrewのインストール
- Brewfileからのパッケージインストール (オプション)
- miseのセットアップ (Python, Ruby, Node.js, AWS CLI等)
git clone --recursive https://github.com/seiyeah78/dotfiles.git ~/dotfiles
cd ~/dotfiles# dotfilesのシンボリックリンクのみ
./install.sh
# Brewfileからパッケージもインストール
./install.sh -i
# Command Line Toolsの更新も実行
./install.sh --update-commandline-tools~/dotfiles/
├── .config/
│ ├── nvim/ # Neovim設定 (Lua)
│ ├── wezterm/ # WezTerm設定
│ ├── kitty/ # Kitty設定
│ └── crush/ # Crush AI設定
├── .hammerspoon/ # Hammerspoon (macOS自動化)
├── tmux/ # tmux設定ファイル
├── vscode/ # VSCode設定
├── iterm2/ # iTerm2カラースキーム
├── lazygit/ # lazygit設定
├── bat/ # bat設定
├── .zshrc # zsh設定
├── .zshenv # zsh環境変数
├── .tmux.conf # tmux設定
├── .gitconfig # git設定
├── Brewfile # Homebrewパッケージリスト
├── aqua.yaml # aquaパッケージリスト
└── install.sh # インストールスクリプト
- プラグインマネージャ: lazy.nvim
- LSP: Mason経由で各言語のLSP (Go, Python, TypeScript, Ruby等)
- 補完: nvim-cmp with snippet support
- Git統合: gitsigns, fugitive, diffview
- UI: Snacks.nvim, lualine
- ファジーファインダー: fzf-lua
設定ファイル: .config/nvim/
- プレフィックスキー:
Ctrl+a - ステータスライン設定:
tmux/statusline.conf - マウスサポート有効
設定ファイル: .tmux.conf, tmux/
- プラグインマネージャ: zinit
- テーマ: Powerlevel10k
- プラグイン:
- zsh-autosuggestions (コマンド補完)
- fast-syntax-highlighting (シンタックスハイライト)
- zsh-autopair (括弧自動補完)
- z.lua (ディレクトリジャンプ)
- バージョン管理: mise
設定ファイル: .zshrc, .zshenv, .p10k.zsh
- デフォルトエディタ:
nvim - Diff表示: delta
- エイリアス多数設定済み
設定ファイル: .gitconfig
- エディタ: Neovim, VSCode
- ターミナル: WezTerm, Kitty, iTerm2
- コンテナ: Docker Desktop
- Kubernetes: kubectl, k9s, kubectx, stern, lazygit
- ファイル操作: eza, bat, fd, ripgrep, fzf
- Git: lazygit, gh (GitHub CLI), hub, delta
- テキスト処理: jq, gron, yq
- モニタリング: htop, watch
- その他: direnv, tldr, navi, pet
- Go (+ golangci-lint, delve)
- Python (+ poetry)
- Node.js (+ yarn)
- Ruby (+ ruby-lsp)
gitで管理しないプライベート設定は以下に配置:
- zsh:
~/.zshrc.local - git:
~/.gitconfig.local
.config/nvim/lua/plugins/ 配下にLuaファイルを追加することで、lazy.nvim経由でプラグインを追加できます。
必要なパッケージを Brewfile に追加して:
brew bundlexcode-select --install
# または
./install.sh --update-commandline-tools既存ファイルがある場合は手動で削除またはバックアップ:
mv ~/.zshrc ~/.zshrc.backup
ln -snfv ~/dotfiles/.zshrc ~eval "$(/opt/homebrew/bin/brew shellenv)"rm ~/.zcompdump*
exec zsh- macOS (Intel / Apple Silicon)
- Git
- インターネット接続
個人用設定ファイルのため、自由に利用・改変してください。