Created
October 29, 2010 16:23
-
-
Save camilo/653845 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or 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
| colorscheme inkpot | |
| set guifont=Inconsolata:h16.5 | |
| set guioptions=-M | |
| syntax on | |
| filetype plugin indent on | |
| set tabstop=2 | |
| set smarttab | |
| set shiftwidth=2 | |
| set autoindent | |
| set expandtab | |
| set number | |
| set spell | |
| au FileType php setl sw=4 sts=4 et | |
| "For LaTex | |
| set grepprg=grep\ -nH\ $* | |
| let g:tex_flavor='latex' | |
| " disable arrow keys | |
| map <up> <nop> | |
| map <down> <nop> | |
| map <left> <nop> | |
| map <right> <nop> | |
| imap <up> <nop> | |
| imap <down> <nop> | |
| imap <left> <nop> | |
| imap <right> <nop> | |
| " No huge lines | |
| set textwidth=90 | |
| set nowrap | |
| " Status line | |
| set statusline="%{&fo}" | |
| " Move obnoxious swp files to /tmp | |
| set directory=/tmp | |
| " Keep seeing the code underneath! | |
| set scrolloff=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment