mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Get vim working fairly well
This commit is contained in:
parent
919c18f69e
commit
d3a33ae73e
1 changed files with 12 additions and 7 deletions
|
|
@ -1,3 +1,4 @@
|
|||
set nocompatible " be iMproved, required
|
||||
filetype off " required by Vundle. filetype is reenabled after Vundle starts
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
|
|
@ -15,8 +16,10 @@ Plugin 'godlygeek/tabular' " provides a method for lining things
|
|||
Plugin 'honza/vim-snippets' " provides snippets for use with vim-snipmate
|
||||
Plugin 'MarcWeber/vim-addon-mw-utils' " a utility used by vim-snipmate
|
||||
Plugin 'mrk21/yaml-vim' " provides indentation and syntax highlighting for yaml
|
||||
Plugin 'rbong/vim-flog' " git branch viewer built on fugitive
|
||||
Plugin 'rodjek/vim-puppet' " provides several niceties for working with Puppet
|
||||
Plugin 'tomtom/tlib_vim' " a utility used by vim-snipmate
|
||||
Plugin 'tpope/vim-fugitive' " all things Git here in Vim
|
||||
Plugin 'vim-airline/vim-airline' " status line alternative to powerline
|
||||
Plugin 'vim-airline/vim-airline-themes' " themes for vim-airline
|
||||
Plugin 'vim-ruby/vim-ruby' " provides syntax highlighting for ruby files
|
||||
|
|
@ -38,6 +41,7 @@ syntax on " enable syntax highlighting
|
|||
|
||||
set encoding=utf-8
|
||||
set termencoding=utf-8
|
||||
set t_Co=256 " tell vim we have 256 colors to work with
|
||||
|
||||
set autoindent " automatically indent new lines
|
||||
set background=dark " tell vim your terminal has a dark background
|
||||
|
|
@ -47,13 +51,13 @@ set fillchars+=stl:\ ,stlnc:\ " fix added per powerline troubles
|
|||
set laststatus=2 " Always display the status line in all windows
|
||||
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the status line)
|
||||
set smarttab " helps with expanding tabs to spaces (I think)
|
||||
set statusline+=%{FugitiveStatusline()} " get git info via fugitive plugin
|
||||
set statusline+=%#warningmsg# " recommended setting from syntastic plugin
|
||||
set statusline+=%{SyntasticStatuslineFlag()} " recommended setting from syntastic plugin
|
||||
set statusline+=%* " recommended setting from syntastic plugin
|
||||
set t_Co=256 " tell vim we have 256 colors to work with
|
||||
|
||||
let g:solarized_termtrans = 1 " This gets rid of the grey background
|
||||
colorscheme solarized " use the solorized set of colors
|
||||
"let g:solarized_termtrans = 1 " This gets rid of the grey background
|
||||
"colorscheme solarized " use the solorized set of colors
|
||||
|
||||
" This has to come after colorscheme to not be masked
|
||||
highlight ColorColumn ctermbg=232 " set the color to be used for guidelines
|
||||
|
|
@ -74,5 +78,6 @@ let g:syntastic_quiet_messages = {'level': 'warnings'}
|
|||
let g:vim_markdown_folding_disabled = 1
|
||||
|
||||
" settings for vim-airline
|
||||
let g:airline_theme='powerlineish'
|
||||
" let g:airline_powerline_fonts = 1
|
||||
let g:airline_theme='badwolf'
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue