From 9abbcfdde0057d0d1b31a6dfa0fd63fafee25212 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 31 Mar 2016 11:28:32 -0400 Subject: Disable solarized again --- init.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 3858def..0204567 100644 --- a/init.vim +++ b/init.vim @@ -2,6 +2,8 @@ execute pathogen#infect('bundle/{}', 'themes/{}') " My old standard theme colorscheme distinguished +" colorscheme solarized +" set background=dark " Love hate relationship with this thing. I guess it's back -- cgit v1.2.3 From ff10b110b5c54bf47cac142613919934238ba7ba Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 12 Apr 2016 15:30:34 -0400 Subject: Enable the matchit plugin --- init.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 0204567..f50ae38 100644 --- a/init.vim +++ b/init.vim @@ -1,5 +1,8 @@ execute pathogen#infect('bundle/{}', 'themes/{}') +" Maily for the ability to match HTML tags with '%' +runtime macros/matchit.vim + " My old standard theme colorscheme distinguished " colorscheme solarized -- cgit v1.2.3 From 093249a0d824581f696ccf2842d022850863991f Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 30 Sep 2016 09:27:22 -0400 Subject: Switch to Solarized --- init.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index f50ae38..ef8ce71 100644 --- a/init.vim +++ b/init.vim @@ -5,8 +5,10 @@ runtime macros/matchit.vim " 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 -- cgit v1.2.3 From a83df1d82c5b87025b0397826af1cccea9880e73 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 30 Sep 2016 09:47:57 -0400 Subject: Update colorscheme because I rememberd that solarized kind of sucks --- init.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index ef8ce71..3eedabe 100644 --- a/init.vim +++ b/init.vim @@ -3,12 +3,14 @@ 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 distinguished -colorscheme solarized +" colorscheme solarized " let g:solarized_termcolors=256 -set background=dark +" set background=dark " Love hate relationship with this thing. I guess it's back -- cgit v1.2.3 From 08027c132e94dda8927e572dd2ae77f652adc583 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 2 Oct 2016 22:49:56 -0400 Subject: I am rather indecisive aren't I? --- init.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 3eedabe..3052409 100644 --- a/init.vim +++ b/init.vim @@ -3,10 +3,10 @@ execute pathogen#infect('bundle/{}', 'themes/{}') " Maily for the ability to match HTML tags with '%' runtime macros/matchit.vim -colorscheme 256_noir +" colorscheme 256_noir " My old standard theme -"colorscheme distinguished +colorscheme distinguished " colorscheme solarized " let g:solarized_termcolors=256 -- cgit v1.2.3 From 656eeaaaacd32ceaa0c5363684b91962df20936a Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 18 Dec 2016 10:48:36 -0500 Subject: Set specific options for markdown files --- init.vim | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 3052409..2124c4b 100644 --- a/init.vim +++ b/init.vim @@ -113,6 +113,10 @@ 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() @@ -122,7 +126,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 @@ -183,10 +195,6 @@ function SetYamlOptions() set noic endfunction -set tabstop=4 -set shiftwidth=4 -set noexpandtab - function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine -- cgit v1.2.3 From 607727f0793d7ccea12770db91a0868c27877afd Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 11 Sep 2017 11:15:57 -0400 Subject: Salt states should use YAML filetype --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 2124c4b..b29971d 100644 --- a/init.vim +++ b/init.vim @@ -118,6 +118,7 @@ set shiftwidth=4 set noexpandtab + autocmd Filetype python call SetPythonOptions() autocmd Filetype htmldjango call SethtmldjangoOptions() autocmd Filetype json call SetJsonOptions() @@ -195,6 +196,9 @@ function SetYamlOptions() set noic endfunction +" This is specifically for Salt's state files 'sls' +autocmd BufNewFile,BufRead *.sls set filetype=yaml + function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine -- cgit v1.2.3