Skip to content

Instantly share code, notes, and snippets.

@targodan
Last active December 1, 2020 09:33
Show Gist options
  • Save targodan/373131f1c72a1f66b6cab86b27d63308 to your computer and use it in GitHub Desktop.
Save targodan/373131f1c72a1f66b6cab86b27d63308 to your computer and use it in GitHub Desktop.
Atom Settings Backup by https://atom.io/packages/sync-settings
# initialization file (not found)
'atom-workspace atom-text-editor:not([mini])':
'ctrl-alt-down': 'editor:move-line-down'
'ctrl-alt-up': 'editor:move-line-up'
'ctrl-shift-down': 'editor:duplicate-lines'
'ctrl-7': 'editor:toggle-line-comments'
'ctrl-e': 'editor:delete-line'
{
"atom-ide-ui": {
"version": "0.13.0"
},
"atom-inline-blame": {
"version": "0.0.10"
},
"atom-latex": {
"version": "0.9.1"
},
"atomic-chrome": {
"version": "0.3.3"
},
"autocomplete-bash-builtins": {
"version": "0.3.5"
},
"autocomplete-cmake": {
"version": "0.3.1"
},
"autocomplete-emojis": {
"version": "2.5.0"
},
"autocomplete-java": {
"version": "1.2.7"
},
"autocomplete-python": {
"version": "1.16.0"
},
"autocomplete-xml": {
"version": "0.11.0"
},
"busy-signal": {
"version": "2.0.1"
},
"color-picker": {
"version": "2.3.0"
},
"dark-bint-syntax": {
"version": "0.10.0",
"theme": "syntax"
},
"dark-bint-ui": {
"version": "0.5.2",
"theme": "ui"
},
"firewatch-syntax": {
"version": "1.1.1",
"theme": "syntax"
},
"formatter-tidy": {
"version": "1.0.1"
},
"git-plus": {
"version": "8.7.1"
},
"go-debug": {
"version": "1.7.0"
},
"go-plus": {
"version": "6.1.0"
},
"go-signature-statusbar": {
"version": "1.2.3"
},
"hard-wrap": {
"version": "1.7.1"
},
"intentions": {
"version": "1.1.5"
},
"java-generator": {
"version": "2.2.3"
},
"language-autoit": {
"version": "0.2.1"
},
"language-batch": {
"version": "0.4.0"
},
"language-cmake": {
"version": "1.2.0"
},
"language-gradle": {
"version": "0.1.0"
},
"language-groovy": {
"version": "0.7.0"
},
"language-haskell": {
"version": "1.20.0"
},
"language-jasmin": {
"version": "0.2.0"
},
"language-matlab": {
"version": "0.2.1"
},
"language-powershell": {
"version": "5.0.0"
},
"language-prolog": {
"version": "0.11.0"
},
"language-protobuf": {
"version": "0.7.1"
},
"language-systemd": {
"version": "0.1.1"
},
"light-bint-syntax": {
"version": "1.0.6",
"theme": "syntax"
},
"light-bint-ui": {
"version": "1.0.10",
"theme": "ui"
},
"linter": {
"version": "3.1.1"
},
"linter-gcc": {
"version": "0.9.0"
},
"linter-matlab": {
"version": "1.3.0"
},
"linter-prolog": {
"version": "0.2.1"
},
"linter-python": {
"version": "3.1.2"
},
"linter-ui-default": {
"version": "2.1.5"
},
"minimap": {
"version": "4.35.5"
},
"minimap-find-and-replace": {
"version": "5.0.3"
},
"pdf-view": {
"version": "0.72.0"
},
"python-debugger": {
"version": "0.2.0"
},
"python-tools": {
"version": "0.6.9"
},
"seti-ui": {
"version": "1.11.0",
"theme": "ui"
},
"split-diff": {
"version": "1.6.1"
},
"sync-settings": {
"version": "5.0.9"
},
"teletype": {
"version": "0.13.4"
},
"theme-switcher": {
"version": "1.1.0"
}
}
{
"*": {
"activate-power-mode": {
"autoToggle": false,
"plugins": {
"playAudio": true,
"screenShake": true
}
},
"atom-beautify": {
"general": {
"_analyticsUserId": "722d2a3c-7c50-4e6a-aab4-ca3ad0bed1a1"
}
},
"atom-ide-ui": {
"atom-ide-code-format": {
"formatOnSave": true
},
"use": {
"atom-ide-diagnostics-ui": "never"
}
},
"atom-latex": {
"build_after_save": false
},
"atom-package-deps": {
"ignored": []
},
"autocomplete-python": {
"useKite": false
},
"core": {
"autoHideMenuBar": true,
"disabledPackages": [
"calculator",
"remote-edit",
"gofmt",
"tester-go",
"builder-go",
"autocomplete-go",
"godoc",
"gorename",
"navigator-go",
"go-get",
"go-config",
"gometalinter-linter",
"atom-sync",
"pandoc-convert",
"platformio-ide-terminal",
"remote-edit2",
"save-commands",
"script",
"git-plus"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"desktop.ini",
".pioenvs",
".piolibdeps",
".clang_complete",
".gcc-flags.json"
],
"telemetryConsent": "no",
"themes": [
"dark-bint-ui",
"dark-bint-syntax"
],
"uriHandlerRegistration": "always",
"warnOnLargeFileLimit": 5
},
"editor": {
"fontSize": 18,
"preferredLineLength": 110,
"scrollPastEnd": true,
"softWrap": true,
"softWrapAtPreferredLineLength": true,
"tabLength": 4,
"tabType": "soft"
},
"exception-reporting": {
"userId": "3e04e16b-2f09-e9e2-580c-5d8045396e37"
},
"file-icons": {
"coloured": false
},
"git-plus": {
"general": {
"_analyticsUserId": "03a803c8-cdfd-48b0-9a4d-e33389d425f4"
}
},
"go-plus": {
"autocomplete": {
"suppressActivationForCharacters": [
"comma",
"newline",
"space",
"tab",
"/",
", (",
")",
"\"",
"'",
":",
";",
"<",
">",
"~",
"!",
"@",
"#",
"$",
"%",
"^",
"&",
"*",
"|",
"+",
"=",
"[",
"]",
"{",
"}",
"`",
"~",
"?",
"-"
]
},
"currentPanelHeight": "15.410199556541022vh",
"currentPanelWidth": "23.643006263048015vw",
"panelDisplayMode": "closed",
"test": {
"focusPanelIfTestsFail": false
}
},
"java-generator": {
"toggles": {
"appendThisToGetters": true
}
},
"linter-gcc": {
"execPath": "g++"
},
"linter-matlab": {
"mlintDir": "/opt/MATLAB/R2016b/bin/glnxa64"
},
"linter-python": {
"executablePath": "/usr/bin/pylama",
"withPylint": true
},
"linter-ui-default": {
"panelHeight": 300,
"useBusySignal": false
},
"minimap": {
"plugins": {
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0
}
},
"seti-ui": {
"compactView": true,
"themeColor": "Steel"
},
"spell-check": {
"grammars": [
"source.asciidoc",
"source.gfm",
"text.git-commit",
"text.plain",
"text.plain.null-grammar",
"source.rst",
"text.restructuredtext",
"text.tex.latex"
],
"locales": [
"en_GB",
"de_DE",
"en_US"
]
},
"sync-settings": {
"hiddenSettings": {},
"installLatestVersion": true,
"onlySyncCommunityPackages": true,
"quietUpdateCheck": true,
"removeObsoletePackages": true
},
"terminal-plus": {
"toggles": {
"autoClose": true
}
},
"theme-switcher": {
"syntaxThemeOne": "dark-bint-syntax",
"syntaxThemeTwo": "one-light-syntax",
"uiThemeOne": "dark-bint-ui",
"uiThemeTwo": "light-bint-ui"
},
"tool-bar": {
"position": "Left"
},
"tree-view": {
"alwaysOpenExisting": true,
"hideIgnoredNames": true
},
"wakatime": {
"apikey": "Enter your api key..."
},
"welcome": {
"showOnStartup": false
}
}
}
'.source.go':
'prepare statement':
'prefix': 'prepStmt'
'body': """
func (q *queries) getQuery$1(db *sql.DB) (*sql.Stmt, error) {
if q.$2 == nil {
var err error
q.$2, err = db.Prepare("$3")
if err != nil {
return nil, err
}
}
return q.$2, nil
}$3
"""
'go test case':
'prefix': 'test'
'body': """
func Test$1(t *testing.T) {
$2
}
"""
'goconvey test case':
'prefix': 'convey'
'body': """
Convey("$1", t, func() {
$2
})
"""
'goconvey subtest case':
'prefix': 'subconvey'
'body': """
Convey("$1", func() {
$2
})
"""
'.text.tex.latex':
'slide':
'prefix': 'slide'
'body': '''
% ================= $1 =================
\\\\begin{frame}{$1}{$2}
$3
\\\\end{frame}
% ================= /$1 =================
'''
'block':
'prefix': 'block normal'
'body': '''
\\\\begin{block}{$1}
$2
\\\\end{block}
'''
'alertblock':
'prefix': 'block alert'
'body': '''
\\\\begin{alertblock}{$1}
$2
\\\\end{alertblock}
'''
'example block':
'prefix': 'block example'
'body': '''
\\\\begin{example}[$1]
$2
\\\\end{example}
'''
'theorem block':
'prefix': 'block theorem'
'body': '''
\\\\begin{theorem}[$1]
$2
\\\\end{theorem}
'''
'corollary block':
'prefix': 'block corollary'
'body': '''
\\\\begin{corollary}[$1]
$2
\\\\end{corollary}
'''
'definition block':
'prefix': 'block definition'
'body': '''
\\\\begin{definition}[$1]
$2
\\\\end{definition}
'''
'note item':
'prefix': 'note'
'body': '''
\\\\note[item]{$1}
'''
'.source.python':
'property':
'prefix': 'myproperty'
'body': '''
@property
def $1(self):
return self.__$1
$2
'''
'rw property':
'prefix': 'rwproperty'
'body': '''
@property
def $1(self):
return self.__$1
@$1.setter
def $1(self, value):
self.__$1 = value
$2
'''
// styles file (not found)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment