Created
July 20, 2012 14:20
-
-
Save btisdall/3150979 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
set ruler | |
set nohls | |
syntax on | |
set autoindent smartindent | |
set tabstop=4 | |
set shiftround | |
set shiftwidth=4 | |
set expandtab | |
set wildmode=longest,list | |
set vb | |
set t_Co=256 | |
colors elflord | |
set encoding=utf-8 | |
au BufNewFile,BufRead firewall.rules set filetype=sh | |
au BufNewFile,BufRead *.tt2 set filetype=sh | |
au BufNewFile,BufRead *.pp set filetype=puppet | |
au BufNewFile,BufRead *.sas set filetype=sas | |
au BufNewFile,BufRead capfile set filetype=ruby | |
"if has("autocmd") | |
" In text files, always limit the width of text to 78 characters | |
autocmd BufRead *.txt set tw=78 | |
" When editing a file, always jump to the last cursor position | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line ("'\"") <= line("$") | | |
\ exe "normal! g'\"" | | |
\ endif | |
"endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment