Files
gitea-adminandClaude Fable 5.1 215c5cea44
check / validate (push) Canceled after 0s
refactor: trim configuration and drop unused plugins
- Merge sunbather dark/light into one background-aware color scheme
- Fold uninstall.sh into install.sh as a subcommand; drop clone logic
- Inline bash_tools/ helpers; remove fct and odict
- Remove TPM, tmux-sensible, and tmux-fuzzback; tmux has no plugins now
- Remove vim-repeat, vim-fugitive, vim-gitgutter, vim-tmux-navigator,
  and moonfly; everforest is the default dark theme
- Fetch vim-plug via git instead of curl; require git, not curl
- Guard termguicolors on Windows consoles without VT support and set
  nomore before the vimrc loads so headless installs cannot hang
- Fall back to sunbather when a color scheme fails to load, without
  overwriting the saved preference
- Append config/vim to runtimepath so netrw stops writing into the repo
- Fix .editorconfig Python indent; trim .gitignore; update CI and README

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBfsAH6iJg9inkNLKq11YC
2026-09-14 01:06:39 +00:00

76 lines
1.5 KiB
Markdown

# Dotfiles
Focused Vim 9, Bash, and tmux configuration for Linux, WSL, and macOS. The
Windows installer manages the same Vim configuration.
## Requirements
- Git
- Vim 9 or newer
- Optional: tmux, zoxide, ripgrep, and a Nerd Font
## Install
Clone the repository, then install all components:
```bash
git clone https://git.justconn.top/gitea-admin/dotfiles.git ~/.dotfiles
~/.dotfiles/install.sh
```
Components can be installed independently and combined:
```bash
~/.dotfiles/install.sh vim
~/.dotfiles/install.sh shell tmux
```
The installer backs up conflicting files, creates managed links, and installs
Vim plugins. It does not install zoxide; if zoxide is already available, the
managed Bash block initializes it.
On Windows, clone the repository and run:
```powershell
python .\win-install.py
```
## Vim
The Vim setup includes Fuzzbox and NERDTree navigation, Startify, a compact
global statusline, and three color schemes.
Useful mappings use `,` as the leader key:
- `,ff`: files
- `,fg`: text search
- `,e`: NERDTree
- `,cbg`: light/dark mode
- `,ctb`: transparency
- `:FuzzyColors`: choose a color scheme
Plugin maintenance is explicit:
```vim
:PlugUpdate
:PlugClean
```
## Update and uninstall
Update safely from a clean worktree:
```bash
git -C ~/.dotfiles pull --ff-only
~/.dotfiles/install.sh
```
To remove managed links and the managed Bash block:
```bash
~/.dotfiles/install.sh uninstall
```
Uninstalling intentionally retains the repository, backups, and Vim
data/plugins so user data is never removed implicitly.