mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Commented files
This commit is contained in:
parent
b1e0388b68
commit
3be7d2d3dd
3 changed files with 26 additions and 20 deletions
|
|
@ -1 +1,2 @@
|
||||||
|
" enable powerline
|
||||||
set rtp+='/usr/share/vim/addons/plugin/powerline.vim'
|
set rtp+='/usr/share/vim/addons/plugin/powerline.vim'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
" enable powerline
|
||||||
python3 from powerline.vim import setup as powerline_setup
|
python3 from powerline.vim import setup as powerline_setup
|
||||||
python3 powerline_setup()
|
python3 powerline_setup()
|
||||||
python3 del powerline_setup
|
python3 del powerline_setup
|
||||||
|
|
|
||||||
|
|
@ -7,17 +7,17 @@ call vundle#begin()
|
||||||
" let Vundle manage Vundle, required for Vundle to work right
|
" let Vundle manage Vundle, required for Vundle to work right
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
Plugin 'altercation/vim-colors-solarized' " privides solorized color scheme
|
Plugin 'altercation/vim-colors-solarized' " provides solorized color scheme
|
||||||
Plugin 'ekalinin/Dockerfile.vim' " provides syntax highlighting for Dockerfiles
|
Plugin 'ekalinin/Dockerfile.vim' " provides syntax highlighting for Dockerfiles
|
||||||
Plugin 'elzr/vim-json' " provides syntax highlighting for JSON files
|
Plugin 'elzr/vim-json' " provides syntax highlighting for JSON files
|
||||||
Plugin 'garbas/vim-snipmate' " provides code snippets
|
Plugin 'garbas/vim-snipmate' " provides code snippets
|
||||||
Plugin 'godlygeek/tabular' " provides a method for lining things up
|
Plugin 'godlygeek/tabular' " provides a method for lining things up
|
||||||
Plugin 'honza/vim-snippets' " provides snippets for use with vim-snipmate
|
Plugin 'honza/vim-snippets' " provides snippets for use with vim-snipmate
|
||||||
Plugin 'MarcWeber/vim-addon-mw-utils' " a utility used by vim-snipmate
|
Plugin 'MarcWeber/vim-addon-mw-utils' " a utility used by vim-snipmate
|
||||||
Plugin 'mrk21/yaml-vim' " provides indentaion and syntax highlighting for yaml
|
Plugin 'mrk21/yaml-vim' " provides indentation and syntax highlighting for yaml
|
||||||
Plugin 'rodjek/vim-puppet' " provides several niceties for working with Puppet
|
Plugin 'rodjek/vim-puppet' " provides several niceties for working with Puppet
|
||||||
Plugin 'tomtom/tlib_vim' " a utility used by vim-snipmate
|
Plugin 'tomtom/tlib_vim' " a utility used by vim-snipmate
|
||||||
Plugin 'vim-ruby/vim-ruby' " provides syntax hightlighting for ruby files
|
Plugin 'vim-ruby/vim-ruby' " provides syntax highlighting for ruby files
|
||||||
Plugin 'vim-syntastic/syntastic' " provides syntax checking
|
Plugin 'vim-syntastic/syntastic' " provides syntax checking
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
|
|
@ -32,31 +32,32 @@ filetype plugin indent on " required for plugins to be able to adjust indent
|
||||||
"
|
"
|
||||||
" see :h vundle for more details or wiki for FAQ
|
" see :h vundle for more details or wiki for FAQ
|
||||||
" Put your non-Plugin stuff after this line
|
" Put your non-Plugin stuff after this line
|
||||||
syntax on
|
syntax on " enable syntax highlighting
|
||||||
|
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
|
|
||||||
set autoindent
|
set autoindent " automatically indent new lines
|
||||||
set background=dark
|
set background=dark " tell vim your terminal has a dark background
|
||||||
set backspace=2
|
set backspace=2 " make backspace work like most other programs
|
||||||
set expandtab
|
set expandtab " converts tabs to spaces
|
||||||
set fillchars+=stl:\ ,stlnc:\
|
set fillchars+=stl:\ ,stlnc:\ " fix added per powerline troubleshooting docs
|
||||||
set laststatus=2 " Always display the statusline in all windows
|
set laststatus=2 " Always display the status line in all windows
|
||||||
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
|
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the status line)
|
||||||
set smarttab
|
set smarttab " helps with expanding tabs to spaces (I think)
|
||||||
set statusline+=%#warningmsg#
|
set statusline+=%#warningmsg# " recommended setting from syntastic plugin
|
||||||
set statusline+=%{SyntasticStatuslineFlag()}
|
set statusline+=%{SyntasticStatuslineFlag()} " recommended setting from syntastic plugin
|
||||||
set statusline+=%*
|
set statusline+=%* " recommended setting from syntastic plugin
|
||||||
set t_Co=256
|
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
|
let g:solarized_termtrans = 1 " This gets rid of the grey background
|
||||||
colorscheme solarized
|
colorscheme solarized " use the solorized set of colors
|
||||||
|
|
||||||
" This has to come after colorscheme to not be masked
|
" This has to come after colorscheme to not be masked
|
||||||
highlight ColorColumn ctermbg=232
|
highlight ColorColumn ctermbg=232 " set the color to be used for guidelines
|
||||||
let &colorcolumn=join(range(81,999),",")
|
let &colorcolumn=join(range(81,999),",") " change the background color of everything beyond 80 characters
|
||||||
|
|
||||||
|
" settings for the syntastic plugin
|
||||||
let g:syntastic_always_populate_loc_list = 1
|
let g:syntastic_always_populate_loc_list = 1
|
||||||
let g:syntastic_auto_loc_list = 1
|
let g:syntastic_auto_loc_list = 1
|
||||||
let g:syntastic_check_on_open = 1
|
let g:syntastic_check_on_open = 1
|
||||||
|
|
@ -64,6 +65,9 @@ let g:syntastic_check_on_wq = 0
|
||||||
let g:syntastic_enable_signs = 1
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_ruby_checkers = ['rubocop']
|
let g:syntastic_ruby_checkers = ['rubocop']
|
||||||
let g:syntastic_quiet_messages = {'level': 'warnings'}
|
let g:syntastic_quiet_messages = {'level': 'warnings'}
|
||||||
|
|
||||||
|
" don't wrap text in markdown files
|
||||||
let g:vim_markdown_folding_disabled = 1
|
let g:vim_markdown_folding_disabled = 1
|
||||||
|
|
||||||
|
" import settings that are OS specific
|
||||||
source ~/.vimrc_os_specific
|
source ~/.vimrc_os_specific
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue