Created
March 17, 2014 22:24
-
-
Save paganotoni/9609642 to your computer and use it in GitHub Desktop.
My .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
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My bundles here: | |
" | |
" original repos on GitHub | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Bundle 'tpope/vim-rails.git' | |
Bundle 'scrooloose/nerdtree' | |
Bundle 'altercation/vim-colors-solarized' | |
Bundle 'nanotech/jellybeans.vim' | |
Bundle 'vim-ruby/vim-ruby' | |
Bundle 'tpope/vim-haml' | |
Bundle 'christoomey/vim-tmux-navigator' | |
Bundle 'ihacklog/HiCursorWords.git' | |
Bundle 'mileszs/ack.vim.git' | |
Bundle 'mattn/emmet-vim' | |
Bundle 'airblade/vim-gitgutter' | |
" Nerdtree config | |
if isdirectory(argv(0)) | |
bd | |
autocmd vimenter * exe "cd" argv(0) | |
autocmd VimEnter * NERDTree | |
endif | |
" Solarized config | |
syntax on | |
" solarized options | |
let g:solarized_termcolors = 256 | |
let g:solarized_visibility = "high" | |
let g:solarized_contrast = "high" | |
let g:solarized_termtrans = 1 | |
colorscheme solarized | |
"========================== | |
"Jellybeans as color scheme. | |
"colorscheme jellybeans | |
"========================== | |
"Misc configuration options | |
:set number | |
" Disable text wrap | |
:set nowrap | |
:set linebreak | |
:set nolist " list disables linebreak | |
:set textwidth=0 | |
:set wrapmargin=0 | |
"Clipboard | |
:set clipboard=unnamed | |
" Tab and spaces config | |
:set tabstop=2 shiftwidth=2 expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment