Move move .emacs.d out of configs/shared
Moving all of my Emacs-related files into their own directory at the root of this repository.
This commit is contained in:
		
							parent
							
								
									3684adf23f
								
							
						
					
					
						commit
						578ed1ba98
					
				
					 190 changed files with 41 additions and 302 deletions
				
			
		
							
								
								
									
										1
									
								
								emacs/.emacs.d/snippets/rjsx-mode/.yas-parents
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								emacs/.emacs.d/snippets/rjsx-mode/.yas-parents
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| text-mode | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/action-extractor
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/action-extractor
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: exactness | ||||
| # key: $x | ||||
| # -- | ||||
| $Exact<$Call<typeof $1>> | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/console-log
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/console-log
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Console.log helper | ||||
| # key: clg | ||||
| # -- | ||||
| console.log($1) | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/const-defn
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/const-defn
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: const definition | ||||
| # key: cn | ||||
| # -- | ||||
| const $1 = '$2' | ||||
							
								
								
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/const-function
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/const-function
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: const function | ||||
| # key: cfn | ||||
| # -- | ||||
| const $1 = ($2) => { | ||||
|   $3 | ||||
| } | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/destructure-const
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/destructure-const
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Destructuring a const | ||||
| # key: cds | ||||
| # -- | ||||
| const { $1 } = $2 | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/fat-arrow
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/fat-arrow
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Fat arrow function | ||||
| # key: fa | ||||
| # -- | ||||
| => | ||||
							
								
								
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/fat-arrow-function
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/fat-arrow-function
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Fat arrow function | ||||
| # key: faf | ||||
| # -- | ||||
| () => { | ||||
|   $1 | ||||
| } | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-destructured
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-destructured
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Import destructured | ||||
| # key: ids | ||||
| # -- | ||||
| import { $1 } from '$2' | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-react
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-react
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Import React dependency (ES6) | ||||
| # key: ir | ||||
| # -- | ||||
| import React from 'react' | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-type
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-type
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: import type | ||||
| # key: ixt | ||||
| # -- | ||||
| import type { $1 } from '$2' | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-x-from-y
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-x-from-y
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: import x from y | ||||
| # key: ix | ||||
| # -- | ||||
| import $1 from '$2' | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-y
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/import-y
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: import y | ||||
| # key: iy | ||||
| # -- | ||||
| import '$1' | ||||
							
								
								
									
										10
									
								
								emacs/.emacs.d/snippets/rjsx-mode/jest-describe-test
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								emacs/.emacs.d/snippets/rjsx-mode/jest-describe-test
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Jest describe/test block | ||||
| # key: dsc | ||||
| # -- | ||||
| describe('$1', () => { | ||||
|   test('$2', () => { | ||||
| 
 | ||||
|     expect($3).toEqual($4) | ||||
|   }) | ||||
| }) | ||||
							
								
								
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/jest-test
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								emacs/.emacs.d/snippets/rjsx-mode/jest-test
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: Jest / Jasmine test | ||||
| # key: tst | ||||
| # -- | ||||
| test('$1', () => { | ||||
|   expect($2).toBe($3) | ||||
| }) | ||||
							
								
								
									
										11
									
								
								emacs/.emacs.d/snippets/rjsx-mode/react-class-component
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								emacs/.emacs.d/snippets/rjsx-mode/react-class-component
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: React class extends | ||||
| # key: clz | ||||
| # -- | ||||
| class $1 extends React.Component { | ||||
|   render() { | ||||
|     $2 | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| export default $1 | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/redux-action
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/redux-action
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: redux-action | ||||
| # key: rax | ||||
| # -- | ||||
| export const ${1:$$(string/lower->caps yas-text)} = '`(downcase (buffer-dirname))`/${1:$(string/caps->kebab yas-text)}' | ||||
							
								
								
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| # -*- mode: snippet -*- | ||||
| # name: typed-redux-action | ||||
| # key: trax | ||||
| # -- | ||||
| export const ${1:$$(string/lower->caps yas-text)}: '`(downcase (buffer-dirname))`/${1:$(string/caps->kebab yas-text)}' = '`(downcase (buffer-dirname))`/${1:$(string/caps->kebab yas-text)}' | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue