Last active
August 29, 2015 14:04
-
-
Save rpicard/ca5c549b30c7528edf16 to your computer and use it in GitHub Desktop.
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
syntax on " Syntax highlighting | |
set relativenumber " Line numbers | |
set ruler " Show the line and column number | |
""" Whitespace | |
set autoindent " Copy current lines indentation when creating new line | |
set expandtab " Use the appropriate number of spaces to insert a tab | |
set smarttab | |
set shiftwidth=4 " Number of spaces to use for each step of (auto)indent | |
set tabstop=4 " Number of spaces to use for <Tab> | |
autocmd FileType make setlocal noexpandtab " Use real <Tab>s for Makefiles | |
set ff=unix " Set filetype to UNIX | |
"call pathogen#infect() " Pathogen is a plugin bundle manager | |
set wildmode=longest,list " bash-like :e tab-completion | |
" Prevent trailing whitespace | |
:highlight TrailWhitespace ctermbg=red guibg=red | |
:match TrailWhitespace /\s\+$\| \+\ze\t/ | |
colorscheme desert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment