" vim +BundleInstall +qall
"
" Automatically setup Vundle on first run
-if !isdirectory(expand("~/.vim/bundle/Vundle.vim"))
- call system("git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle")
- endif
+" if !isdirectory(expand("~/.vim/bundle/Vundle.vim"))
+" call system("git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle")
+" endif
" Let the leader key be ,
let mapleader=","
" Async dispatch by Tim Pope
Plugin 'tpope/vim-dispatch'
+" Markdown highlighting
+Plugin 'tpope/vim-markdown'
+let g:markdown_github_languages = ['sh', 'python']
+
+
" Bundle 'vim-scripts/confluencewiki.vim'
" - Caused syntax color problems for RST?
"
" let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1101,E1120,R0201,R0901,R0903,R0904,R0913'
" let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1101,E1120,R0201,R0901,R0903,R0904,R0913,E1002,E1103'
" let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1002,E1101,E1103,E1120,R0201,R0901,R0903,R0904,R0913'
-let g:PyLintDissabledMessages = 'C0103,C0111,C0301,C0322,C0323,C0324,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0621,W0631,E0611,E1002,E1101,E1103,E1120,F0401,R0201,R0901,R0903,R0904,R0913'
+let g:PyLintDissabledMessages = 'C0103,C0111,C0301,C0322,C0323,C0324,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0621,W0631,E0102,E0611,E1002,E1101,E1103,E1120,F0401,R0201,R0901,R0903,R0904,R0913'
" Help building Arduino source files.
Plugin 'edthedev/arduino.vim'
" Very broken:
" Bundle 'dahu/vim-asciidoc'
+" Syntax Highlighting for AsiiDoc
+" Poor color choices for dark theme: Plugin 'dagwieers/asciidoc-vim'
+" Plugin 'traycerb/asciidoc-vim'
+
+" Learn me! <cs - change surrounding, ds - delete sur, ys - add surrounding)
+Plugin 'tpope/vim-surround'
+
+" Quick complete of stuff...
+" Plugin 'SirVer/ultisnips'
+
+let g:UltiSnipsExpandTrigger="<tab>"
+let g:UltiSnipsJumpForwardTrigger="<c-b>"
+let g:UltiSnipsJumpBackwardTrigger="<c-z>"
+
+" Snippets for ultisnips
+Plugin 'edthedev/vim-snippets'
+
+" Default to use strapdown and markdown for blog posts.
+" UltiSnipsAddFiletypes markdown.strapdown
+
+
call vundle#end()
filetype plugin indent on " required for Vundle Bundle
" If not something else, then asciidoc
-" set filetype=asciidoc
+set filetype=asciidoc
+set syntax=asciidoc
" Don't show tabs for HTML files. Do show trailing spaces."
au FileType html set nolist
au FileType markdown set shiftwidth=2
" au FileType yaml set expandtab
"
-
-
set softtabstop=4 " makes the spaces feel like real tabs
" Sensible default for everything else.
set tabstop=2
set shiftwidth=2
+
+colorscheme slate