diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-09-26 21:45:49 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-09-26 21:45:49 -0400 |
| commit | e601a1f48072df72d15ef7f13f3f7a7fdcb13301 (patch) | |
| tree | 24e35466ef729ae363a36106aa0943b2e5e969de /init.vim | |
| parent | 5bf44e7172bf6856f08ee0baaed4b86dd08476e1 (diff) | |
| parent | 607727f0793d7ccea12770db91a0868c27877afd (diff) | |
| download | vim-cfg-e601a1f48072df72d15ef7f13f3f7a7fdcb13301.tar.gz vim-cfg-e601a1f48072df72d15ef7f13f3f7a7fdcb13301.tar.xz | |
Merge branch 'master' of git.riedstra.us:mitch/vim-cfg
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 27 |
1 files changed, 24 insertions, 3 deletions
@@ -3,11 +3,20 @@ set encoding=utf-8 execute pathogen#infect('bundle/{}', 'themes/{}') +" Maily for the ability to match HTML tags with '%' +runtime macros/matchit.vim + +" colorscheme 256_noir + " My old standard theme colorscheme distinguished " colorscheme solarized set background=dark +" colorscheme solarized +" let g:solarized_termcolors=256 +" set background=dark + " Love hate relationship with this thing. I guess it's back map <C-n> :NERDTreeToggle<CR> @@ -109,6 +118,11 @@ set updatecount=0 " Vi in-compatibility set nocompatible +set tabstop=4 +set shiftwidth=4 +set noexpandtab + + autocmd Filetype python call SetPythonOptions() autocmd Filetype htmldjango call SethtmldjangoOptions() @@ -119,7 +133,15 @@ autocmd Filetype html call SetHTMLOptions() autocmd Filetype sh call SetShellOptions() autocmd Filetype go call SetGoOptions() autocmd Filetype yaml call SetYamlOptions() +autocmd Filetype markdown call SetMarkdownOptions() +function SetMarkdownOptions() + set spell + set tabstop=4 + set shiftwidth=4 + set expandtab + AcpDisable +endfunction function SetPythonOptions() set tabstop=4 set shiftwidth=4 @@ -187,9 +209,8 @@ function SetYamlOptions() set noic endfunction -set tabstop=4 -set shiftwidth=4 -set noexpandtab +" This is specifically for Salt's state files 'sls' +autocmd BufNewFile,BufRead *.sls set filetype=yaml function! PhpSyntaxOverride() |
