Last active
January 6, 2019 15:03
-
-
Save jr-grenoble/c8c15eb6eaacdd9c3b09ab84b1db59b0 to your computer and use it in GitHub Desktop.
automatic update by http://atom.io/packages/sync-settings
This file contains hidden or 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
# Astyle options (used by /usr/local/bin/beautify) | |
# | |
# options are described in: http://astyle.sourceforge.net/astyle.html#_Other_Options | |
# | |
# This file is linked to .astylerc in $HOME and astyle.rc in $HOME/.atom | |
# | |
--style=banner # -A6 Ratliff style | |
--attach-closing-while # -xV terminate do while loops on the brace | |
--indent-modifiers # -xG half indent public/protected/private modifiers in C++ | |
--indent-namespaces # -N indent content of C++ namespaces | |
--indent-labels # -L indent goto labels one less than current indentation level | |
--min-conditional-indent=3 # -m3 broken if clauses are indented one half more than following block | |
--break-blocks=all # -F pad empty lines around blocks (if, for, while, else, catch) | |
--pad-oper # -p pad operators, including comments | |
--pad-paren # -P pad parens both in and out, except for empty parens | |
--unpad-paren # -U remove extraneous padding around parens | |
--align-pointer=name # -k3 stick pointer/reference to the variable name | |
--remove-braces # -xj remove unnecessary braces (around single statement) | |
--suffix=none # -n do not retain the original file | |
# | |
# Total options are: -A6xVxGNLm3FpPUk3xjn | |
# | |
# modify cb command in /usr/local/bin when changing! | |
#!/bin/bash | |
# | |
# | |
#/usr/local/bin/beautify -A6xVxGNLm3FpPUk3xjn |
This file contains hidden or 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
#!bash | |
# | |
# JR's bash login script | |
# | |
# This file is hard linked to .atom/bash.login and saved via sync-settings | |
shopt -s extglob | |
set -o vi | |
PS1="[\! \A] \w » " | |
PS2="»»»»»»»»»»»» " | |
export PATH=$PATH:/Developer/usr/bin:/usr/local/bin:/usr/local/git/bin:/opt/pdflabs/pdftk/bin:~/bin:~/.npm-packages/bin/:~/miniconda2/bin/ | |
export MANPATH=$MANPATH:/usr/local/man:/usr/local/man/man1:/opt/pdflabs/pdftk/man | |
export LIBPATH=$LIBPATH:/usr/local/lib | |
export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/icu4c/lib" | |
export CPPFLAGS="-I/usr/local/opt/icu4c/include" | |
export HISTCONTROL=ignoreboth:erasedups | |
# colors for ls, ll... see man ls and search for LSCOLORS | |
export LSCOLORS=GxfxcxdxBxegedabagacad | |
# colors for tree, dl and dll | |
# see http://leocharre.com/articles/setting-ls_colors-colors-of-directory-listings-in-bash-terminal/ | |
export TREE_COLORS="no=00:fi=00:di=01;36:ln=35:pi=40;33:so=00;35;bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;31" | |
echo -n -e "\033]0;$USER\007" | |
declare -a CDHIST | |
echo "" | |
alias r='fc -s' | |
alias h=history | |
echo "• use cb to beautify C/C++ files, modify arg as per .astylerc" | |
alias clh='history -c' | |
alias cld='cd -z' | |
alias l='ls -aG' | |
alias ll='ls -lG' | |
alias la='ls -lAG' | |
alias c=clear | |
alias ascii='man ascii' | |
alias pdf=pdftk | |
echo "• use pdf to manipulate PDF files (use pdf --help to list options)" | |
alias pg='less -ei' | |
alias ogg='ffmpeg2theora' | |
alias lock='sudo chflags uchg' | |
alias unlock='sudo chflags nouchg' | |
alias bcd='builtin cd' | |
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES;killall Finder /System/Library/CoreServices/Finder.app' | |
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO;killall Finder /System/Library/CoreServices/Finder.app' | |
echo "• if a better touch tool is on, use ⌘ ⇧ . in the Finder to switch hidden file visibility on and off" | |
alias pngDump='defaults write com.apple.screencapture type png;killall SystemUIServer' | |
alias jpgDump='defaults write com.apple.screencapture type jpg;killall SystemUIServer' | |
alias pdfDump='defaults write com.apple.screencapture type pdf;killall SystemUIServer' | |
echo "• use pdfDump ∧ pngDump ∧ jpgDumpto control screen capture via ⌘ ⇧ 3 (all) or ⌘ ⇧ 4 (selection - use ^ to save to clipboard)" | |
alias catpdf='/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o' | |
echo "• use catpdf to merge pdf files: specify output file first, followed by pdfs, as in 'catpdf output.pdf fileprefix*.pdf'" | |
alias setIcon='SetFile -a C' | |
echo "• to set icon file on a volume, use setIcon /Volumes/Name\ Of\ Volume" | |
echo "• to copy/paste directly to/from the clipboard, use pbcopy/pbpaste. E.g. 'pbpaste | sort | pbcopy' will sort the clipboard" | |
echo "• to manipulate EXIF and GPS meta data, use exiftool (run exiftool without options to display manual)" | |
chflags nohidden ~/Library | |
# remove duplicate applications in open menu | |
alias fixow='/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"' | |
echo "• use fixow to remove duplicate applications in open menu" | |
function man2pdf { | |
man -t $1 | open -f -a /Applications/Preview.app | |
} | |
alias man2p='man2pdf' | |
alias m2p='man2pdf' | |
echo "• use m2p to display a man page as PDF" | |
function fixmp3 { | |
ls | for i in *; do mv "$i" "$(echo $i | sed -Ee "s/^([0-9]-)?[0-9]+\\ //")"; done; l | |
} | |
alias fix3='fixmp3' | |
function dl { | |
if [ -t 1 ] ; then tree -AC ${*}; else tree -n ${*}; fi | |
} | |
alias dll='dl -aupghlCD' | |
echo "• use dl to display a tree version of ls and dll to have attributes like in ll" | |
function cd { | |
if [ -e $1 ]; then | |
pushd "$1" &> /dev/null | |
fi | |
} | |
function _cd { | |
if [ -d "$1" ]; then | |
CDLAST=$(pwd) | |
len=${#CDHIST[@]} | |
CDHIST[$len]=$(builtin cd "$1" &>/dev/null; pwd) | |
builtin cd "$1" | |
return $? | |
else | |
>&2 echo "$1 is not a directory" | |
return 1 | |
fi | |
} | |
function cdh { | |
for (( i = 0; i < ${#CDHIST[@]}; i += 1 )); do | |
echo "[$i] ${CDHIST[$i]}" | |
done | |
} | |
function cd { | |
case "$1" in | |
"" ) | |
_cd ~ | |
;; | |
-) | |
_cd "$CDLAST" | |
;; | |
-\?|-help) | |
echo "usage: cd -|-?|-clear|-zap|-list|-history|-<[:digit:]+>|-<pattern>|<path>" | |
echo " -: changes to the previous directory and does not update the cd history" | |
echo " -?: displays this help notice; synonyms are -help" | |
echo " -clear: removes duplicates from the cd history; synonyms are -c, -compact, -compress" | |
echo " -zap: empties the cd history; synonyms are -zero, -reset" | |
echo " -list: lists cd history along with indexes; synonyms are -l, -h, -hist, -history" | |
echo " -<[:digit:]+>: changes to the directory with the corresponding index in the cd history" | |
echo " -<pattern>: changes to the most recent directory that matches the pattern in the cd history" | |
echo " <path>: changes to the directory 'path'" | |
;; | |
-z|-zap|-zero|-reset) | |
unset CDLAST | |
unset CDHIST | |
;; | |
-c|-clear|-compact|-compress) | |
eval CDHIST=($(printf "%q\n" "${CDHIST[@]}" | sort -u)) | |
cdh | |
;; | |
-l|-h|-list|-hist|-history) | |
cdh | |
;; | |
-*) | |
case ${1#-} in | |
+([:digit:]|[0-9]) ) | |
if [ -d ${CDHIST[${1#-}]} ]; then | |
_cd "${CDHIST[${1#-}]}" | |
fi | |
;; | |
*) | |
for (( i = ${#CDHIST[@]} - 2; i >= 0; i -= 1 )); do | |
if [[ "${CDHIST[$i]}" =~ "${1#-}" ]]; then | |
_cd "${CDHIST[${i}]}" | |
break | |
fi | |
done | |
if (( $i < 0 )); then | |
>&2 echo "${1#-} not found in directory history" | |
return 1 | |
else | |
return 0 | |
fi | |
;; | |
esac | |
;; | |
*) | |
_cd "$1" | |
;; | |
esac | |
} | |
echo |
This file contains hidden or 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
# 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 -> | |
# console.log "Saved! #{editor.getPath()}" |
This file contains hidden or 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
# Your keymap | |
# | |
# Atom keymaps work similarly to style sheets. Just as style sheets use | |
# selectors to apply styles to elements, Atom keymaps use selectors to associate | |
# keystrokes with events in specific contexts. Unlike style sheets however, | |
# each selector can only be declared once. | |
# | |
# You can create a new keybinding in this file by typing "key" and then hitting | |
# tab. | |
# | |
# Here's an example taken from Atom's built-in keymap: | |
# | |
# 'atom-text-editor': | |
# 'enter': 'editor:newline' | |
# | |
# 'atom-workspace': | |
# 'ctrl-shift-p': 'core:move-up' | |
# 'ctrl-p': 'core:move-down' | |
# | |
# You can find more information about keymaps in these guides: | |
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings | |
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth | |
# | |
# If you're having trouble with your keybindings not working, try the | |
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the | |
# Debugging Guide for more information: | |
# * https://atom.io/docs/latest/hacking-atom-debugging#check-the-keybindings | |
# | |
# This file uses CoffeeScript Object Notation (CSON). | |
# If you are unfamiliar with CSON, you can read more about it in the | |
# Atom Flight Manual: | |
# https://atom.io/docs/latest/using-atom-basic-customization#cson | |
'atom-text-editor': | |
'alt-cmd-;': 'bookmarks:view-all' | |
"cmd-'": 'bookmarks:jump-to-next-bookmark' | |
'cmd-"': 'bookmarks:jump-to-previous-bookmark' | |
'.platform-darwin atom-text-editor': | |
'cmd-;': 'bookmarks:toggle-bookmark' | |
'ctrl-cmd-;': 'bookmarks:clear-bookmarks' | |
'cmd-space': 'mark:toggle' | |
'alt-cmd-space': 'mark:goto-mark' | |
'alt-shift-cmd-space': 'mark:select-to-mark' | |
'atom-workspace': | |
'ctrl-i': 'cursor-history:next' | |
'ctrl-o': 'cursor-history:prev' | |
'ctrl-cmd-i': 'cursor-history:next-within-editor' | |
'ctrl-cmd-o': 'cursor-history:prev-within-editor' | |
'cmd-shift-1': 'bang:edit-text' | |
# 'shift-cmd-/': 'fold-comments:toggle' # this doesn't seem to work, kept the original 'ctrl-shift-/' |
This file contains hidden or 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 hidden or 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
[ | |
{ | |
"name": "about", | |
"version": "1.9.1" | |
}, | |
{ | |
"name": "archive-view", | |
"version": "0.65.1" | |
}, | |
{ | |
"name": "atom-clock", | |
"version": "0.1.16" | |
}, | |
{ | |
"name": "atom-dark-syntax", | |
"version": "0.29.1", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "atom-dark-ui", | |
"version": "0.53.3", | |
"theme": "ui" | |
}, | |
{ | |
"name": "atom-light-syntax", | |
"version": "0.29.1", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "atom-light-ui", | |
"version": "0.46.3", | |
"theme": "ui" | |
}, | |
{ | |
"name": "atom-pair", | |
"version": "2.0.13" | |
}, | |
{ | |
"name": "autocomplete-atom-api", | |
"version": "0.10.7" | |
}, | |
{ | |
"name": "autocomplete-css", | |
"version": "0.17.5" | |
}, | |
{ | |
"name": "autocomplete-html", | |
"version": "0.8.7" | |
}, | |
{ | |
"name": "autocomplete-plus", | |
"version": "2.41.0" | |
}, | |
{ | |
"name": "autocomplete-python", | |
"version": "1.11.0" | |
}, | |
{ | |
"name": "autocomplete-snippets", | |
"version": "1.12.0" | |
}, | |
{ | |
"name": "autoflow", | |
"version": "0.29.4" | |
}, | |
{ | |
"name": "autosave", | |
"version": "0.24.6" | |
}, | |
{ | |
"name": "background-tips", | |
"version": "0.28.0" | |
}, | |
{ | |
"name": "bang", | |
"version": "2.4.0" | |
}, | |
{ | |
"name": "base16-tomorrow-dark-theme", | |
"version": "1.6.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "base16-tomorrow-light-theme", | |
"version": "1.6.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "bookmarks", | |
"version": "0.45.1" | |
}, | |
{ | |
"name": "bracket-matcher", | |
"version": "0.90.4" | |
}, | |
{ | |
"name": "bracket-padder", | |
"version": "0.4.2" | |
}, | |
{ | |
"name": "busy-signal", | |
"version": "2.0.0" | |
}, | |
{ | |
"name": "color-picker", | |
"version": "2.3.0" | |
}, | |
{ | |
"name": "command-palette", | |
"version": "0.43.5" | |
}, | |
{ | |
"name": "cursor-history", | |
"version": "0.13.1" | |
}, | |
{ | |
"name": "dalek", | |
"version": "0.2.2" | |
}, | |
{ | |
"name": "deprecation-cop", | |
"version": "0.56.9" | |
}, | |
{ | |
"name": "dev-live-reload", | |
"version": "0.48.1" | |
}, | |
{ | |
"name": "encoding-selector", | |
"version": "0.23.9" | |
}, | |
{ | |
"name": "exception-reporting", | |
"version": "0.43.1" | |
}, | |
{ | |
"name": "file-icons", | |
"version": "2.1.27" | |
}, | |
{ | |
"name": "find-and-replace", | |
"version": "0.215.14" | |
}, | |
{ | |
"name": "fuzzy-finder", | |
"version": "1.8.2" | |
}, | |
{ | |
"name": "git-diff", | |
"version": "1.3.9" | |
}, | |
{ | |
"name": "git-time-machine", | |
"version": "2.1.0" | |
}, | |
{ | |
"name": "github", | |
"version": "0.22.2" | |
}, | |
{ | |
"name": "go-to-line", | |
"version": "0.33.0" | |
}, | |
{ | |
"name": "grammar-selector", | |
"version": "0.50.1" | |
}, | |
{ | |
"name": "image-view", | |
"version": "0.63.1" | |
}, | |
{ | |
"name": "incompatible-packages", | |
"version": "0.27.3" | |
}, | |
{ | |
"name": "indent-detective", | |
"version": "0.3.1" | |
}, | |
{ | |
"name": "ink", | |
"version": "0.9.4" | |
}, | |
{ | |
"name": "intentions", | |
"version": "1.1.5" | |
}, | |
{ | |
"name": "julia-client", | |
"version": "0.7.3" | |
}, | |
{ | |
"name": "keybinding-resolver", | |
"version": "0.38.4" | |
}, | |
{ | |
"name": "language-c", | |
"version": "0.60.13" | |
}, | |
{ | |
"name": "language-clojure", | |
"version": "0.22.7" | |
}, | |
{ | |
"name": "language-coffee-script", | |
"version": "0.49.3" | |
}, | |
{ | |
"name": "language-csharp", | |
"version": "1.1.0" | |
}, | |
{ | |
"name": "language-css", | |
"version": "0.43.0" | |
}, | |
{ | |
"name": "language-gfm", | |
"version": "0.90.5" | |
}, | |
{ | |
"name": "language-git", | |
"version": "0.19.1" | |
}, | |
{ | |
"name": "language-go", | |
"version": "0.46.6" | |
}, | |
{ | |
"name": "language-html", | |
"version": "0.51.5" | |
}, | |
{ | |
"name": "language-hyperlink", | |
"version": "0.17.0" | |
}, | |
{ | |
"name": "language-java", | |
"version": "0.30.0" | |
}, | |
{ | |
"name": "language-javascript", | |
"version": "0.129.19" | |
}, | |
{ | |
"name": "language-json", | |
"version": "0.19.2" | |
}, | |
{ | |
"name": "language-julia", | |
"version": "0.17.0" | |
}, | |
{ | |
"name": "language-latex", | |
"version": "1.2.0" | |
}, | |
{ | |
"name": "language-less", | |
"version": "0.34.2" | |
}, | |
{ | |
"name": "language-make", | |
"version": "0.22.3" | |
}, | |
{ | |
"name": "language-mustache", | |
"version": "0.14.5" | |
}, | |
{ | |
"name": "language-objective-c", | |
"version": "0.15.1" | |
}, | |
{ | |
"name": "language-perl", | |
"version": "0.38.1" | |
}, | |
{ | |
"name": "language-php", | |
"version": "0.44.0" | |
}, | |
{ | |
"name": "language-property-list", | |
"version": "0.9.1" | |
}, | |
{ | |
"name": "language-python", | |
"version": "0.51.8" | |
}, | |
{ | |
"name": "language-ruby", | |
"version": "0.72.14" | |
}, | |
{ | |
"name": "language-ruby-on-rails", | |
"version": "0.25.3" | |
}, | |
{ | |
"name": "language-rust-bundled", | |
"version": "0.1.0" | |
}, | |
{ | |
"name": "language-sass", | |
"version": "0.62.0" | |
}, | |
{ | |
"name": "language-shellscript", | |
"version": "0.27.9" | |
}, | |
{ | |
"name": "language-source", | |
"version": "0.9.0" | |
}, | |
{ | |
"name": "language-sql", | |
"version": "0.25.10" | |
}, | |
{ | |
"name": "language-text", | |
"version": "0.7.4" | |
}, | |
{ | |
"name": "language-todo", | |
"version": "0.29.4" | |
}, | |
{ | |
"name": "language-toml", | |
"version": "0.18.2" | |
}, | |
{ | |
"name": "language-typescript", | |
"version": "0.4.11" | |
}, | |
{ | |
"name": "language-xml", | |
"version": "0.35.2" | |
}, | |
{ | |
"name": "language-yaml", | |
"version": "0.32.0" | |
}, | |
{ | |
"name": "latex", | |
"version": "0.50.2" | |
}, | |
{ | |
"name": "latex-completions", | |
"version": "0.3.6" | |
}, | |
{ | |
"name": "line-ending-selector", | |
"version": "0.7.7" | |
}, | |
{ | |
"name": "link", | |
"version": "0.31.6" | |
}, | |
{ | |
"name": "linter", | |
"version": "2.2.0" | |
}, | |
{ | |
"name": "linter-eslint", | |
"version": "8.5.0" | |
}, | |
{ | |
"name": "linter-ui-default", | |
"version": "1.7.1" | |
}, | |
{ | |
"name": "mark", | |
"version": "1.3.3" | |
}, | |
{ | |
"name": "markdown-preview", | |
"version": "0.159.25" | |
}, | |
{ | |
"name": "metrics", | |
"version": "1.6.2" | |
}, | |
{ | |
"name": "minimap", | |
"version": "4.29.9" | |
}, | |
{ | |
"name": "minimap-bookmarks", | |
"version": "0.4.2" | |
}, | |
{ | |
"name": "minimap-codeglance", | |
"version": "0.4.7" | |
}, | |
{ | |
"name": "minimap-find-and-replace", | |
"version": "4.5.2" | |
}, | |
{ | |
"name": "minimap-linter", | |
"version": "2.2.1" | |
}, | |
{ | |
"name": "move-by-paragraph", | |
"version": "2.0.1" | |
}, | |
{ | |
"name": "notifications", | |
"version": "0.70.5" | |
}, | |
{ | |
"name": "one-dark-syntax", | |
"version": "1.8.4", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "one-dark-ui", | |
"version": "1.12.5", | |
"theme": "ui" | |
}, | |
{ | |
"name": "one-light-syntax", | |
"version": "1.8.4", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "one-light-ui", | |
"version": "1.12.5", | |
"theme": "ui" | |
}, | |
{ | |
"name": "open-on-github", | |
"version": "1.3.1" | |
}, | |
{ | |
"name": "package-generator", | |
"version": "1.3.0" | |
}, | |
{ | |
"name": "pdf-view", | |
"version": "0.71.0" | |
}, | |
{ | |
"name": "platformio-ide-terminal", | |
"version": "2.8.4" | |
}, | |
{ | |
"name": "python-autopep8", | |
"version": "0.1.3" | |
}, | |
{ | |
"name": "python-debugger", | |
"version": "0.2.0" | |
}, | |
{ | |
"name": "settings-view", | |
"version": "0.257.1" | |
}, | |
{ | |
"name": "snippets", | |
"version": "1.4.0" | |
}, | |
{ | |
"name": "solarized-dark-syntax", | |
"version": "1.2.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "solarized-light-syntax", | |
"version": "1.2.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "sort-lines", | |
"version": "0.18.0" | |
}, | |
{ | |
"name": "sorter", | |
"version": "1.2.1" | |
}, | |
{ | |
"name": "spell-check", | |
"version": "0.74.2" | |
}, | |
{ | |
"name": "split-diff", | |
"version": "1.5.3" | |
}, | |
{ | |
"name": "status-bar", | |
"version": "1.8.15" | |
}, | |
{ | |
"name": "styleguide", | |
"version": "0.49.12" | |
}, | |
{ | |
"name": "symbols-view", | |
"version": "0.118.2" | |
}, | |
{ | |
"name": "sync-settings", | |
"version": "0.8.6" | |
}, | |
{ | |
"name": "tabs", | |
"version": "0.109.2" | |
}, | |
{ | |
"name": "teletype", | |
"version": "0.13.3" | |
}, | |
{ | |
"name": "timecop", | |
"version": "0.36.2" | |
}, | |
{ | |
"name": "tool-bar", | |
"version": "1.1.11" | |
}, | |
{ | |
"name": "tree-view", | |
"version": "0.224.2" | |
}, | |
{ | |
"name": "uber-juno", | |
"version": "0.2.0" | |
}, | |
{ | |
"name": "update-package-dependencies", | |
"version": "0.13.1" | |
}, | |
{ | |
"name": "welcome", | |
"version": "0.36.7" | |
}, | |
{ | |
"name": "whitespace", | |
"version": "0.37.7" | |
}, | |
{ | |
"name": "wrap-guide", | |
"version": "0.40.3" | |
} | |
] |
This file contains hidden or 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
{ | |
"atom-beautify": { | |
"_analyticsUserId": "a9994cdc-3654-45d3-880d-65585612d1a7", | |
"general": { | |
"_analyticsUserId": "53c7691c-194d-4c61-a721-94a79cfa2321" | |
} | |
}, | |
"atom-clock": { | |
"dateFormat": "YYYY-MM-DD ddd H:mm", | |
"showClockIcon": true, | |
"showTooltip": true | |
}, | |
"autocomplete-plus": { | |
"confirmCompletion": "tab always, enter when suggestion explicitly selected" | |
}, | |
"autocomplete-python": { | |
"useKite": false | |
}, | |
"bracket-matcher": { | |
"autocompleteCharacters": [ | |
"()", | |
"[]", | |
"{}", | |
"\"\"", | |
"``", | |
"''", | |
"“”", | |
"‘’", | |
"«»", | |
"‹›", | |
"⟦⟧", | |
"ᐸᐳ", | |
"⁽⁾", | |
"₍₎", | |
"ᗕᗒ", | |
"ᐊᐅ", | |
"ᒥᒣ", | |
"ᒪᒧ" | |
], | |
"highlightMatchingLineNumber": true, | |
"pairsWithExtraNewline": [ | |
"()", | |
"[]", | |
"{}", | |
"⟦⟧" | |
] | |
}, | |
"comment": {}, | |
"core": { | |
"disabledPackages": [ | |
"spell-check" | |
], | |
"openEmptyEditorOnStart": false, | |
"telemetryConsent": "limited", | |
"themes": [ | |
"atom-dark-ui", | |
"base16-tomorrow-dark-theme" | |
], | |
"titleBar": "custom" | |
}, | |
"cursor-history": { | |
"rowDeltaToRemember": 10 | |
}, | |
"editor": { | |
"fontFamily": "Menlo", | |
"invisibles": {}, | |
"lineHeight": 1.4, | |
"preferredLineLength": 128, | |
"scrollPastEnd": true, | |
"showIndentGuide": true, | |
"showInvisibles": true, | |
"softWrap": true, | |
"softWrapHangingIndent": 4, | |
"tabLength": 4 | |
}, | |
"exception-reporting": { | |
"userId": "b762a074-dc4b-565e-0cff-6755a8192d2b" | |
}, | |
"fold-comments": {}, | |
"julia-client": { | |
"consoleOptions": {}, | |
"firstBoot": false, | |
"uiOptions": { | |
"enableMenu": true, | |
"enableToolBar": true | |
} | |
}, | |
"latex": { | |
"opener": "pdf-view" | |
}, | |
"linter-eslint": { | |
"global": { | |
"useGlobalEslint": true | |
}, | |
"lintHtmlFiles": true, | |
"scopes": [ | |
"source.js", | |
"source.jsx", | |
"source.js.jsx", | |
"source.babel", | |
"source.js-semantic", | |
"source.mjs" | |
] | |
}, | |
"linter-ui-default": { | |
"panelHeight": 260 | |
}, | |
"minimap": { | |
"charHeight": 1, | |
"displayMinimapOnLeft": true, | |
"moveCursorOnMinimapClick": true, | |
"plugins": { | |
"bookmarks": true, | |
"bookmarksDecorationsZIndex": 0, | |
"codeglance": true, | |
"codeglanceDecorationsZIndex": 0, | |
"find-and-replace": true, | |
"find-and-replaceDecorationsZIndex": 0, | |
"highlight-selected": true, | |
"highlight-selectedDecorationsZIndex": 0, | |
"linter": true, | |
"linterDecorationsZIndex": 0 | |
}, | |
"redrawDelay": 100 | |
}, | |
"minimap-codeglance": { | |
"codeHighlighting": false, | |
"decorations": false, | |
"numberOfLines": 10 | |
}, | |
"minimap-linter": {}, | |
"platformio-ide-terminal": { | |
"style": { | |
"fontFamily": "Andale Mono", | |
"fontSize": "13", | |
"theme": "homebrew" | |
} | |
}, | |
"python-autopep8": { | |
"formatOnSave": true, | |
"maxLineLength": 129 | |
}, | |
"spell-check": { | |
"addKnownWords": true, | |
"grammars": [ | |
"source.asciidoc", | |
"source.js", | |
"source.gfm", | |
"text.git-commit", | |
"text.plain", | |
"text.plain.null-grammar" | |
], | |
"knownWords": [ | |
"Aaiun", | |
"Adak", | |
"Anadyr", | |
"Aqtau", | |
"Aqtobe", | |
"Araguaina", | |
"Asmera", | |
"Atikokan", | |
"Atka", | |
"Atyrau", | |
"Barthelemy", | |
"Blanc-Sablon", | |
"Brahmi", | |
"Busingen", | |
"Chagos", | |
"Choibalsan", | |
"Chuuk", | |
"Creston", | |
"Cuiaba", | |
"Danmarkshavn", | |
"Dーda", | |
"Efate", | |
"Eirunepe", | |
"Enderbury", | |
"Fakaofo", | |
"Famagusta", | |
"Fri", | |
"Glace", | |
"Godthab", | |
"Harbour", | |
"Hovd", | |
"Kashgar", | |
"Khandyga", | |
"Kosrae", | |
"Kralendijk", | |
"Lindeman", | |
"Lome", | |
"Longyearbyen", | |
"Magadan", | |
"Mariehamn", | |
"Matamoros", | |
"Mazatlan", | |
"Metlakatla", | |
"Mon", | |
"Ndjamena", | |
"Nipigon", | |
"Noronha", | |
"Ojinaga", | |
"Pandang", | |
"Pangnirtung", | |
"Pohnpei", | |
"Ponape", | |
"Qyzylorda", | |
"Rothera", | |
"Santarem", | |
"Scoresbysund", | |
"Shiprock", | |
"Srednekolymsk", | |
"Syowa", | |
"Thu", | |
"Tirane", | |
"Tongatapu", | |
"Truk", | |
"Tue", | |
"Ujung", | |
"Ulaanbaatar", | |
"Unparsable", | |
"Ust-Nera", | |
"Uzhgorod", | |
"Yakutat", | |
"Yancowinna", | |
"Zaporozhye", | |
"ainᑊt", | |
"an", | |
"centisecond", | |
"date", | |
"datespec", | |
"decisecond", | |
"durationspecǃ", | |
"eslint", | |
"eslint-disable-line", | |
"falsy", | |
"formatspec", | |
"hh", | |
"instanceof", | |
"ss", | |
"tz", | |
"unindent", | |
"durationspec", | |
"unindentǃ" | |
], | |
"locales": [ | |
"en-US" | |
] | |
}, | |
"split-diff": { | |
"diffWords": true, | |
"ignoreWhitespace": true, | |
"leftEditorColor": "red", | |
"rightEditorColor": "green", | |
"scrollSyncType": "Vertical + Horizontal" | |
}, | |
"sublime-block-comment": { | |
"pad": true | |
}, | |
"symbols-tree-view": { | |
"autoToggle": true, | |
"scrollAnimation": false | |
}, | |
"sync-settings": { | |
"extraFiles": [ | |
"package.list", | |
"astyle.rc", | |
"bash.login" | |
] | |
}, | |
"theme-flux": { | |
"day": { | |
"syntax": "solarized-light-syntax" | |
}, | |
"night": { | |
"syntax": "solarized-dark-syntax" | |
} | |
}, | |
"tool-bar": { | |
"position": "Left" | |
}, | |
"tree-view": { | |
"hideIgnoredNames": true, | |
"hideVcsIgnoredFiles": true | |
}, | |
"uber-juno": { | |
"disable": true | |
}, | |
"welcome": { | |
"showOnStartup": false | |
} | |
} |
This file contains hidden or 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
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing "snip" and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# | |
# '.source.coffee': | |
# 'Console log': | |
# 'prefix': 'log' | |
# 'body': 'console.log $1' | |
# | |
# Each scope (e.g. '.source.coffee' above) can only be declared once. | |
# | |
# This file uses CoffeeScript Object Notation (CSON). | |
# If you are unfamiliar with CSON, you can read more about it in the | |
# Atom Flight Manual: | |
# https://atom.io/docs/latest/using-atom-basic-customization#cson | |
'.source.js': | |
'braced': | |
'prefix': '{' | |
'body': '{\n\t$1\n\t' | |
'bracketed': | |
'prefix': '[' | |
'body': '[\n\t$1\n\t' | |
'do while': | |
'prefix': 'do' | |
'body': 'do {\n\t$2\n\t} while ( ${1:once} );\n$3' | |
'.forEach': | |
'prefix': 'forEach' | |
'body': 'forEach ( ${1:item} => {\n\t\t${2:// do something here with ${1:item}};\n\t\t} );\n$3' | |
'for each': | |
'prefix': 'foreach' | |
'body': '${1:ᗕiterableᗒ}.forEach ( ( ${1:item}, ${2:index} of ${2:ᗕiterableᗒ} ) => {\n\t\t${3:// do something here with ${1:item} and ${2:index}};\n\t\t}${4:,\n\t/* this argument */}\n\t);\n$5' | |
'for in': | |
'prefix': 'forin' | |
'body': 'for ( const ${1:variable} in ${2:object} ) {\n\t${3:// consider using keysǃ ( ${2:object} ).forEach}\n\t}\n$4' | |
'for of': | |
'prefix': 'forof' | |
'body': 'for ( const ${1:variable} of ${2:ᗕiterableᗒ} ) {\n\t${3:// consider using ${2:ᗕiterableᗒ}.forEach}\n\t}\n$4' | |
'if else': | |
'prefix': 'if' | |
'body': 'if ( ${1:true} ) {\n\t$2\n\t}\nelse {\n\t$3\n\t}\n$4' | |
'parensed': | |
'prefix': '(' | |
'body': '(\n\t$1\n\t' | |
'true double tab': | |
'prefix': 'tt' | |
'body': '\t\t' | |
'switch case default': | |
'prefix': 'switch' | |
'body': 'switch ( ${1:true} ) {\n\tcase $2:\n\t\t$3\n\t\tbreak;\n\tcase $4:\n\t\t${5:// fall through}\n\tdefault:\n\t\t$6\n\t}\n$7' | |
'try catch': | |
'prefix': 'try' | |
'body': 'try {\n\t$1\n\t}\ncatch ( ${2:e} ) {\n\t${3:throw $2;}\n\t}\n$4' |
This file contains hidden or 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
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed and saved. | |
* | |
* Add your own CSS or Less to fully customize Atom. | |
* If you are unfamiliar with Less, you can read more about it here: | |
* http://lesscss.org | |
*/ | |
/* | |
* Examples | |
* (To see them, uncomment and save) | |
*/ | |
// style the background color of the tree view | |
.tree-view { | |
// background-color: whitesmoke; | |
} | |
// style the background and foreground colors on the atom-text-editor-element itself | |
atom-text-editor { | |
// color: white; | |
// background-color: hsl(180, 24%, 12%); | |
} | |
// To style other content in the text editor's shadow DOM, use the ::shadow expression | |
atom-text-editor::shadow .cursor { | |
// border-color: red; | |
} | |
.atom-clock-icon { | |
color: #b0b0b0; | |
} | |
minimap-codeglance { | |
// see through the codeglance element | |
opacity: .8; | |
// change the shadow of the element | |
box-shadow: 2px 2px 20px 10px rgba(0, 100, 100, .5); | |
// etc. | |
} | |
.minimap .bookmark { | |
// background: #09C; // original setting | |
background: #8CF; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment