Created
July 7, 2011 03:29
-
-
Save hansent/1068858 to your computer and use it in GitHub Desktop.
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
| "gui options | |
| set guioptions-=T | |
| set guioptions-=r " Remove right- and left-hand scrollbars | |
| set guioptions-=L | |
| "set guioptions-=m | |
| "set fuopt+=maxhorz " grow to maximum horizontal width on entering fullscreen mode | |
| :colorscheme zenburn | |
| set number | |
| set expandtab | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| "function keys | |
| map <F1> :e ~/.vimrc<CR> | |
| map <F2> :ls<CR> | |
| map <F3> :retab <CR> :e<CR> | |
| "map ctrl paste/yank to use system clipboard | |
| map <C-S-p> "+P | |
| map <C-p> "+p | |
| map <C-S-y> "+Y | |
| map <C-y> "+y | |
| filetype plugin indent on | |
| au! BufWritePost .vimrc nested source % | |
| autocmd FileType python set complete+=k~/.vim/syntax/python.vim isk+=.,( | |
| autocmd FileType pyrex set complete+=k~/.vim/syntax/python.vim isk+=.,( | |
| au BufNewFile,BufRead *.frag,*.vert,*.fs,*.vs,*.glsl setf glsl | |
| set wildmode=longest:full | |
| set wildmenu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment