mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			892 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			892 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| priority -50
 | |
| 
 | |
| ##############
 | |
| # MATH STUFF #
 | |
| ##############
 | |
| 
 | |
| snippet eqnn "Equation without a number" b
 | |
| \begin{equation*}
 | |
| 	${0:${VISUAL}}
 | |
| \end{equation*}
 | |
| endsnippet
 | |
| 
 | |
| snippet al "Align" b
 | |
| \begin{align}
 | |
| 	${0:${VISUAL}}
 | |
| \end{align}
 | |
| endsnippet
 | |
| 
 | |
| snippet alnn "Align without a number" b
 | |
| \begin{align*}
 | |
| 	${0:${VISUAL}}
 | |
| \end{align*}
 | |
| endsnippet
 | |
| 
 | |
| snippet eqa "Equation array" b
 | |
| \begin{eqnarray}
 | |
| 	${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
 | |
| \end{eqnarray}
 | |
| endsnippet
 | |
| 
 | |
| snippet eqann "Equation array without a number" b
 | |
| \begin{eqnarray*}
 | |
| 	${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
 | |
| \end{eqnarray*}
 | |
| endsnippet
 | |
| 
 | |
| #################
 | |
| # PHYSICS STUFF #
 | |
| #################
 | |
| 
 | |
| snippet dv "Derivative" w
 | |
| \dv[${1:${VISUAL}}]{${2}}{${3}}
 | |
| endsnippet
 | |
| 
 | |
| snippet pdv "Partial Derivative" w
 | |
| \pdv[${1:${VISUAL}}]{${2}}{${3}}
 | |
| endsnippet
 | |
| 
 | |
| snippet SI "SI-Unit" w
 | |
| \SI{${1:${VISUAL}}}{${2}}
 | |
| endsnippet
 | |
| 
 | |
| # vim:ft=snippets:
 | 
