Last active
August 29, 2017 07:50
-
-
Save lucasdinonolte/8c4f6c97ac0401b1f90db9a12d78fbb5 to your computer and use it in GitHub Desktop.
Dotfiles
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
# Linter Options | |
options: | |
merge-default-rules: false | |
formatter: stylish | |
max-warnings: 50 | |
# File Options | |
files: | |
include: '**/*.s+(a|c)ss' | |
# Rule Configuration | |
rules: | |
# Extends | |
extends-before-mixins: 2 | |
extends-before-declarations: 2 | |
placeholder-in-extend: 2 | |
# Mixins | |
mixins-before-declarations: | |
- 2 | |
- | |
exclude: 'respond-to' | |
# Line Spacing | |
one-declaration-per-line: 2 | |
empty-line-between-blocks: | |
- 0 | |
- | |
allow-single-line-rulesets: false | |
single-line-per-selector: 2 | |
# Disallows | |
no-attribute-selectors: 0 | |
no-color-hex: 2 | |
no-color-keywords: 2 | |
no-color-literals: 2 | |
no-combinators: 0 | |
no-css-comments: 2 | |
no-debug: 1 | |
no-disallowed-properties: 1 | |
no-duplicate-properties: 1 | |
no-empty-rulesets: 2 | |
no-extends: 1 | |
no-ids: 1 | |
no-important: 1 | |
no-invalid-hex: 2 | |
no-mergeable-selectors: 1 | |
no-misspelled-properties: | |
- 2 | |
- | |
'extra-properties': | |
- 'overflow-scrolling' | |
no-qualifying-elements: | |
- 1 | |
- | |
allow-element-with-attribute: true | |
no-trailing-whitespace: 2 | |
no-trailing-zero: 2 | |
no-transition-all: 1 | |
no-universal-selectors: 0 | |
no-url-domains: 1 | |
no-url-protocols: 1 | |
no-vendor-prefixes: 1 | |
no-warn: 0 | |
property-units: 1 | |
# Nesting | |
declarations-before-nesting: 2 | |
force-attribute-nesting: 0 | |
force-element-nesting: 1 | |
force-pseudo-nesting: 0 | |
# Name Formats | |
class-name-format: | |
- 2 | |
- convention: hyphenatedbem | |
function-name-format: 1 | |
id-name-format: 1 | |
mixin-name-format: 1 | |
placeholder-name-format: 1 | |
variable-name-format: 1 | |
# Style Guide | |
attribute-quotes: 2 | |
bem-depth: 0 | |
border-zero: 2 | |
brace-style: 1 | |
clean-import-paths: 2 | |
empty-args: 1 | |
hex-length: 2 | |
hex-notation: 2 | |
indentation: 2 | |
leading-zero: | |
- 2 | |
- | |
include: true | |
max-line-length: 0 | |
max-file-line-count: 0 | |
nesting-depth: | |
- 1 | |
- | |
max-depth: 3 | |
property-sort-order: | |
- 2 | |
- | |
order: | |
# Superordinate | |
- content | |
- will-change | |
# Overall visibility | |
- appearance | |
- clip | |
- opacity | |
- visibility | |
- display | |
- overflow | |
- overflow-x | |
- overflow-y | |
- -webkit-overflow-scrolling | |
# Flexbox | |
- flex-direction | |
- flex-wrap | |
- flex-flow | |
- justify-content | |
- align-items | |
- align-content | |
- order | |
- flex | |
- flex-grow | |
- flex-shrink | |
- flex-basis | |
- align-self | |
# Grid | |
- columns | |
- column-span | |
- column-width | |
- column-count | |
- column-fill | |
- column-gap | |
- column-rule | |
- column-rule-width | |
- column-rule-style | |
- column-rule-color | |
# Table | |
- table-layout | |
- border-collapse | |
- border-spacing | |
# List | |
- list-style | |
- list-style-position | |
- list-style-type | |
- list-style-image | |
- counter-increment | |
- counter-reset | |
# Positioning in space | |
- float | |
- clear | |
- position | |
- z-index | |
- top | |
- right | |
- bottom | |
- left | |
- vertical-align | |
# Box model incl. transformation of it | |
- box-sizing | |
- width | |
- min-width | |
- max-width | |
- height | |
- min-height | |
- max-height | |
- outline | |
- outline-width | |
- outline-style | |
- outline-color | |
- outline-offset | |
- margin | |
- margin-top | |
- margin-right | |
- margin-bottom | |
- margin-left | |
- border | |
- border-width | |
- border-style | |
- border-color | |
- border-top | |
- border-right | |
- border-bottom | |
- border-left | |
- border-image | |
- border-image-source | |
- border-image-slice | |
- border-image-width | |
- border-image-outset | |
- border-image-repeat | |
- border-top-image | |
- border-right-image | |
- border-bottom-image | |
- border-left-image | |
- border-corner-image | |
- border-top-left-image | |
- border-top-right-image | |
- border-bottom-right-image | |
- border-bottom-left-image | |
- border-radius | |
- padding | |
- padding-top | |
- padding-right | |
- padding-bottom | |
- padding-left | |
- box-shadow | |
- stroke-dasharray | |
- stroke-dashoffset | |
- stroke-linecap | |
- transform | |
- transform-origin | |
- transform-style | |
# Typography | |
- hyphens | |
- font | |
- font-family | |
- font-size | |
- font-size-adjust | |
- font-stretch | |
- font-style | |
- font-variant | |
- font-weight | |
- -moz-osx-font-smoothing | |
- -webkit-font-smoothing | |
- letter-spacing | |
- line-height | |
- overflow-wrap | |
- quotes | |
- text-align | |
- text-align-last | |
- text-decoration | |
- text-emphasis | |
- text-emphasis-color | |
- text-emphasis-position | |
- text-emphasis-style | |
- text-indent | |
- text-justify | |
- text-outline | |
- text-overflow | |
- text-rendering | |
- text-shadow | |
- text-size-adjust | |
- text-transform | |
- white-space | |
- word-break | |
- word-spacing | |
- word-wrap | |
# Color | |
- fill | |
- color | |
- background | |
- background-color | |
- background-image | |
- background-attachment | |
- background-repeat | |
- background-position | |
- background-position-x | |
- background-position-y | |
- background-clip | |
- background-origin | |
- background-size | |
# Rest | |
- filter | |
- resize | |
- cursor | |
- user-select | |
- pointer-events | |
- backface-visibility | |
- perspective | |
- transition | |
- animation | |
pseudo-element: 2 | |
quotes: 2 | |
shorthand-values: 2 | |
url-quotes: 2 | |
variable-for-property: | |
- 2 | |
- | |
properties: | |
- color | |
- background-color | |
zero-unit: 2 | |
# Inner Spacing | |
space-after-comma: 2 | |
space-before-colon: 2 | |
space-after-colon: 2 | |
space-before-brace: 2 | |
space-before-bang: 2 | |
space-after-bang: 2 | |
space-between-parens: 2 | |
space-around-operator: 2 | |
# Final Items | |
trailing-semicolon: 2 | |
final-newline: 2 |
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
# set Zsh as your default Tmux shell | |
set-option -g default-shell /bin/zsh | |
# UTF is great, let us use that | |
set -g utf8 | |
set-window-option -g utf8 on | |
# Tmux should be pretty, we need 256 color for that | |
set -g default-terminal "screen-256color" | |
# Mouse support - set to on if you want to use the mouse | |
set -g mouse on | |
# enable activity alerts | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# act like GNU screen | |
unbind C-b | |
bind C-a send-prefix | |
set -g prefix C-a | |
# act like Vim | |
setw -g mode-keys vi | |
unbind [ | |
bind v copy-mode | |
bind p paste-buffer | |
# command delay? We don't want that, make it short | |
set -sg escape-time 1 | |
# Set the numbering of windows to go from 1 instead | |
# of 0 - silly programmers :| | |
set-option -g base-index 1 | |
setw -g pane-base-index 1 | |
# Allow us to reload our Tmux configuration while | |
# using Tmux | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Getting interesting now, we use the vertical and horizontal | |
# symbols to split the screen | |
bind | split-window -h | |
bind - split-window -v | |
# status line | |
set -g status-position bottom | |
set -g status-bg colour10 | |
set -g status-fg colour241 | |
set -g status-left '' | |
set -g status-right '#(date +"%a %d %b %H:%M") ' | |
set -g status-justify left | |
set -g window-status-format ' #I·#W' | |
set -g window-status-current-format ' #I·#W' | |
set -g window-status-current-fg colour4 | |
set -g window-status-current-bg colour10 |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" Hide startup message | |
set shortmess=atI | |
" Enable syntax highlighting | |
syntax on | |
" Line numbers | |
set number | |
" Hight 80th column | |
set textwidth=80 | |
set colorcolumn=+0 | |
" Enable mouse | |
if has("mouse_sgr") | |
set ttymouse=sgr | |
elseif has("mouse_xterm") | |
set ttymouse=xterm2 | |
end | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
" plugin on GitHub repo | |
"Plugin 'tpope/vim-fugitive' | |
" plugin from http://vim-scripts.org/vim/scripts.html | |
" Plugin 'L9' | |
" Git plugin not hosted on GitHub | |
" Plugin 'git://git.wincent.com/command-t.git' | |
" git repos on your local machine (i.e. when working on your own plugin) | |
" Plugin 'file:///home/gmarik/path/to/plugin' | |
" The sparkup vim script is in a subdirectory of this repo called vim. | |
" Pass the path to set the runtimepath properly. | |
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} | |
" Install L9 and avoid a Naming conflict if you've already installed a | |
" different version somewhere else. | |
" Plugin 'ascenator/L9', {'name': 'newL9'} | |
" Enable support for editorconfigs | |
Plugin 'editorconfig/editorconfig-vim' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
execute pathogen#infect() | |
" Always show statusline | |
set laststatus=2 | |
" File explorer | |
let g:NERDTreeChDirMode=2 | |
let g:NERDTreeCascadeSingleChildDir=0 | |
" These mappings would interfere with vim-tmux-navigator | |
let g:NERDTreeMapJumpNextSibling='' | |
let g:NERDTreeMapJumpPrevSibling='' | |
let g:NERDTreeMinimalUI=1 | |
" Set theme | |
colorscheme github |
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/lucas.nolte/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" | |
# Uncomment the following line to use case-sensitive completion. | |
# CASE_SENSITIVE="true" | |
# Uncomment the following line to use hyphen-insensitive completion. Case | |
# sensitive completion must be off. _ and - will be interchangeable. | |
# HYPHEN_INSENSITIVE="true" | |
# Uncomment the following line to disable bi-weekly auto-update checks. | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment the following line to change how often to auto-update (in days). | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment the following line to disable colors in ls. | |
# DISABLE_LS_COLORS="true" | |
# Uncomment the following line to disable auto-setting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment the following line to enable command auto-correction. | |
# ENABLE_CORRECTION="true" | |
# Uncomment the following line to display red dots whilst waiting for completion. | |
# COMPLETION_WAITING_DOTS="true" | |
# Uncomment the following line if you want to disable marking untracked files | |
# under VCS as dirty. This makes repository status check for large repositories | |
# much, much faster. | |
# DISABLE_UNTRACKED_FILES_DIRTY="true" | |
# Uncomment the following line if you want to change the command execution time | |
# stamp shown in the history command output. | |
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | |
# HIST_STAMPS="mm/dd/yyyy" | |
# Would you like to use another custom folder than $ZSH/custom? | |
# ZSH_CUSTOM=/path/to/new-custom-folder | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# ssh | |
export SSH_KEY_PATH="~/.ssh/rsa_id" | |
# Rbenv | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
# | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
# Add some nice aliases | |
alias git=hub | |
alias work="cd /Users/lucas.nolte/Documents/zwtg-Work" | |
# aliases for Tmux | |
alias tmux='tmux -2' | |
alias ta='tmux attach -t' | |
alias tnew='tmux new -s' | |
alias tls='tmux ls' | |
alias tkill='tmux kill-session -t' | |
# convenience aliases for editing configs | |
alias ev='vim ~/.vimrc' | |
alias et='vim ~/.tmux.conf' | |
alias ez='vim ~/.zshrc' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment