-
Notifications
You must be signed in to change notification settings - Fork 0
Vim
Justin Puah edited this page Jul 13, 2026
·
1 revision
Legacy Vimscript config — kept as a fallback for machines where Neovim isn't
available. The active config is in nvim/.
| Tool | Purpose | Install |
|---|---|---|
| Vim 8+ | Editor |
winget install vim.vim / system package manager |
| File | Installed as | Notes |
|---|---|---|
vimrc |
~/vimfiles/vimrc (Win) / ~/.vim/vimrc (Linux) |
Main config — Vim finds it automatically inside the vimfiles dir |
The rest of vim/ is the vimfiles directory itself (installed as ~/vimfiles
or ~/.vim). Notable subdirectories:
| Directory | Purpose |
|---|---|
common/after/ftplugin/ |
Filetype-specific settings (indent, formatoptions, etc.) |
common/after/ |
Settings applied after plugins load |
b16.vim |
Base16 colour scheme helper |
- 2-space tabs,
expandtab,smarttab -
relativenumber+number -
wildmode=list:fullwith wildignore for build artefacts -
tagssearch from file directory up to$HOME -
matchit.vimenabled (extends%to matchdef/end, HTML tags, etc.) -
laststatus=2— statusline always visible -
undofile— persistent undo across sessions
./setup.ps1 -Module vim # Windows — junctions ~/vimfiles → vim/
./setup.sh -m vim # Linux — symlinks ~/.vim → vim/Vim finds vimrc at ~/vimfiles/vimrc (Windows) or ~/.vim/vimrc (Linux)
automatically — no separate vimrc link needed.
Source: vim/README.md in the dotfiles repo.
Getting started
Core (Windows)
Cross-platform
Claude Code & AI
Reference
Legacy (Linux)
Troubleshooting