public
Created

sample vimrc file

  • Download Gist
vimrc
VimL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
set nocompatible
syntax on
 
filetype plugin indent on
set autochdir
set backspace=indent,eol,start
set clipboard+=unnamed
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
set fileformats=unix
set enc=utf-8
set fenc=utf-8
set fencs=utf-8
set noerrorbells
 
if has('multi_byte_encoding')
set enc=utf-8
endif
 
if has('gui_running')
colorscheme candycode
set guifont=DejaVu_Sans_Mono:h10
set mousehide
set number
set numberwidth=5
endif

See vim files for a better solution.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.