Add .atom folder and adjusted gitignore in .atom

This commit is contained in:
saibotk 2018-12-06 20:31:59 +01:00
parent b840a7c41f
commit 438a2ed58c
9 changed files with 154 additions and 0 deletions

10
.atom/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
blob-store
compile-cache
dev
storage
.apm
.node-gyp
.npm
packages
recovery
projects.cson

45
.atom/config.cson Normal file
View file

@ -0,0 +1,45 @@
"*":
"activate-power-mode":
plugins:
playAudio: true
screenShake: true
"ansible-vault":
path: "/usr/bin/ansible-vault"
"atom-material-ui":
colors:
genAccent: true
tabs:
compactTabs: true
stretchedTabs: true
ui:
panelContrast: true
panelShadows: true
core:
disabledPackages: [
"atom-bootstrap4"
]
telemetryConsent: "no"
themes: [
"atom-material-ui"
"atom-material-syntax-dark"
]
editor:
fontSize: 15
tabLength: 4
tabType: "hard"
"exception-reporting":
userId: "164cfdfa-2140-4a5b-a2bd-e1d34eaa5c00"
minimap:
plugins:
"find-and-replace": true
"find-and-replaceDecorationsZIndex": 0
"highlight-selected": true
"highlight-selectedDecorationsZIndex": 0
pigments: true
pigmentsDecorationsZIndex: 0
welcome:
showOnStartup: false
".blade.html.php.text":
editor:
commentEnd: " --}}"
commentStart: "{{-- "

1
.atom/github.cson Normal file
View file

@ -0,0 +1 @@
# Store non-visible GitHub package state.

11
.atom/init.coffee Normal file
View file

@ -0,0 +1,11 @@
# 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()}"

32
.atom/keymap.cson Normal file
View file

@ -0,0 +1,32 @@
# 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:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/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:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson

21
.atom/snippets.cson Normal file
View file

@ -0,0 +1,21 @@
# 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:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson

32
.atom/styles.less Normal file
View file

@ -0,0 +1,32 @@
/*
* 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%);
}
// style UI elements inside atom-text-editor
atom-text-editor .cursor {
// border-color: red;
}

View file

@ -10,12 +10,14 @@ rm -f ~/.zshrc
rm -f ~/.vimrc
rm -rf ~/.vim
rm -f ~/.tmux.conf
rm -f ~/.atom
# create symbolic links to dotfiles
ln -s ~/.dotfiles/.vimrc ~/.vimrc
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/.vim ~/.vim
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/.dotfiles/.atom ~/.atom
# install vundle
if ! [ -d ~/.vim/bundle/Vundle.vim ]; then