mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 14:43:35 +08:00 
			
		
		
		
	Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive.
This commit is contained in:
		| @ -1,82 +1,82 @@ | ||||
| snippet lib | ||||
| 	#library('${1}'); | ||||
| 	${2} | ||||
| 	${0} | ||||
| snippet im | ||||
| 	#import('${1}'); | ||||
| 	${2} | ||||
| 	${0} | ||||
| snippet so | ||||
| 	#source('${1}'); | ||||
| 	${2} | ||||
| 	${0} | ||||
| snippet main | ||||
| 	static void main() { | ||||
| 	  ${1} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet st | ||||
| 	static ${1} | ||||
| 	static ${0} | ||||
| snippet fi | ||||
| 	final ${1} | ||||
| 	final ${0} | ||||
| snippet re | ||||
| 	return ${1} | ||||
| 	return ${0} | ||||
| snippet br | ||||
| 	break; | ||||
| snippet th | ||||
| 	throw ${1} | ||||
| 	throw ${0} | ||||
| snippet cl | ||||
| 	class ${1:`vim_snippets#Filename("", "untitled")`} ${2} | ||||
| 	class ${1:`vim_snippets#Filename("", "untitled")`} ${0} | ||||
| snippet in | ||||
| 	interface ${1:`vim_snippets#Filename("", "untitled")`} ${2} | ||||
| 	interface ${1:`vim_snippets#Filename("", "untitled")`} ${0} | ||||
| snippet imp | ||||
| 	implements ${1} | ||||
| 	implements ${0} | ||||
| snippet ext | ||||
| 	extends ${1} | ||||
| 	extends ${0} | ||||
| snippet if | ||||
| 	if (${1:true}) { | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet ife | ||||
| 	if (${1:true}) { | ||||
| 	  ${2} | ||||
| 	} else { | ||||
| 	  ${3} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet el | ||||
| 	else | ||||
| snippet sw | ||||
| 	switch (${1}) { | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet cs | ||||
| 	case ${1}: | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| snippet de | ||||
| 	default: | ||||
| 	  ${1} | ||||
| 	  ${0} | ||||
| snippet for | ||||
| 	for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) { | ||||
| 	  ${4:$1[$2]} | ||||
| 	  ${0:$1[$2]} | ||||
| 	} | ||||
| snippet fore | ||||
| 	for (final ${2:item} in ${1:itemList}) { | ||||
| 	  ${3} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet wh | ||||
| 	while (${1:/* condition */}) { | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| 	} | ||||
| snippet dowh | ||||
| 	do { | ||||
| 	  ${2} | ||||
| 	} while (${1:/* condition */}); | ||||
| 	  ${0} | ||||
| 	} while (${0:/* condition */}); | ||||
| snippet as | ||||
| 	assert(${1:/* condition */}); | ||||
| 	assert(${0:/* condition */}); | ||||
| snippet try | ||||
| 	try { | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| 	} catch (${1:Exception e}) { | ||||
| 	} | ||||
| snippet tryf | ||||
| 	try { | ||||
| 	  ${2} | ||||
| 	  ${0} | ||||
| 	} catch (${1:Exception e}) { | ||||
| 	} finally { | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 amix
					amix