Kevin Berridge avatar Kevin Berridge committed cfcd553

esc support and snippets updated

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

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
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.