Kevin Berridge avatar Kevin Berridge committed 1e819de

colors, better F1 search, new snippets

Comments (0)

Files changed (6)

 syntax on
 
 set background=dark
-colorscheme solarized
-"colorscheme moria
+"colorscheme solarized
+colorscheme moria
 
 " makes 0 go to first character on the line instead of start of line
 map 0 ^
   let s:wordUnderCursor = expand("<cword>")
 
   if &ft =~ "cs"
-    let s:url = "http://social.msdn.microsoft.com/Search/en-US/?Refinement=26&Query=" . s:wordUnderCursor
+    let s:url = "http://social.msdn.microsoft.com/Search/en-US?query=" . s:wordUnderCursor
   else
     execute "help " . s:wordUnderCursor
     return
   \ '\=eval(submatch(0)-1)',
   \ '')<CR> :redraw<CR>
 
+" treat cshtml files as html for syntax highlighting
+au BufNewFile,BufRead *.cshtml set filetype=html
+
 let g:ruby_path = 'C:\ruby192\bin'

vimfiles/.netrwhist

 let g:netrw_dirhistmax  =10
-let g:netrw_dirhist_cnt =1
+let g:netrw_dirhist_cnt =3
 let g:netrw_dirhist_1='C:/Projects/investigator/Investigator/Acceptance'
+let g:netrw_dirhist_2='C:/Projects/investigator/Investigator/Website/Content/app'
+let g:netrw_dirhist_3='C:/Projects/investigator/Investigator/Website/Content/app/sass'

vimfiles/colors/candycode.vim

+" Vim color file -- candycode
+" Maintainer:   Justin Constantino <goflyapig-at-gmail-com>
+" Last Change:  2006 Aug 12
+
+set background=dark
+highlight clear
+let g:colors_name="candycode"
+
+let save_cpo = &cpo
+set cpo&vim
+
+" basic highlight groups (:help highlight-groups) {{{
+
+" text {{{
+
+hi Normal       guifg=#ffffff       guibg=#050505       gui=NONE
+            \   ctermfg=white       ctermbg=black       cterm=NONE
+
+hi Folded       guifg=#c2bfa5       guibg=#050505       gui=underline
+            \   ctermfg=lightgray   ctermbg=black       cterm=underline
+
+hi LineNr       guifg=#928c75       guibg=NONE          gui=NONE
+            \   ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+
+hi Directory    guifg=#00bbdd       guibg=NONE          gui=NONE
+            \   ctermfg=cyan        ctermbg=NONE        cterm=NONE
+hi NonText      guifg=#77ff22       guibg=NONE          gui=bold
+            \   ctermfg=yellow      ctermbg=NONE        cterm=NONE
+hi SpecialKey   guifg=#559933       guibg=NONE          gui=NONE
+            \   ctermfg=green       ctermbg=NONE        cterm=NONE
+
+hi SpellBad     guifg=NONE          guibg=NONE          gui=undercurl
+            \   ctermfg=white       ctermbg=darkred     guisp=#ff0011
+hi SpellCap     guifg=NONE          guibg=NONE          gui=undercurl
+            \   ctermfg=white       ctermbg=darkblue    guisp=#0044ff
+hi SpellLocal   guifg=NONE          guibg=NONE          gui=undercurl
+            \   ctermfg=black       ctermbg=cyan        guisp=#00dd99   
+hi SpellRare    guifg=NONE          guibg=NONE          gui=undercurl
+            \   ctermfg=white       ctermbg=darkmagenta guisp=#ff22ee   
+
+hi DiffAdd      guifg=#ffffff       guibg=#126493       gui=NONE
+            \   ctermfg=white       ctermbg=darkblue    cterm=NONE
+hi DiffChange   guifg=#000000       guibg=#976398       gui=NONE
+            \   ctermfg=black       ctermbg=darkmagenta cterm=NONE
+hi DiffDelete   guifg=#000000       guibg=#be1923       gui=bold
+            \   ctermfg=black       ctermbg=red         cterm=bold
+hi DiffText     guifg=#ffffff       guibg=#976398       gui=bold
+            \   ctermfg=white       ctermbg=green       cterm=bold
+
+" }}}
+" borders / separators / menus {{{
+
+hi FoldColumn   guifg=#c8bcb9       guibg=#786d65       gui=bold            
+            \   ctermfg=lightgray   ctermbg=darkgray    cterm=NONE
+hi SignColumn   guifg=#c8bcb9       guibg=#786d65       gui=bold
+            \   ctermfg=lightgray   ctermbg=darkgray    cterm=NONE
+
+hi Pmenu        guifg=#000000       guibg=#a6a190       gui=NONE
+            \   ctermfg=white       ctermbg=darkgray    cterm=NONE
+hi PmenuSel     guifg=#ffffff       guibg=#133293       gui=NONE
+            \   ctermfg=white       ctermbg=lightblue   cterm=NONE
+hi PmenuSbar    guifg=NONE          guibg=#555555       gui=NONE
+            \   ctermfg=black       ctermbg=black       cterm=NONE
+hi PmenuThumb   guifg=NONE          guibg=#cccccc       gui=NONE
+            \   ctermfg=gray        ctermbg=gray        cterm=NONE
+
+hi StatusLine   guifg=#000000       guibg=#c2bfa5       gui=bold    
+            \   ctermfg=black       ctermbg=white       cterm=bold
+hi StatusLineNC guifg=#444444       guibg=#c2bfa5       gui=NONE    
+            \   ctermfg=darkgray    ctermbg=white       cterm=NONE
+hi WildMenu     guifg=#ffffff       guibg=#133293       gui=bold
+            \   ctermfg=white       ctermbg=darkblue    cterm=bold
+hi VertSplit    guifg=#c2bfa5       guibg=#c2bfa5       gui=NONE
+            \   ctermfg=white       ctermbg=white       cterm=NONE
+
+hi TabLine      guifg=#000000       guibg=#c2bfa5       gui=NONE
+            \   ctermfg=black       ctermbg=white       cterm=NONE
+hi TabLineFill  guifg=#000000       guibg=#c2bfa5       gui=NONE
+            \   ctermfg=black       ctermbg=white       cterm=NONE
+hi TabLineSel   guifg=#ffffff       guibg=#133293       gui=NONE
+            \   ctermfg=white       ctermbg=black       cterm=NONE
+
+"hi Menu
+"hi Scrollbar
+"hi Tooltip
+
+" }}}
+" cursor / dynamic / other {{{
+
+hi Cursor       guifg=#000000       guibg=#ffff99       gui=NONE
+            \   ctermfg=black       ctermbg=white       cterm=NONE
+hi CursorIM     guifg=#000000       guibg=#aaccff       gui=NONE
+            \   ctermfg=black       ctermbg=white       cterm=reverse
+hi CursorLine   guifg=NONE          guibg=#1b1b1b       gui=NONE
+            \   ctermfg=NONE        ctermbg=NONE        cterm=NONE
+hi CursorColumn guifg=NONE          guibg=#1b1b1b       gui=NONE
+            \   ctermfg=NONE        ctermbg=NONE        cterm=NONE
+
+hi Visual       guifg=#ffffff       guibg=#606070       gui=NONE
+            \   ctermfg=white       ctermbg=lightblue   cterm=NONE
+
+hi IncSearch    guifg=#000000       guibg=#eedd33       gui=bold 
+            \   ctermfg=white       ctermbg=yellow      cterm=NONE
+hi Search       guifg=#efefd0       guibg=#937340       gui=NONE
+            \   ctermfg=white       ctermbg=darkgreen   cterm=NONE
+
+hi MatchParen   guifg=NONE          guibg=#3377aa       gui=NONE
+            \   ctermfg=white       ctermbg=blue        cterm=NONE
+
+"hi VisualNOS
+
+" }}}
+" listings / messages {{{
+
+hi ModeMsg      guifg=#eecc18       guibg=NONE          gui=NONE
+            \   ctermfg=yellow      ctermbg=NONE        cterm=NONE
+hi Title        guifg=#dd4452       guibg=NONE          gui=bold
+            \   ctermfg=red         ctermbg=NONE        cterm=bold
+hi Question     guifg=#66d077       guibg=NONE          gui=NONE
+            \   ctermfg=green       ctermbg=NONE        cterm=NONE
+hi MoreMsg      guifg=#39d049       guibg=NONE          gui=NONE
+            \   ctermfg=green       ctermbg=NONE        cterm=NONE
+
+hi ErrorMsg     guifg=#ffffff       guibg=#ff0000       gui=bold
+            \   ctermfg=white       ctermbg=red         cterm=bold
+hi WarningMsg   guifg=#ccae22       guibg=NONE          gui=bold    
+            \   ctermfg=yellow      ctermbg=NONE        cterm=bold
+
+" }}}
+
+" }}}
+" syntax highlighting groups (:help group-name) {{{
+
+hi Comment      guifg=#ff9922       guibg=NONE          gui=NONE
+            \   ctermfg=brown       ctermbg=NONE        cterm=NONE
+
+hi Constant     guifg=#ff6050       guibg=NONE          gui=NONE
+            \   ctermfg=red         ctermbg=NONE        cterm=NONE
+hi Boolean      guifg=#ff6050       guibg=NONE          gui=bold  
+            \   ctermfg=red         ctermbg=NONE        cterm=bold
+
+hi Identifier   guifg=#eecc44       guibg=NONE          gui=NONE
+            \   ctermfg=yellow      ctermbg=NONE        cterm=NONE
+
+hi Statement    guifg=#66d077       guibg=NONE          gui=bold
+            \   ctermfg=green       ctermbg=NONE        cterm=bold
+
+hi PreProc      guifg=#bb88dd       guibg=NONE          gui=NONE
+            \   ctermfg=darkmagenta ctermbg=NONE        cterm=NONE
+
+hi Type         guifg=#4093cc       guibg=NONE          gui=bold
+            \   ctermfg=lightblue   ctermbg=NONE        cterm=bold
+
+hi Special      guifg=#9999aa       guibg=NONE          gui=bold  
+            \   ctermfg=lightgray   ctermbg=NONE        cterm=bold
+
+hi Underlined   guifg=#80a0ff       guibg=NONE          gui=underline
+            \   ctermfg=NONE        ctermbg=NONE        cterm=underline
+            \   term=underline 
+
+hi Ignore       guifg=#888888       guibg=NONE          gui=NONE
+            \   ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+
+hi Error        guifg=#ffffff       guibg=#ff0000       gui=NONE
+            \   ctermfg=white       ctermbg=red         cterm=NONE
+
+hi Todo         guifg=#ffffff       guibg=#ee7700       gui=bold
+            \   ctermfg=black       ctermbg=yellow      cterm=bold
+
+" }}}
+
+let &cpo = save_cpo
+
+" vim: fdm=marker fdl=0
+

vimfiles/colors/dusk.vim

+" Vim color file
+" Maintainer:   Ajit J. Thakkar (ajit AT unb DOT ca)
+" Last Change:  2005 Nov. 21
+" Version:  1.1
+" URL:      http://www.unb.ca/chem/ajit/vim.htm
+
+" This GUI-only color scheme has a blue-black background
+
+set background=dark
+hi clear
+if exists("syntax_on")
+  syntax reset
+endif
+
+let colors_name = "dusk"
+
+hi Normal   guifg=ivory guibg=#1f3048
+
+" Groups used in the 'highlight' and 'guicursor' options default value.
+hi ErrorMsg gui=NONE guifg=Red guibg=Linen
+hi IncSearch    gui=NONE guibg=LightGreen guifg=Black
+hi ModeMsg  gui=NONE guifg=fg guibg=bg
+hi StatusLine   gui=NONE guifg=DarkBlue guibg=Grey
+hi StatusLineNC gui=NONE guifg=Grey50 guibg=Grey
+hi VertSplit    gui=NONE guifg=Grey guibg=Grey
+hi Visual   gui=reverse guifg=fg guibg=LightSkyBlue4
+hi VisualNOS    gui=underline guifg=fg guibg=bg
+hi DiffText gui=NONE guifg=Yellow guibg=LightSkyBlue4
+hi Cursor   guibg=Green guifg=Black
+hi lCursor  guibg=Cyan guifg=Black
+hi Directory    guifg=LightGreen guibg=bg
+hi LineNr   guifg=MistyRose3 guibg=bg
+hi MoreMsg  gui=NONE guifg=SeaGreen guibg=bg
+hi NonText  gui=NONE guifg=Cyan4 guibg=#102848
+hi Question gui=NONE guifg=LimeGreen guibg=bg
+hi Search   gui=NONE guifg=SkyBlue4 guibg=Bisque
+hi SpecialKey   guifg=Cyan guibg=bg
+hi Title    gui=NONE guifg=Yellow2 guibg=bg
+hi WarningMsg   guifg=Tomato3 guibg=Linen
+hi WildMenu gui=NONE guifg=SkyBlue4 guibg=Bisque
+"hi Folded  guifg=MistyRose2 guibg=bg
+hi Folded   guifg=MistyRose2 guibg=#102848
+hi FoldColumn   guifg=DarkBlue guibg=Grey
+hi DiffAdd  gui=NONE guifg=Blue guibg=LightCyan
+hi DiffChange   gui=NONE guifg=white guibg=LightCyan4
+hi DiffDelete   gui=NONE guifg=LightBlue guibg=LightCyan
+
+" Colors for syntax highlighting
+hi Constant gui=NONE guifg=MistyRose3 guibg=bg
+hi String   gui=NONE guifg=LightBlue3 guibg=bg
+hi Special  gui=NONE guifg=GoldenRod guibg=bg
+hi Statement    gui=NONE guifg=khaki guibg=bg
+"hi Statement   gui=NONE guifg=#d7cd7b guibg=bg
+hi Operator gui=NONE guifg=Chartreuse guibg=bg
+hi Ignore   gui=NONE guifg=bg guibg=bg
+if v:version >= 700
+  hi SpellBad   gui=undercurl guisp=Red guifg=fg guibg=bg
+  hi SpellCap   gui=undercurl guisp=GoldenRod guifg=fg guibg=bg
+  hi SpellRare  gui=undercurl guisp=Ivory guifg=fg guibg=bg
+  hi SpellLocal gui=undercurl guisp=SeaGreen guifg=fg guibg=bg
+endif
+hi ToDo     gui=NONE guifg=DodgerBlue guibg=bg
+hi Error    gui=NONE guifg=Red guibg=Linen
+hi Comment  gui=NONE guifg=SlateGrey guibg=bg
+"hi Comment gui=NONE guifg=Lavender guibg=bg
+hi Identifier   gui=NONE guifg=BlanchedAlmond guibg=bg
+hi PreProc  gui=NONE guifg=#ffa0a0 guibg=bg
+hi Type     gui=NONE guifg=NavajoWhite guibg=bg
+hi Underlined   gui=underline guifg=fg guibg=bg
+
+" vim: sw=2
+

vimfiles/colors/mint.vim

+" vim: set ts=2 sw=2 sts=2:
+set background=dark
+hi clear
+if exists("syntax_on")
+  syntax reset
+endif
+
+let colors_name = "mint"
+set mouseshape+=i:arrow
+
+" Window elements 
+hi Cursor                   guifg=#000000 guibg=#F0F0F0
+hi Folded                   guifg=#FFD19D guibg=#AA8C00 gui=none
+hi LineNr                   guifg=#CCCCCC guibg=#666633
+hi NonText                  guifg=#CCCCCC
+hi MatchParen               guibg=#555555 gui=underline
+hi Normal                   guifg=#F5F5F5 guibg=#333333
+hi CursorLine               guibg=#666666
+hi StatusLine               guifg=#997777 guibg=#FFFFFF
+hi StatusLineNC             guifg=#777777 guibg=#CCCCCC
+hi Visual                   guifg=#EEEEEE guibg=#777799
+hi Search                   guibg=#AAAACC
+hi Pmenu                    guifg=#F5F5F5 guibg=steelblue
+hi PmenuSel                 guifg=orange guibg=steelblue
+
+" Main groups
+hi Comment                  guifg=#C0C0C0 gui=italic
+hi Constant                 guifg=#EEDDAA gui=none
+
+hi Statement                guifg=#CCEE00
+hi Keyword                  guifg=#CCEE00
+hi Underlined               guifg=#E0E0E0 gui=underline
+hi Error                    guifg=#F5F5F5 guibg=darkgoldenrod
+
+" Tag syntax
+hi Attribute                guifg=#CCCCCC gui=italic
+
+hi String                   guifg=#FFCC99
+hi! link Character          Constant
+hi! link Number             Constant
+hi! link Boolean            Constant
+hi! link Float              Constant
+
+hi Identifier               guifg=#CCDDFF
+hi Function                 guifg=#CCEE00
+
+hi Operator                 guifg=#F5F5F5
+hi! link Preproc            Keyword
+hi! link Type               Keyword
+
+hi! link Special            Keyword
+hi! link Ignore             Normal
+hi! link Todo               Error
+
+hi! link Title              Normal
+
+" minibufexplorer
+hi MBENormal guifg=gray90
+hi! link MBEChanged Keyword
+hi MBEVisibleNormal guibg=#AFC900 guifg=black gui=italic
+hi! link MBEVisibleChanged MBEVisibleNormal
+
+
+" HTML
+hi HTMLString               guifg=#F0D0C0 gui=italic
+
+" PLSQL
+" count, max, min, etc
+hi plsqlFunction guifg=#FFAAAA
+" currval, nextval, etc
+hi! link plsqlPseudo Keyword
+hi plsqlConditional guifg=#99CCFF
+hi plsqlRepeat guifg=#99CCFF
+" integer, number
+hi plsqlStorage guifg=wheat
+hi! link plsqlTypeAttribute plsqlStorage
+hi! link plsqlAttribute plsqlStorage
+

vimfiles/snippets/cs.snippets

 	/// <created>`strftime("%d/%m/%Y")`</created>
 	#endregion
 
-snippet mapclass 
-	public class ${1:ClassToMap}Map : ClassMap<$1>
-	{
-		public $1Map()
-		{
-			${2}
-		}
-	}
-
-snippet mapid
-	Id( x => x.Id ).GeneratedBy.Identity();
-
-snippet maphasmany
-	HasMany( x => x.${1} )
-		.Access.ReadOnlyPropertyThroughCamelCaseField( Prefix.Underscore )
-		.Cascade.AllDeleteOrphan()
-		.Inverse();
-
-snippet mapref
-	References( x => x.${1} );
-
-snippet mapdiscrim
-	DiscriminalSubClassesOnColumn( "Type" );
-
-snippet mapaudit
-	Map( x => x.CreatedBy );
-	Map( x => x.CreatedOn );
-	Map( x => x.LstUpdatedBy );
-	Map( x => x.LstUpdatedOn );
-
-snippet map
-	Map( x => x.${1} );
-
-snippet getset
+snippet gs
 	public ${1} ${2} { get; set; }
 
 snippet try Try with Catch block
 	#endregion
 
 snippet ///
-	///<summary>
-	///${1}
-	///</summary>
+	/// <summary>
+	/// ${1}
+	/// </summary>
+
+snippet test
+	[Test]
+	public void ${1}()
+	{
+		${2:throw new NotImplementedException();}
+	}
+
+snippet fixture
+	using System;
+	using System.Linq;
+	using System.Diagnostics;
+	using NUnit.Framework;
+	using NSubstitue;
+
+	namespace {1}
+	{
+		[TestFixture]
+		public class {2}
+		{
+			{3}
+		}
+	}
+
+snippet sub
+	Substitute.For<{1}>();
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.