armin/vimrc-minimal
2
1
Fork
You've already forked vimrc-minimal
0
A (very) minimalistic VIM configuration. Actually, at this point it's not just a single vimrc anymore, and I admit that. But hey, you can still "extract" the core within seconds if you have to. I hope this will help someone. <3
  • Vim Script 100%
2026年06月22日 17:52:34 +02:00
vim init 2026年05月22日 15:49:05 +02:00
README.md blah. 2026年06月22日 17:52:34 +02:00
vimrc.png add screenshot 2026年05月22日 23:14:25 +02:00

vimrc-minimal

A (very) minimalistic Vim configuration with a handcrafted statusline and a collection of dark color schemes. No plugin managers, no bloat - just a single vimrc and four color schemes ready to drop in and go.

screenshot

Please note: on this screenshot here, you see an interesting bug, that I hope is fixed now, and which only ever happened on iTerm2 on macOS: in the mode display on the very left of the status bar, you see 2 spaces left of the mode, e.g. "spacespaceINSERTspace". I'm still not exactly sure why this happens and I've made a workaround to circumvent this happening on iTerm2. If you ever run into problems with this, don't hesitate to contact me.

Quick Start

# Clone the repo
git clone https://codeberg.org/armin/vimrc-minimal ~/.vim
# Or just grab the bits you need:
cp vim/vimrc ~/.vimrc
cp -r vim/colors ~/.vim/colors

Structure hint: Run find . | less in ~/.vim to browse the file tree.

Features

  • Custom statusline - mode-aware highlighting (NORMAL, INSERT, VISUAL, etc.), filename, filetype, modified flag, mixed tabs warning, file encoding, line/column position
  • Sensible defaults - 2-space indentation, dark background, syntax highlighting, line numbers, incremental search with highlighting, wildmenu with popup completion, no toolbar/startup message
  • Dark color schemes - 4 hand-picked or custom schemes
  • Cursor jump - restores cursor position when reopening files (BufReadPost)

Color Schemes

Scheme Description Background
bvemu Earthy greens, warm browns, cool teals - custom scheme by Subramanyam #202020
nord Arctic-inspired palette - port of arcticicestudio/nord #2E3440
sorbet2 Dark indigo base with purple, green, amber accents #161821
sorbet3 Sorbet2 variant - same colors, different highlight group config #161821

Statusline

The statusline is built entirely in pure Vimscript (no plugins):

 NORMAL ~/path/to/file.py [python] [+] 10/42 23% 5

Colors change per mode:

  • NORMAL - yellow background (ctermbg=214)
  • INSERT - green background (ctermbg=2)
  • COMMAND - red background (ctermbg=1)
  • VISUAL / V-LINE / V-BLOCK - yellow background

A [tabs] warning appears when a file contains literal tabs (indicates mixed indentation).