Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax enable
- filetype indent on
- set et
- set shiftwidth=4
- set smarttab
- set expandtab
- set tabstop=4
- set softtabstop=4
- set autoindent
- set encoding=utf-8 " Necessary to show Unicode glyphs
- map <F2> :w\|!python %<cr>
- " Wrap at 80 Chars, keep words intact
- "set formatoptions+=w
- "set tw=80
- "" NUMBERS AT THE BEGINNING OF EVERY LINE
- set number
- "" SETTING FOR USING WOMBAT COLOR SCHEME
- "set t_Co=256
- "colorshceme wombat256
- "" BELOW CODE FOR HIGHLIGHTING ANYTHING AVOBE 80 COLUMNS
- "set columns=80
- highlight OverLength ctermbg=red ctermfg=white guibg=#592929
- match OverLength /\%81v.\+/
- "" ALTERNATE TO HIGHLIGHTING OPTION ABOVE
- if exists('+colorcolumn')
- set colorcolumn=80
- else
- au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
- endif
- "" VUNDLE STUFF
- 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 "altercation/vim-colors-solarized"
- Bundle "scrooloose/syntastic"
- Bundle "majutsushi/tagbar"
- " for Ultisnips
- Bundle "MarcWeber/vim-addon-mw-utils"
- Bundle "tomtom/tlib_vim"
- Bundle "honza/vim-snippets"
- Bundle "gglanzani/ultisnips-snippets.git"
- Bundle "SirVer/ultisnips"
- let g:UltiSnipsSnippetDirectories=["my_snippets"]
- "Bundle 'tpope/vim-fugitive'
- "Bundle 'Lokaltog/vim-easymotion'
- "Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
- "Bundle 'tpope/vim-rails.git'
- " vim-scripts repos
- "Bundle 'L9'
- "Bundle 'FuzzyFinder'
- " non github repos
- "Bundle 'git://git.wincent.com/command-t.git'
- " ...
- filetype plugin indent on " required!
- "
- " Brief help
- " :BundleList - list configured bundles
- " :BundleInstall(!) - install(update) bundles
- " :BundleSearch(!) foo - search(or refresh cache first) for foo
- " :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
- "
- " see :h vundle for more details or wiki for FAQ
- " NOTE: comments after Bundle command are not allowed..
- " FOR SOLARIZED COLOR THEME
- set t_Co=256
- set background=light
- let g:solarized_termcolors=256
- colorscheme solarized
- """ FOR POWERLINE (MUST COME LAST, FOR SOME REASON)
- set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
- " Always show statusline
- set laststatus=2
- " Use 256 colours (Use this setting only if your terminal supports 256 colours)
- "set t_Co=256
- set encoding=utf-8 " Necessary to show Unicode glyphs
- let g:Powerline_symbols = 'fancy'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement