Skip to content

Instantly share code, notes, and snippets.

View iamkyrylo's full-sized avatar

Kyrylo Hrishchenko iamkyrylo

View GitHub Profile
@iamkyrylo
iamkyrylo / Readme.md
Created October 25, 2018 13:04 — forked from mxstbr/Readme.md
Enable tab completion for JSX with Emmet in Atom

Enable tab completion for JSX with Emmet in Atom

This guide assumes you have the emmet and language-babel packages already installed in Atom

Gif of the tab completion working

  1. Open the keymap.cson file by clicking on Atom -> Keymap… in the menu bar
  2. Add these lines of code to your keymap:
'atom-text-editor[data-grammar~="jsx"]:not([mini])':
@iamkyrylo
iamkyrylo / init.coffee
Last active July 26, 2020 10:32
atom-syncsettings
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@iamkyrylo
iamkyrylo / Immutable JS Examples
Created April 26, 2018 07:19 — forked from singhshivam/Immutable JS Examples
Immutable JS Examples
List()
var list = Immutable.List([1,2,3])
// [1, 2, 3]
List.isList()
Immutable.List.isList(list)
// true
List.of()
var list = Immutable.List.of(1,2,3);