The best vimrc in the Universe.
BSDDOG vimrc on GitHub
What is BSDDOG vimrc
First, it was OpenBSD only. But I wanted a single config file. I had
different .vimrc and .exrc files for different OSes. It wasn't okay!
Thus I've mixed them up in one single file. As a result, some of the
configurations may not be your cup of tee(1). So, fill free to ditch
them out! There are two versions of each files (both vimrc and exrc)
with and without comment. I prefer the latter, and to RTFM and STFW.
OpenBSD vimrc And More
Both .vimrc and .exrc config files work on OpenBSD, Windows & Linux. They work on FreeBSD, NetBSD, Mac and ATARI 2600 too. You bet! This vimrc works for vim and gvim, and exrc for vi and nvi.
- Indentation is an 8 character tab.
Language swtich (LTR and RTL):
- LTR <-> LTR, e.g. English, Russian, etc.
- RTL <-> LTR, e.g. Persian, etc.
[F2]Disabling automatic indentation for external pasting.
[F3]LTR language swtich.
[F4]RTL language swtich.
[F5]Reset to default, after
[F7]FreeBSD FDP: replace spaces with tabs.
[F8]FreeBSD FDP: rewrap paragraphs.
- A beautiful Status Bar.
- CLI and GUI compatible.
- Windows compatible (gvim).
- Custom directories for backup, temporary and runtimes files.
- Incremental search (rounded & highlighted) and the cindent.
- Disable beep, visual bell and special characters, e.g.
- Syntax highlighting and highlight matching.
- Ruler, line number and padding.
- Backspace and
- Clipboard, history and undo.
- Solves MS Windows (Cygwin, Msys2, WSL) auto-INSERT problem in start-up.
Functions and Function Keys
- You can change default Function keys, via
- If you don't need a Function or Functions, just delete them.
OpenBSD, Linux, FreeBSD, and the rest
exrc files and the
vim folder to
I prefer to use:
But you can change them, or use the vim defaults.
A vimrc for Windows
- Rename the
_vimrcand put in the
- Create the
.vimdirectory and its sub-directories in the
― by BSDDOG