Skip to content

Instantly share code, notes, and snippets.

@emrekutlu
Last active September 27, 2015 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emrekutlu/1263895 to your computer and use it in GitHub Desktop.
Save emrekutlu/1263895 to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible
syntax on
set ts=2
set shiftwidth=2
set expandtab
retab
set autoindent
set ruler
set incsearch
set background=dark
set cursorline
set cursorcolumn
set number
nmap :ff :FufFile **/<CR>
autocmd BufWritePre * :%s/\s\+$//e
au BufRead,BufNewFile *.handlebars,*.hbs set ft=handlebars
autocmd! BufRead,BufNewFile *.less set filetype=less
execute pathogen#infect()
let g:enable_numbers = 0
set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P
set laststatus=2
au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment