Last active
September 27, 2015 11:38
-
-
Save emrekutlu/1263895 to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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