Skip to content

nagomin25/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 My Dotfiles

WSL Ubuntu環境用の設定ファイル管理リポジトリです。
現在いろいろ整備中です。

🛠️ 使用ツール

カテゴリ ツール 説明
Shell zsh + Oh-My-Zsh + Powerlevel10k 高機能シェル環境
Editor Neovim LazyVim + solarized-osaka theme
Manager GNU Stow シンボリックリンク管理

📦 Windows (WSL環境) でのセットアップ

📋 基本ツールのインストール

# 基本ツールのインストール
sudo apt update
sudo apt install zsh vim stow git curl tmux

# Oh-My-Zshのインストール
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Powerlevel10kテーマ
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git \
    ~/.oh-my-zsh/custom/themes/powerlevel10k

# nvimもインストール

# fish関連のインストールは以下のリンクを参考に
https://qiita.com/sashisusesouyu/items/62248d4d256cd2bb92ac

🔄 新しい環境での復元

# リポジトリのクローン
git clone https://github.com/nagomin25/dotfiles.git ~/dotfiles

⚠️ 重要: 既存の設定ファイルがある場合は、必ずバックアップを取ってから削除するか、クローンしてきたファイルと結合してください。

その後、以下のstowコマンドを実行してシンボリックリンクを作成:

cd ~/dotfiles
stow config zsh

ターミナルを再起動するか、zshを再読み込みしてください。

以下のプラグインの設定をしているので下記のコマンドでインストールしてください。

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

📁 ディレクトリ構成

~/dotfiles/
├── config/
│   └── .config/
│        └── nvim/          # Neovim設定
├── zsh/
│   └── .zshrc            # Zsh設定
└── scripts/              # 便利スクリプト

🚀 使い方

✏️ 設定の更新

# 設定ファイルを編集(例:Neovim)
vim ~/.config/nvim/init.lua

# 変更をプッシュ
cd ~/dotfiles
git add .
git commit -m "Update nvim config"
git push

➕ 新しい設定の追加

# 新しい設定ファイルを追加
mkdir -p ~/dotfiles/config/.config/git
vim ~/dotfiles/config/.config/git/config

# GNU Stowでリンク作成
cd ~/dotfiles
stow -R config

⚡ 主要なキーバインド

🎹 Neovim (LazyVim)

キー 動作
<Space>e ファイルエクスプローラー
<Space>ac Claude Code起動
<Space>ff ファイル検索

🎨 テーマ

Solarized Osaka (透明度付き) - 目に優しく美しいカラースキーム

About

nvim環境の設定ファイルです。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published