My Vim Config
Here’s the .vimrc
I use every day. It’s a minimal but powerful setup for
TypeScript, Rust, Python, and C. Below you’ll find the raw config, a breakdown of what
each section does, and the custom keybindings I rely on.
Guide
- General: Line numbers, search highlighting, clipboard integration, dark theme.
- Plugins: NERDTree (file explorer), Airline (statusline), CoC (LSP/autocomplete), Polyglot (syntax), Syntastic (linting).
- Leader key: set to Space.
- <Leader>e: Toggle NERDTree sidebar.
- <Leader>t: Compile and run the current C file.
- <Leader>r: Run
cargo run
for Rust projects. - Ctrl-h/j/k/l: Move between windows in normal/insert/terminal modes.
- Format on save: Prettier for web files, CoC for Python.
Published 2025-09-04