vimrc - xerocrypt/Misc GitHub Wiki

Configuration file for the vim editor.

Set the editor column width to 90 characters, and linebreak according to the current window size. We also might want to set tabs to indent by four spaces:

set columns=90

set linebreak

set colorcolumn=90

set tabstop=4

Colour scheme and appearance configuration. You'll find the colour scheme files in /app/vim/vim80 or /usr/share/vim/vim74/colors. Also, we set the background to 'dark' so it's easier to see the syntax highlighting (if any), and set a visual instead of audio alert.

color murphy

set background=dark

syntax on

set visualbell

The following are the configuration entries for vim's encryption feature. The default encryption is weak. Here we'll use the Blowfish cipher, and prevent the plaintext being written to disk:

set cm=blowfish2

set viminfo=

set nobackup

set nowritebackup