Created
July 13, 2012 20:54
-
-
Save wevtimoteo/3107385 to your computer and use it in GitHub Desktop.
My current .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
:syntax on | |
"ruby | |
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete | |
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1 | |
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1 | |
"improve autocomplete menu color | |
highlight Pmenu ctermbg=238 gui=bold | |
:set tabstop=2 | |
:set shiftwidth=2 | |
:set expandtab | |
"highlight CursorLine guibg=#444444 | |
"set cul | |
"hi CursorLine term=none cterm=none ctermbg=3 | |
"highlight all the matches in search | |
:set hlsearch | |
:set guifont=Monaco:h15 | |
:set columns=100 | |
"autoload on startup indentation guides | |
let g:indent_guides_enable_on_vim_startup = 1 | |
let g:indent_guides_start_level=2 | |
let g:indent_guides_guide_size=1 | |
"configs for powerline | |
set t_Co=256 | |
let g:Powerline_symbols = 'unicode' | |
set nocompatible | |
set laststatus=2 | |
set list! | |
" Shortcut to rapidly toggle `set list` | |
nmap <leader>l :set list!<CR> | |
" Use the same symbols as TextMate for tabstops and EOLs | |
set listchars=tab:▸\ ,eol:¬ | |
"Invisible character colors | |
highlight NonText guifg=#4a4a59 | |
highlight SpecialKey guifg=#4a4a59 | |
"autoload NERDTree | |
autocmd vimenter * NERDTree | |
call pathogen#infect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment