L2 Cache

Behold the power of |!

User Tools

Site Tools


Sidebar

configuration:vim

This is an old revision of the document!


My .vimrc, nothing fancy really.

.vimrc
" update: curl -sk "https://docu.blackdot.be/_export/code/configuration/vim?codeblock=0" -o ~/.vimrc 
set nocompatible                  " Must come first because it changes other options.
syntax enable                     " Turn on syntax highlighting.
filetype plugin on                " Turn on file type detection.
set showcmd                       " Display incomplete commands.
set showmode                      " Display the mode you're in.
set backspace=indent,eol,start    " Intuitive backspacing.
set hidden                        " Handle multiple buffers better.
set wildmenu                      " Enhanced command line completion.
set wildmode=list:longest         " Complete files like a shell.
set incsearch                     " Highlight matches as you type.
set hlsearch                      " Highlight matches.
set wrap                          " Turn on line wrapping.
set modeline                      " Allow per file config
set bg=dark                       " pastel colors
 
set expandtab                     " expand tabs to spaces
set shiftwidth=4                  " set index to 4 spaces
set softtabstop=4                 " tab inserts 4 spaces
set autoindent                    " auto indent
 
set paste                         " help with pasting
 
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
configuration/vim.1447837986.txt.gz · Last modified: 2015/11/18 10:13 by sjorge