Skip to content

Instantly share code, notes, and snippets.

@joseche
Created September 8, 2015 17:30
Show Gist options
  • Select an option

  • Save joseche/bf78d4a6736e701a25e3 to your computer and use it in GitHub Desktop.

Select an option

Save joseche/bf78d4a6736e701a25e3 to your computer and use it in GitHub Desktop.
My always changing .vimrc
syntax enable " enable syntax for known file ext ext
colorscheme darkblue " nice and available for most cases
set shiftwidth=4 " tab = 4 spaces
set tabstop=4
set expandtab " tabs are evil
set smartindent " use lang logic for indent
set smarttab
set laststatus=2
" auto read when file changed from outside
" set autoread
set so=7 " show lines ahead when j/k
set wildmenu " create a menu at the bottom of window
set wildmode=list:longest,full
set mouse=a " enable mouse
set ruler " show cur pos
set number " show line nums
set ignorecase " ignore case when searching
set smartcase " use case when case is entered
set incsearch " show match
set hlsearch " highlight search
set showmatch " matching brackets when over
set mat=5 " blink for matching brackets
set noerrorbells " annoying sounds
set novisualbell
set t_vb=
set tm=500
set encoding=utf8
set ffs=unix,mac,dos
set nobackup " fear only fear itself
set nowb
set noswapfile
set history=500 " how many lines to save
set statusline=%<\ %n:%f\ %m%r%y%=%-35.(line:\ %l\ of\ %L,\ col:\ %c%V\ (%P)%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment