Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
669 additions
and
1,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
.gitignore | ||
.log | ||
.travis.yml | ||
assets | ||
coverage | ||
node_modules | ||
src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
# Atom configurations | ||
> A hackable [text editor](https://atom.io/) for the 21st Century | ||
<br/> | ||
|
||
## Hot key setup for `λ` | ||
1. Open init.coffe (File > Init Script...). | ||
2. Copy & paste the snippet: | ||
|
||
``` | ||
atom.commands.add 'atom-text-editor', | ||
'custom:lambda-insert': -> | ||
atom.workspace.getActiveTextEditor()?.insertText('λ') | ||
``` | ||
|
||
3. Open keymap.cson (File -> Keymap...) and append: | ||
|
||
``` | ||
'alt-l': 'custom:lambda-insert' | ||
``` | ||
|
||
Now you can press alt + l to type `λ` | ||
<br/> | ||
<br/> | ||
|
||
## CSS highlighting in template literal | ||
1. Open settings (File > Settings...) | ||
2. Click to `+Install` | ||
3. Find package `language-babel` and install it. | ||
4. In the settings of the package find `JavaScript Tagged Template Literal Grammar Extensions` | ||
5. Paste this regexp: `"(?:λ\.(?:[a-z|1-5])+|(?:λ\(\w+\)))":source.css.styled` to the input. | ||
|
||
<img src="./atom-settings.png" style="border-radius: 4px;"/> | ||
<br/> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.