Commits

Kevin Berridge  committed cfcd553

esc support and snippets updated

  • Participants
  • Parent commits 849ff17

Comments (0)

Files changed (2)

 " makes 0 go to first character on the line instead of start of line
 map 0 ^
 
-" makes jj leave insert mode (like Esc)
-inoremap jj <Esc>
+" makes jk leave insert mode (like Esc)
+inoremap jk <Esc>
+inoremap kj <Esc>
 
 " Turn backup off
 set nobackup

File vimfiles/snippets/cs.snippets

 snippet map
 	Map( x => x.${1} );
 
-snippet specclass
-	[Subject( ${1} )]
-	public class when_${2}
-	{
-	}
-
-snippet specit
-	It should_${1} = () =>
-	{
-	};
-
-snippet specestablish
-	Establish context = () =>
-	{
-	};
-
-snippet specbecause
-	Because of = () =>
-	{
-	};
+snippet getset
+	public ${1} ${2} { get; set; }
 
 snippet try Try with Catch block
 	try