Initial commit
This adds the current state of my dotfiles for version control.
This commit is contained in:
commit
a557472b0f
27 changed files with 5007 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
vim/bundle/
|
9
.gitmodules
vendored
Normal file
9
.gitmodules
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[submodule "vim/bundle/Vundle.vim"]
|
||||||
|
path = vim/bundle/Vundle.vim
|
||||||
|
url = https://github.com/gmarik/Vundle.vim.git
|
||||||
|
[submodule "resources/Menlo-for-Powerline"]
|
||||||
|
path = resources/Menlo-for-Powerline
|
||||||
|
url = https://github.com/abertsch/Menlo-for-Powerline.git
|
||||||
|
[submodule "resources/powerline-consolas"]
|
||||||
|
path = resources/powerline-consolas
|
||||||
|
url = https://github.com/nicolalamacchia/powerline-consolas.git
|
176
bash_profile
Normal file
176
bash_profile
Normal file
|
@ -0,0 +1,176 @@
|
||||||
|
get_platform() {
|
||||||
|
local remove_spaces="s/ *//g"
|
||||||
|
local to_lower="y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"
|
||||||
|
local get_version="s/[^0-9]*\(\([0-9]\+\.\?\)*\)/\1/"
|
||||||
|
local kernel=$(uname -s | sed "$remove_spaces; $to_lower")
|
||||||
|
local version=$(uname -r | sed "$get_version")
|
||||||
|
local machine=$(uname -m | sed "$remove_spaces; $to_lower")
|
||||||
|
echo "$kernel-$version-$machine"
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Environment variables
|
||||||
|
#
|
||||||
|
export PLATFORM=$(get_platform)
|
||||||
|
export EDITOR="vim"
|
||||||
|
export HISTSIZE="65536"
|
||||||
|
export HISTFILESIZE="$HISTSIZE"
|
||||||
|
export LANG="en_US.UTF-8"
|
||||||
|
export LANGUAGE="en_US"
|
||||||
|
export LC_CTYPE="en_US.UTF-8"
|
||||||
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
|
gnubin=/usr/local/opt/coreutils/libexec/gnubin
|
||||||
|
gnuman=/usr/local/opt/coreutils/libexec/gnuman
|
||||||
|
[ -d "$gnubin" ] && export PATH="$gnubin:$PATH"
|
||||||
|
[ -d "$gnuman" ] && export MANPATH="$gnuman:$MANPATH"
|
||||||
|
[ -d "$HOME/.dotfiles/bin" ] && export PATH="$HOME/.dotfiles/bin:$PATH"
|
||||||
|
[ -d "$HOME/bin" ] && export PATH="$HOME/bin:$PATH"
|
||||||
|
[ -z "$BACKGROUND" ] && export BACKGROUND="dark"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Aliases
|
||||||
|
#
|
||||||
|
alias g="git"
|
||||||
|
alias ls="ls --color=auto"
|
||||||
|
alias l="ls -F"
|
||||||
|
alias la="ls -aF"
|
||||||
|
alias ll="ls -lF"
|
||||||
|
alias lla="ls -laF"
|
||||||
|
alias grep="grep --color=auto";
|
||||||
|
alias vi="vim"
|
||||||
|
alias path='echo $PATH | tr -s ":" "\n"'
|
||||||
|
|
||||||
|
if [[ ${PLATFORM%%-*} == "darwin" ]]; then
|
||||||
|
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||||
|
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Shell options
|
||||||
|
#
|
||||||
|
for option in cdspell checkwinsize globstar histappend nocaseglob
|
||||||
|
do
|
||||||
|
shopt -s "$option" 2> /dev/null
|
||||||
|
done
|
||||||
|
|
||||||
|
#
|
||||||
|
# ~/.bashrc.local can be used for local settings (not in repository)
|
||||||
|
#
|
||||||
|
[ -f ~/.bashrc.local ] && . ~/.bashrc.local
|
||||||
|
|
||||||
|
#
|
||||||
|
# Solarized shell & prompt
|
||||||
|
#
|
||||||
|
|
||||||
|
setcolor() (
|
||||||
|
IFS="" # $* should be joined without spaces
|
||||||
|
if [ -n "$TMUX" ]; then
|
||||||
|
# http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324
|
||||||
|
echo -ne "\033Ptmux;\033\033]$*\007\033\\"
|
||||||
|
elif [ "${TERM%%-*}" = "screen" ]; then
|
||||||
|
echo -ne "\033P\033]$*\007\033\\"
|
||||||
|
else
|
||||||
|
echo -ne "\033]$*\033\\"
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
apply_solarized() {
|
||||||
|
if [ "$TERM_PROGRAM" = "Apple_Terminal" ]; then
|
||||||
|
echo "tell application \"Terminal\" to set current settings of selected tab of front window to settings set \"solarized-$BACKGROUND\"" | osascript
|
||||||
|
else
|
||||||
|
# http://ethanschoonover.com/solarized
|
||||||
|
base03=002b36 base02=073642 base01=586e75 base00=657b83
|
||||||
|
base0=839496 base1=93a1a1 base2=eee8d5 base3=fdf6e3
|
||||||
|
red=dc322f orange=cb4b16 yellow=b58900 green=859900
|
||||||
|
cyan=2aa198 blue=268bd2 violet=6c71c4 magenta=d33682
|
||||||
|
|
||||||
|
# Determine customization colors based on dark/light background
|
||||||
|
cursor_color=$red
|
||||||
|
sel_color=$base01 # only for iTerm2
|
||||||
|
sel_text_color=$Base2 # only for iTerm2
|
||||||
|
if [ "$BACKGROUND" = "dark" ]; then
|
||||||
|
bg_color=$base03
|
||||||
|
fg_color=$base1
|
||||||
|
else
|
||||||
|
bg_color=$base2
|
||||||
|
fg_color=$base02
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Customize foreground/background/cursor & determine selector for
|
||||||
|
# setting the ANSI colors below
|
||||||
|
if [ -n "$ITERM_SESSION_ID" ]; then
|
||||||
|
setcolor Pg $fg_color # Foreground
|
||||||
|
setcolor Pi $fg_color # Bold
|
||||||
|
setcolor Ph $bg_color # Background
|
||||||
|
setcolor Pj $sel_color # Selection
|
||||||
|
setcolor Pk $sel_text_color # Selected text
|
||||||
|
setcolor Pl $cursor_color # Cursor
|
||||||
|
setcolor Pm $cursor_color # Cursor text
|
||||||
|
selector="P%s" a=a b=b c=c d=d e=e f=f
|
||||||
|
else
|
||||||
|
setcolor "10;" $fg_color # Foreground
|
||||||
|
setcolor "11;" $bg_color # Background
|
||||||
|
setcolor "12;" $cursor_color # Cursor
|
||||||
|
selector="4;%d;#" a=10 b=11 c=12 d=13 e=14 f=15
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set the ANSI colors
|
||||||
|
# iTerm2: Pnrrggbb (http://iterm2.com/documentation-escape-codes.html)
|
||||||
|
# other terminals: 4;n;#rrggbb
|
||||||
|
# Pn or 4;n;# n rrggbb ANSI name
|
||||||
|
setcolor $(printf $selector 0) $base02 # 0;30 black
|
||||||
|
setcolor $(printf $selector 1) $red # 0;31 red
|
||||||
|
setcolor $(printf $selector 2) $green # 0;32 green
|
||||||
|
setcolor $(printf $selector 3) $yellow # 1;33 yellow
|
||||||
|
setcolor $(printf $selector 4) $blue # 0;34 blue
|
||||||
|
setcolor $(printf $selector 5) $magenta # 0;35 magenta
|
||||||
|
setcolor $(printf $selector 6) $cyan # 0;36 cyan
|
||||||
|
setcolor $(printf $selector 7) $base2 # 0;37 white
|
||||||
|
setcolor $(printf $selector 8) $base03 # 1;30 bold black
|
||||||
|
setcolor $(printf $selector 9) $orange # 1;31 bold red
|
||||||
|
setcolor $(printf $selector $a) $base01 # 1;32 bold green
|
||||||
|
setcolor $(printf $selector $b) $base00 # 1;33 bold yellow
|
||||||
|
setcolor $(printf $selector $c) $base0 # 1;34 bold blue
|
||||||
|
setcolor $(printf $selector $d) $violet # 1;35 bold magenta
|
||||||
|
setcolor $(printf $selector $e) $base1 # 1;36 bold cyan
|
||||||
|
setcolor $(printf $selector $f) $base3 # 1;37 bold white
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$BACKGROUND" = "light" ]; then
|
||||||
|
prompt_color="\[\033[0;36m\]" # cyan
|
||||||
|
else
|
||||||
|
prompt_color="\[\033[0;34m\]" # blue
|
||||||
|
fi
|
||||||
|
export PS1="\n[${prompt_color}\w\[\033[0m\]]\n\$ ";
|
||||||
|
export PS2=". ";
|
||||||
|
|
||||||
|
ls_colors="$HOME/.dircolors/solarized-$BACKGROUND"
|
||||||
|
if type dircolors &> /dev/null && [ -f $ls_colors ]; then
|
||||||
|
eval "$(dircolors $ls_colors)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
apply_solarized
|
||||||
|
|
||||||
|
light() { export BACKGROUND="light" && apply_solarized; }
|
||||||
|
dark() { export BACKGROUND="dark" && apply_solarized; }
|
||||||
|
|
||||||
|
solarized() {
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;30" Base03
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;30" Base02
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;32" Base01
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;33" Base00
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;34" Base0
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;36" Base1
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;37" Base2
|
||||||
|
printf "\033[%sm%-7s\033[0m\n" "1;37" Base3
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;31" Red
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;31" Orange
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;33" Yellow
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;32" Green
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;36" Cyan
|
||||||
|
printf "\033[%sm%-7s\033[0m " "0;34" Blue
|
||||||
|
printf "\033[%sm%-7s\033[0m " "1;35" Violet
|
||||||
|
printf "\033[%sm%-7s\033[0m\n" "0;35" Magenta
|
||||||
|
}
|
||||||
|
|
1
bashrc
Normal file
1
bashrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[ -f ~/.bash_profile ] && . ~/.bash_profile
|
460
dircolors/solarized-dark
Executable file
460
dircolors/solarized-dark
Executable file
|
@ -0,0 +1,460 @@
|
||||||
|
# Exact Solarized Dark color theme for the color GNU ls utility.
|
||||||
|
# Designed for dircolors (GNU coreutils) 5.97
|
||||||
|
#
|
||||||
|
# This simple theme was simultaneously designed for these terminal color schemes:
|
||||||
|
# - Solarized dark (best)
|
||||||
|
# - Solarized light
|
||||||
|
# - default dark
|
||||||
|
# - default light
|
||||||
|
# with a slight optimization for Solarized Dark.
|
||||||
|
#
|
||||||
|
# How the colors were selected:
|
||||||
|
# - Terminal emulators often have an option typically enabled by default that makes
|
||||||
|
# bold a different color. It is important to leave this option enabled so that
|
||||||
|
# you can access the entire 16-color Solarized palette, and not just 8 colors.
|
||||||
|
# - We favor universality over a greater number of colors. So we limit the number
|
||||||
|
# of colors so that this theme will work out of the box in all terminals,
|
||||||
|
# Solarized or not, dark or light.
|
||||||
|
# - We choose to have the following category of files:
|
||||||
|
# NORMAL & FILE, DIR, LINK, EXEC and
|
||||||
|
# editable text including source, unimportant text, binary docs & multimedia source
|
||||||
|
# files, viewable multimedia, archived/compressed, and unimportant non-text
|
||||||
|
# - For uniqueness, we stay away from the Solarized foreground colors are -- either
|
||||||
|
# base00 (brightyellow) or base0 (brighblue). However, they can be used if
|
||||||
|
# you know what the bg/fg colors of your terminal are, in order to optimize the display.
|
||||||
|
# - 3 different options are provided: universal, solarized dark, and solarized light.
|
||||||
|
# The only difference between the universal scheme and one that's optimized for
|
||||||
|
# dark/light is the color of "unimportant" files, which should blend more with the
|
||||||
|
# background
|
||||||
|
# - We note that blue is the hardest color to see on dark bg and yellow is the hardest
|
||||||
|
# color to see on light bg (with blue being particularly bad). So we choose yellow
|
||||||
|
# for multimedia files which are usually accessed in a GUI folder browser anyway.
|
||||||
|
# And blue is kept for custom use of this scheme's user.
|
||||||
|
# - See table below to see the assignments.
|
||||||
|
|
||||||
|
|
||||||
|
# Installation instructions:
|
||||||
|
# This file goes in the /etc directory, and must be world readable.
|
||||||
|
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||||
|
# the system defaults.
|
||||||
|
|
||||||
|
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
|
||||||
|
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
|
||||||
|
# off.
|
||||||
|
COLOR tty
|
||||||
|
|
||||||
|
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||||
|
TERM ansi
|
||||||
|
TERM color_xterm
|
||||||
|
TERM color-xterm
|
||||||
|
TERM con132x25
|
||||||
|
TERM con132x30
|
||||||
|
TERM con132x43
|
||||||
|
TERM con132x60
|
||||||
|
TERM con80x25
|
||||||
|
TERM con80x28
|
||||||
|
TERM con80x30
|
||||||
|
TERM con80x43
|
||||||
|
TERM con80x50
|
||||||
|
TERM con80x60
|
||||||
|
TERM cons25
|
||||||
|
TERM console
|
||||||
|
TERM cygwin
|
||||||
|
TERM dtterm
|
||||||
|
TERM dvtm
|
||||||
|
TERM dvtm-256color
|
||||||
|
TERM Eterm
|
||||||
|
TERM eterm-color
|
||||||
|
TERM fbterm
|
||||||
|
TERM gnome
|
||||||
|
TERM gnome-256color
|
||||||
|
TERM jfbterm
|
||||||
|
TERM konsole
|
||||||
|
TERM konsole-256color
|
||||||
|
TERM kterm
|
||||||
|
TERM linux
|
||||||
|
TERM linux-c
|
||||||
|
TERM mach-color
|
||||||
|
TERM mlterm
|
||||||
|
TERM nxterm
|
||||||
|
TERM putty
|
||||||
|
TERM putty-256color
|
||||||
|
TERM rxvt
|
||||||
|
TERM rxvt-256color
|
||||||
|
TERM rxvt-cygwin
|
||||||
|
TERM rxvt-cygwin-native
|
||||||
|
TERM rxvt-unicode
|
||||||
|
TERM rxvt-unicode256
|
||||||
|
TERM rxvt-unicode-256color
|
||||||
|
TERM screen
|
||||||
|
TERM screen-16color
|
||||||
|
TERM screen-16color-bce
|
||||||
|
TERM screen-16color-s
|
||||||
|
TERM screen-16color-bce-s
|
||||||
|
TERM screen-256color
|
||||||
|
TERM screen-256color-bce
|
||||||
|
TERM screen-256color-s
|
||||||
|
TERM screen-256color-bce-s
|
||||||
|
TERM screen-256color-italic
|
||||||
|
TERM screen-bce
|
||||||
|
TERM screen-w
|
||||||
|
TERM screen.linux
|
||||||
|
TERM screen.xterm-new
|
||||||
|
TERM st
|
||||||
|
TERM st-meta
|
||||||
|
TERM st-256color
|
||||||
|
TERM st-meta-256color
|
||||||
|
TERM vt100
|
||||||
|
TERM xterm
|
||||||
|
TERM xterm-new
|
||||||
|
TERM xterm-16color
|
||||||
|
TERM xterm-256color
|
||||||
|
TERM xterm-256color-italic
|
||||||
|
TERM xterm-88color
|
||||||
|
TERM xterm-color
|
||||||
|
TERM xterm-debian
|
||||||
|
TERM xterm-termite
|
||||||
|
|
||||||
|
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
||||||
|
EIGHTBIT 1
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# Below are the color init strings for the basic file types. A color init
|
||||||
|
# string consists of one or more of the following numeric codes:
|
||||||
|
#
|
||||||
|
# Attribute codes:
|
||||||
|
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||||
|
# Text color codes:
|
||||||
|
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||||
|
# Background color codes:
|
||||||
|
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||||
|
#
|
||||||
|
# NOTES:
|
||||||
|
# - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html
|
||||||
|
# - Color combinations
|
||||||
|
# ANSI Color code Solarized Notes Universal SolDark SolLight
|
||||||
|
# ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~
|
||||||
|
# 00 none NORMAL, FILE <SAME> <SAME>
|
||||||
|
# 30 black base02
|
||||||
|
# 01;30 bright black base03 bg of SolDark
|
||||||
|
# 31 red red docs & mm src <SAME> <SAME>
|
||||||
|
# 01;31 bright red orange EXEC <SAME> <SAME>
|
||||||
|
# 32 green green editable text <SAME> <SAME>
|
||||||
|
# 01;32 bright green base01 unimportant text <SAME>
|
||||||
|
# 33 yellow yellow unclear in light bg multimedia <SAME> <SAME>
|
||||||
|
# 01;33 bright yellow base00 fg of SolLight unimportant non-text
|
||||||
|
# 34 blue blue unclear in dark bg user customized <SAME> <SAME>
|
||||||
|
# 01;34 bright blue base0 fg in SolDark unimportant text
|
||||||
|
# 35 magenta magenta LINK <SAME> <SAME>
|
||||||
|
# 01;35 bright magenta violet archive/compressed <SAME> <SAME>
|
||||||
|
# 36 cyan cyan DIR <SAME> <SAME>
|
||||||
|
# 01;36 bright cyan base1 unimportant non-text <SAME>
|
||||||
|
# 37 white base2
|
||||||
|
# 01;37 bright white base3 bg in SolLight
|
||||||
|
# 05;37;41 unclear in Putty dark
|
||||||
|
|
||||||
|
|
||||||
|
### By file type
|
||||||
|
|
||||||
|
# global default
|
||||||
|
NORMAL 00
|
||||||
|
# normal file
|
||||||
|
FILE 00
|
||||||
|
# directory
|
||||||
|
DIR 34
|
||||||
|
# 777 directory
|
||||||
|
OTHER_WRITABLE 34;40
|
||||||
|
# symbolic link
|
||||||
|
LINK 35
|
||||||
|
|
||||||
|
# pipe, socket, block device, character device (blue bg)
|
||||||
|
FIFO 30;44
|
||||||
|
SOCK 35;44
|
||||||
|
DOOR 35;44 # Solaris 2.5 and later
|
||||||
|
BLK 33;44
|
||||||
|
CHR 37;44
|
||||||
|
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
### By file attributes
|
||||||
|
|
||||||
|
# Orphaned symlinks (blinking white on red)
|
||||||
|
# Blink may or may not work (works on iTerm dark or light, and Putty dark)
|
||||||
|
ORPHAN 05;37;41
|
||||||
|
# ... and the files that orphaned symlinks point to (blinking white on red)
|
||||||
|
MISSING 05;37;41
|
||||||
|
|
||||||
|
# files with execute permission
|
||||||
|
EXEC 01;31 # Unix
|
||||||
|
.cmd 01;31 # Win
|
||||||
|
.exe 01;31 # Win
|
||||||
|
.com 01;31 # Win
|
||||||
|
.bat 01;31 # Win
|
||||||
|
.reg 01;31 # Win
|
||||||
|
.app 01;31 # OSX
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
### By extension
|
||||||
|
|
||||||
|
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||||
|
# to colorize below. Put the extension, a space, and the color init string.
|
||||||
|
# (and any comments you want to add after a '#')
|
||||||
|
|
||||||
|
### Text formats
|
||||||
|
|
||||||
|
# Text that we can edit with a regular editor
|
||||||
|
.txt 32
|
||||||
|
.org 32
|
||||||
|
.md 32
|
||||||
|
.mkd 32
|
||||||
|
|
||||||
|
# Source text
|
||||||
|
.h 32
|
||||||
|
.c 32
|
||||||
|
.C 32
|
||||||
|
.cc 32
|
||||||
|
.cpp 32
|
||||||
|
.cxx 32
|
||||||
|
.objc 32
|
||||||
|
.sh 32
|
||||||
|
.csh 32
|
||||||
|
.zsh 32
|
||||||
|
.el 32
|
||||||
|
.vim 32
|
||||||
|
.java 32
|
||||||
|
.pl 32
|
||||||
|
.pm 32
|
||||||
|
.py 32
|
||||||
|
.rb 32
|
||||||
|
.hs 32
|
||||||
|
.php 32
|
||||||
|
.htm 32
|
||||||
|
.html 32
|
||||||
|
.shtml 32
|
||||||
|
.erb 32
|
||||||
|
.haml 32
|
||||||
|
.xml 32
|
||||||
|
.rdf 32
|
||||||
|
.css 32
|
||||||
|
.sass 32
|
||||||
|
.scss 32
|
||||||
|
.less 32
|
||||||
|
.js 32
|
||||||
|
.coffee 32
|
||||||
|
.man 32
|
||||||
|
.0 32
|
||||||
|
.1 32
|
||||||
|
.2 32
|
||||||
|
.3 32
|
||||||
|
.4 32
|
||||||
|
.5 32
|
||||||
|
.6 32
|
||||||
|
.7 32
|
||||||
|
.8 32
|
||||||
|
.9 32
|
||||||
|
.l 32
|
||||||
|
.n 32
|
||||||
|
.p 32
|
||||||
|
.pod 32
|
||||||
|
.tex 32
|
||||||
|
.go 32
|
||||||
|
|
||||||
|
### Multimedia formats
|
||||||
|
|
||||||
|
# Image
|
||||||
|
.bmp 33
|
||||||
|
.cgm 33
|
||||||
|
.dl 33
|
||||||
|
.dvi 33
|
||||||
|
.emf 33
|
||||||
|
.eps 33
|
||||||
|
.gif 33
|
||||||
|
.jpeg 33
|
||||||
|
.jpg 33
|
||||||
|
.JPG 33
|
||||||
|
.mng 33
|
||||||
|
.pbm 33
|
||||||
|
.pcx 33
|
||||||
|
.pdf 33
|
||||||
|
.pgm 33
|
||||||
|
.png 33
|
||||||
|
.PNG 33
|
||||||
|
.ppm 33
|
||||||
|
.pps 33
|
||||||
|
.ppsx 33
|
||||||
|
.ps 33
|
||||||
|
.svg 33
|
||||||
|
.svgz 33
|
||||||
|
.tga 33
|
||||||
|
.tif 33
|
||||||
|
.tiff 33
|
||||||
|
.xbm 33
|
||||||
|
.xcf 33
|
||||||
|
.xpm 33
|
||||||
|
.xwd 33
|
||||||
|
.xwd 33
|
||||||
|
.yuv 33
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
.aac 33
|
||||||
|
.au 33
|
||||||
|
.flac 33
|
||||||
|
.m4a 33
|
||||||
|
.mid 33
|
||||||
|
.midi 33
|
||||||
|
.mka 33
|
||||||
|
.mp3 33
|
||||||
|
.mpa 33
|
||||||
|
.mpeg 33
|
||||||
|
.mpg 33
|
||||||
|
.ogg 33
|
||||||
|
.ra 33
|
||||||
|
.wav 33
|
||||||
|
|
||||||
|
# Video
|
||||||
|
.anx 33
|
||||||
|
.asf 33
|
||||||
|
.avi 33
|
||||||
|
.axv 33
|
||||||
|
.flc 33
|
||||||
|
.fli 33
|
||||||
|
.flv 33
|
||||||
|
.gl 33
|
||||||
|
.m2v 33
|
||||||
|
.m4v 33
|
||||||
|
.mkv 33
|
||||||
|
.mov 33
|
||||||
|
.MOV 33
|
||||||
|
.mp4 33
|
||||||
|
.mp4v 33
|
||||||
|
.mpeg 33
|
||||||
|
.mpg 33
|
||||||
|
.nuv 33
|
||||||
|
.ogm 33
|
||||||
|
.ogv 33
|
||||||
|
.ogx 33
|
||||||
|
.qt 33
|
||||||
|
.rm 33
|
||||||
|
.rmvb 33
|
||||||
|
.swf 33
|
||||||
|
.vob 33
|
||||||
|
.webm 33
|
||||||
|
.wmv 33
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
|
||||||
|
# Binary document formats and multimedia source
|
||||||
|
.doc 31
|
||||||
|
.docx 31
|
||||||
|
.rtf 31
|
||||||
|
.dot 31
|
||||||
|
.dotx 31
|
||||||
|
.xls 31
|
||||||
|
.xlsx 31
|
||||||
|
.ppt 31
|
||||||
|
.pptx 31
|
||||||
|
.fla 31
|
||||||
|
.psd 31
|
||||||
|
|
||||||
|
# Archives, compressed
|
||||||
|
.7z 1;35
|
||||||
|
.apk 1;35
|
||||||
|
.arj 1;35
|
||||||
|
.bin 1;35
|
||||||
|
.bz 1;35
|
||||||
|
.bz2 1;35
|
||||||
|
.cab 1;35 # Win
|
||||||
|
.deb 1;35
|
||||||
|
.dmg 1;35 # OSX
|
||||||
|
.gem 1;35
|
||||||
|
.gz 1;35
|
||||||
|
.iso 1;35
|
||||||
|
.jar 1;35
|
||||||
|
.msi 1;35 # Win
|
||||||
|
.rar 1;35
|
||||||
|
.rpm 1;35
|
||||||
|
.tar 1;35
|
||||||
|
.tbz 1;35
|
||||||
|
.tbz2 1;35
|
||||||
|
.tgz 1;35
|
||||||
|
.tx 1;35
|
||||||
|
.war 1;35
|
||||||
|
.xpi 1;35
|
||||||
|
.xz 1;35
|
||||||
|
.z 1;35
|
||||||
|
.Z 1;35
|
||||||
|
.zip 1;35
|
||||||
|
|
||||||
|
# For testing
|
||||||
|
.ANSI-30-black 30
|
||||||
|
.ANSI-01;30-brblack 01;30
|
||||||
|
.ANSI-31-red 31
|
||||||
|
.ANSI-01;31-brred 01;31
|
||||||
|
.ANSI-32-green 32
|
||||||
|
.ANSI-01;32-brgreen 01;32
|
||||||
|
.ANSI-33-yellow 33
|
||||||
|
.ANSI-01;33-bryellow 01;33
|
||||||
|
.ANSI-34-blue 34
|
||||||
|
.ANSI-01;34-brblue 01;34
|
||||||
|
.ANSI-35-magenta 35
|
||||||
|
.ANSI-01;35-brmagenta 01;35
|
||||||
|
.ANSI-36-cyan 36
|
||||||
|
.ANSI-01;36-brcyan 01;36
|
||||||
|
.ANSI-37-white 37
|
||||||
|
.ANSI-01;37-brwhite 01;37
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# Your customizations
|
||||||
|
|
||||||
|
# Unimportant text files
|
||||||
|
# For universal scheme, use brightgreen 01;32
|
||||||
|
# For optimal on light bg (but too prominent on dark bg), use white 01;34
|
||||||
|
.log 01;32
|
||||||
|
*~ 01;32
|
||||||
|
*# 01;32
|
||||||
|
#.log 01;34
|
||||||
|
#*~ 01;34
|
||||||
|
#*# 01;34
|
||||||
|
|
||||||
|
# Unimportant non-text files
|
||||||
|
# For universal scheme, use brightcyan 01;36
|
||||||
|
# For optimal on dark bg (but too prominent on light bg), change to 01;33
|
||||||
|
#.bak 01;36
|
||||||
|
#.BAK 01;36
|
||||||
|
#.old 01;36
|
||||||
|
#.OLD 01;36
|
||||||
|
#.org_archive 01;36
|
||||||
|
#.off 01;36
|
||||||
|
#.OFF 01;36
|
||||||
|
#.dist 01;36
|
||||||
|
#.DIST 01;36
|
||||||
|
#.orig 01;36
|
||||||
|
#.ORIG 01;36
|
||||||
|
#.swp 01;36
|
||||||
|
#.swo 01;36
|
||||||
|
#*,v 01;36
|
||||||
|
.bak 01;33
|
||||||
|
.BAK 01;33
|
||||||
|
.old 01;33
|
||||||
|
.OLD 01;33
|
||||||
|
.org_archive 01;33
|
||||||
|
.off 01;33
|
||||||
|
.OFF 01;33
|
||||||
|
.dist 01;33
|
||||||
|
.DIST 01;33
|
||||||
|
.orig 01;33
|
||||||
|
.ORIG 01;33
|
||||||
|
.swp 01;33
|
||||||
|
.swo 01;33
|
||||||
|
*,v 01;33
|
||||||
|
|
||||||
|
# The brightmagenta (Solarized: purple) color is free for you to use for your
|
||||||
|
# custom file type
|
||||||
|
.gpg 34
|
||||||
|
.gpg 34
|
||||||
|
.pgp 34
|
||||||
|
.asc 34
|
||||||
|
.3des 34
|
||||||
|
.aes 34
|
||||||
|
.enc 34
|
||||||
|
.sqlite 34
|
458
dircolors/solarized-light
Executable file
458
dircolors/solarized-light
Executable file
|
@ -0,0 +1,458 @@
|
||||||
|
# Exact Solarized Light color theme for the color GNU ls utility.
|
||||||
|
# Designed for dircolors (GNU coreutils) 5.97
|
||||||
|
#
|
||||||
|
# This simple theme was simultaneously designed for these terminal color schemes:
|
||||||
|
# - Solarized dark
|
||||||
|
# - Solarized light (best)
|
||||||
|
# - default dark
|
||||||
|
# - default light
|
||||||
|
# with a slight optimization for Solarized Light.
|
||||||
|
#
|
||||||
|
# How the colors were selected:
|
||||||
|
# - Terminal emulators often have an option typically enabled by default that makes
|
||||||
|
# bold a different color. It is important to leave this option enabled so that
|
||||||
|
# you can access the entire 16-color Solarized palette, and not just 8 colors.
|
||||||
|
# - We favor universality over a greater number of colors. So we limit the number
|
||||||
|
# of colors so that this theme will work out of the box in all terminals,
|
||||||
|
# Solarized or not, dark or light.
|
||||||
|
# - We choose to have the following category of files:
|
||||||
|
# NORMAL & FILE, DIR, LINK, EXEC and
|
||||||
|
# editable text including source, unimportant text, binary docs & multimedia source
|
||||||
|
# files, viewable multimedia, archived/compressed, and unimportant non-text
|
||||||
|
# - For uniqueness, we stay away from the Solarized foreground colors are -- either
|
||||||
|
# base00 (brightyellow) or base0 (brighblue). However, they can be used if
|
||||||
|
# you know what the bg/fg colors of your terminal are, in order to optimize the display.
|
||||||
|
# - 3 different options are provided: universal, solarized dark, and solarized light.
|
||||||
|
# The only difference between the universal scheme and one that's optimized for
|
||||||
|
# dark/light is the color of "unimportant" files, which should blend more with the
|
||||||
|
# background
|
||||||
|
# - We note that blue is the hardest color to see on dark bg and yellow is the hardest
|
||||||
|
# color to see on light bg (with blue being particularly bad). So we choose yellow
|
||||||
|
# for multimedia files which are usually accessed in a GUI folder browser anyway.
|
||||||
|
# And blue is kept for custom use of this scheme's user.
|
||||||
|
# - See table below to see the assignments.
|
||||||
|
|
||||||
|
|
||||||
|
# Insatllation instructions:
|
||||||
|
# This file goes in the /etc directory, and must be world readable.
|
||||||
|
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||||
|
# the system defaults.
|
||||||
|
|
||||||
|
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
|
||||||
|
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
|
||||||
|
# off.
|
||||||
|
COLOR tty
|
||||||
|
|
||||||
|
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||||
|
TERM ansi
|
||||||
|
TERM color_xterm
|
||||||
|
TERM color-xterm
|
||||||
|
TERM con132x25
|
||||||
|
TERM con132x30
|
||||||
|
TERM con132x43
|
||||||
|
TERM con132x60
|
||||||
|
TERM con80x25
|
||||||
|
TERM con80x28
|
||||||
|
TERM con80x30
|
||||||
|
TERM con80x43
|
||||||
|
TERM con80x50
|
||||||
|
TERM con80x60
|
||||||
|
TERM cons25
|
||||||
|
TERM console
|
||||||
|
TERM cygwin
|
||||||
|
TERM dtterm
|
||||||
|
TERM dvtm
|
||||||
|
TERM dvtm-256color
|
||||||
|
TERM Eterm
|
||||||
|
TERM eterm-color
|
||||||
|
TERM fbterm
|
||||||
|
TERM gnome
|
||||||
|
TERM gnome-256color
|
||||||
|
TERM jfbterm
|
||||||
|
TERM konsole
|
||||||
|
TERM konsole-256color
|
||||||
|
TERM kterm
|
||||||
|
TERM linux
|
||||||
|
TERM linux-c
|
||||||
|
TERM mach-color
|
||||||
|
TERM mlterm
|
||||||
|
TERM nxterm
|
||||||
|
TERM putty
|
||||||
|
TERM putty-256color
|
||||||
|
TERM rxvt
|
||||||
|
TERM rxvt-256color
|
||||||
|
TERM rxvt-cygwin
|
||||||
|
TERM rxvt-cygwin-native
|
||||||
|
TERM rxvt-unicode
|
||||||
|
TERM rxvt-unicode256
|
||||||
|
TERM rxvt-unicode-256color
|
||||||
|
TERM screen
|
||||||
|
TERM screen-16color
|
||||||
|
TERM screen-16color-bce
|
||||||
|
TERM screen-16color-s
|
||||||
|
TERM screen-16color-bce-s
|
||||||
|
TERM screen-256color
|
||||||
|
TERM screen-256color-bce
|
||||||
|
TERM screen-256color-s
|
||||||
|
TERM screen-256color-bce-s
|
||||||
|
TERM screen-256color-italic
|
||||||
|
TERM screen-bce
|
||||||
|
TERM screen-w
|
||||||
|
TERM screen.linux
|
||||||
|
TERM screen.xterm-new
|
||||||
|
TERM st
|
||||||
|
TERM st-meta
|
||||||
|
TERM st-256color
|
||||||
|
TERM st-meta-256color
|
||||||
|
TERM vt100
|
||||||
|
TERM xterm
|
||||||
|
TERM xterm-new
|
||||||
|
TERM xterm-16color
|
||||||
|
TERM xterm-256color
|
||||||
|
TERM xterm-256color-italic
|
||||||
|
TERM xterm-88color
|
||||||
|
TERM xterm-color
|
||||||
|
TERM xterm-debian
|
||||||
|
TERM xterm-termite
|
||||||
|
|
||||||
|
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
||||||
|
EIGHTBIT 1
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# Below are the color init strings for the basic file types. A color init
|
||||||
|
# string consists of one or more of the following numeric codes:
|
||||||
|
#
|
||||||
|
# Attribute codes:
|
||||||
|
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||||
|
# Text color codes:
|
||||||
|
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||||
|
# Background color codes:
|
||||||
|
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||||
|
#
|
||||||
|
# NOTES:
|
||||||
|
# - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html
|
||||||
|
# - Color combinations
|
||||||
|
# ANSI Color code Solarized Notes Universal SolDark SolLight
|
||||||
|
# ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~
|
||||||
|
# 00 none NORMAL, FILE <SAME> <SAME>
|
||||||
|
# 30 black base02
|
||||||
|
# 01;30 bright black base03 bg of SolDark
|
||||||
|
# 31 red red docs & mm src <SAME> <SAME>
|
||||||
|
# 01;31 bright red orange EXEC <SAME> <SAME>
|
||||||
|
# 32 green green editable text <SAME> <SAME>
|
||||||
|
# 01;32 bright green base01 unimportant text <SAME>
|
||||||
|
# 33 yellow yellow unclear in light bg multimedia <SAME> <SAME>
|
||||||
|
# 01;33 bright yellow base00 fg of SolLight unimportant non-text
|
||||||
|
# 34 blue blue unclear in dark bg user customized <SAME> <SAME>
|
||||||
|
# 01;34 bright blue base0 fg in SolDark unimportant text
|
||||||
|
# 35 magenta magenta LINK <SAME> <SAME>
|
||||||
|
# 01;35 bright magenta violet archive/compressed <SAME> <SAME>
|
||||||
|
# 36 cyan cyan DIR <SAME> <SAME>
|
||||||
|
# 01;36 bright cyan base1 unimportant non-text <SAME>
|
||||||
|
# 37 white base2
|
||||||
|
# 01;37 bright white base3 bg in SolLight
|
||||||
|
# 05;37;41 unclear in Putty dark
|
||||||
|
|
||||||
|
|
||||||
|
### By file type
|
||||||
|
|
||||||
|
# global default
|
||||||
|
NORMAL 00
|
||||||
|
# normal file
|
||||||
|
FILE 00
|
||||||
|
# directory
|
||||||
|
DIR 36
|
||||||
|
# symbolic link
|
||||||
|
LINK 35
|
||||||
|
|
||||||
|
# pipe, socket, block device, character device (blue bg)
|
||||||
|
FIFO 30;44
|
||||||
|
SOCK 35;44
|
||||||
|
DOOR 35;44 # Solaris 2.5 and later
|
||||||
|
BLK 33;44
|
||||||
|
CHR 37;44
|
||||||
|
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
### By file attributes
|
||||||
|
|
||||||
|
# Orphaned symlinks (blinking white on red)
|
||||||
|
# Blink may or may not work (works on iTerm dark or light, and Putty dark)
|
||||||
|
ORPHAN 05;37;41
|
||||||
|
# ... and the files that orphaned symlinks point to (blinking white on red)
|
||||||
|
MISSING 05;37;41
|
||||||
|
|
||||||
|
# files with execute permission
|
||||||
|
EXEC 01;31 # Unix
|
||||||
|
.cmd 01;31 # Win
|
||||||
|
.exe 01;31 # Win
|
||||||
|
.com 01;31 # Win
|
||||||
|
.bat 01;31 # Win
|
||||||
|
.reg 01;31 # Win
|
||||||
|
.app 01;31 # OSX
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
### By extension
|
||||||
|
|
||||||
|
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||||
|
# to colorize below. Put the extension, a space, and the color init string.
|
||||||
|
# (and any comments you want to add after a '#')
|
||||||
|
|
||||||
|
### Text formats
|
||||||
|
|
||||||
|
# Text that we can edit with a regular editor
|
||||||
|
.txt 32
|
||||||
|
.org 32
|
||||||
|
.md 32
|
||||||
|
.mkd 32
|
||||||
|
|
||||||
|
# Source text
|
||||||
|
.h 32
|
||||||
|
.c 32
|
||||||
|
.C 32
|
||||||
|
.cc 32
|
||||||
|
.cpp 32
|
||||||
|
.cxx 32
|
||||||
|
.objc 32
|
||||||
|
.sh 32
|
||||||
|
.csh 32
|
||||||
|
.zsh 32
|
||||||
|
.el 32
|
||||||
|
.vim 32
|
||||||
|
.java 32
|
||||||
|
.pl 32
|
||||||
|
.pm 32
|
||||||
|
.py 32
|
||||||
|
.rb 32
|
||||||
|
.hs 32
|
||||||
|
.php 32
|
||||||
|
.htm 32
|
||||||
|
.html 32
|
||||||
|
.shtml 32
|
||||||
|
.erb 32
|
||||||
|
.haml 32
|
||||||
|
.xml 32
|
||||||
|
.rdf 32
|
||||||
|
.css 32
|
||||||
|
.sass 32
|
||||||
|
.scss 32
|
||||||
|
.less 32
|
||||||
|
.js 32
|
||||||
|
.coffee 32
|
||||||
|
.man 32
|
||||||
|
.0 32
|
||||||
|
.1 32
|
||||||
|
.2 32
|
||||||
|
.3 32
|
||||||
|
.4 32
|
||||||
|
.5 32
|
||||||
|
.6 32
|
||||||
|
.7 32
|
||||||
|
.8 32
|
||||||
|
.9 32
|
||||||
|
.l 32
|
||||||
|
.n 32
|
||||||
|
.p 32
|
||||||
|
.pod 32
|
||||||
|
.tex 32
|
||||||
|
.go 32
|
||||||
|
|
||||||
|
### Multimedia formats
|
||||||
|
|
||||||
|
# Image
|
||||||
|
.bmp 33
|
||||||
|
.cgm 33
|
||||||
|
.dl 33
|
||||||
|
.dvi 33
|
||||||
|
.emf 33
|
||||||
|
.eps 33
|
||||||
|
.gif 33
|
||||||
|
.jpeg 33
|
||||||
|
.jpg 33
|
||||||
|
.JPG 33
|
||||||
|
.mng 33
|
||||||
|
.pbm 33
|
||||||
|
.pcx 33
|
||||||
|
.pdf 33
|
||||||
|
.pgm 33
|
||||||
|
.png 33
|
||||||
|
.PNG 33
|
||||||
|
.ppm 33
|
||||||
|
.pps 33
|
||||||
|
.ppsx 33
|
||||||
|
.ps 33
|
||||||
|
.svg 33
|
||||||
|
.svgz 33
|
||||||
|
.tga 33
|
||||||
|
.tif 33
|
||||||
|
.tiff 33
|
||||||
|
.xbm 33
|
||||||
|
.xcf 33
|
||||||
|
.xpm 33
|
||||||
|
.xwd 33
|
||||||
|
.xwd 33
|
||||||
|
.yuv 33
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
.aac 33
|
||||||
|
.au 33
|
||||||
|
.flac 33
|
||||||
|
.m4a 33
|
||||||
|
.mid 33
|
||||||
|
.midi 33
|
||||||
|
.mka 33
|
||||||
|
.mp3 33
|
||||||
|
.mpa 33
|
||||||
|
.mpeg 33
|
||||||
|
.mpg 33
|
||||||
|
.ogg 33
|
||||||
|
.ra 33
|
||||||
|
.wav 33
|
||||||
|
|
||||||
|
# Video
|
||||||
|
.anx 33
|
||||||
|
.asf 33
|
||||||
|
.avi 33
|
||||||
|
.axv 33
|
||||||
|
.flc 33
|
||||||
|
.fli 33
|
||||||
|
.flv 33
|
||||||
|
.gl 33
|
||||||
|
.m2v 33
|
||||||
|
.m4v 33
|
||||||
|
.mkv 33
|
||||||
|
.mov 33
|
||||||
|
.MOV 33
|
||||||
|
.mp4 33
|
||||||
|
.mp4v 33
|
||||||
|
.mpeg 33
|
||||||
|
.mpg 33
|
||||||
|
.nuv 33
|
||||||
|
.ogm 33
|
||||||
|
.ogv 33
|
||||||
|
.ogx 33
|
||||||
|
.qt 33
|
||||||
|
.rm 33
|
||||||
|
.rmvb 33
|
||||||
|
.swf 33
|
||||||
|
.vob 33
|
||||||
|
.webm 33
|
||||||
|
.wmv 33
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
|
||||||
|
# Binary document formats and multimedia source
|
||||||
|
.doc 31
|
||||||
|
.docx 31
|
||||||
|
.rtf 31
|
||||||
|
.dot 31
|
||||||
|
.dotx 31
|
||||||
|
.xls 31
|
||||||
|
.xlsx 31
|
||||||
|
.ppt 31
|
||||||
|
.pptx 31
|
||||||
|
.fla 31
|
||||||
|
.psd 31
|
||||||
|
|
||||||
|
# Archives, compressed
|
||||||
|
.7z 1;35
|
||||||
|
.apk 1;35
|
||||||
|
.arj 1;35
|
||||||
|
.bin 1;35
|
||||||
|
.bz 1;35
|
||||||
|
.bz2 1;35
|
||||||
|
.cab 1;35 # Win
|
||||||
|
.deb 1;35
|
||||||
|
.dmg 1;35 # OSX
|
||||||
|
.gem 1;35
|
||||||
|
.gz 1;35
|
||||||
|
.iso 1;35
|
||||||
|
.jar 1;35
|
||||||
|
.msi 1;35 # Win
|
||||||
|
.rar 1;35
|
||||||
|
.rpm 1;35
|
||||||
|
.tar 1;35
|
||||||
|
.tbz 1;35
|
||||||
|
.tbz2 1;35
|
||||||
|
.tgz 1;35
|
||||||
|
.tx 1;35
|
||||||
|
.war 1;35
|
||||||
|
.xpi 1;35
|
||||||
|
.xz 1;35
|
||||||
|
.z 1;35
|
||||||
|
.Z 1;35
|
||||||
|
.zip 1;35
|
||||||
|
|
||||||
|
# For testing
|
||||||
|
.ANSI-30-black 30
|
||||||
|
.ANSI-01;30-brblack 01;30
|
||||||
|
.ANSI-31-red 31
|
||||||
|
.ANSI-01;31-brred 01;31
|
||||||
|
.ANSI-32-green 32
|
||||||
|
.ANSI-01;32-brgreen 01;32
|
||||||
|
.ANSI-33-yellow 33
|
||||||
|
.ANSI-01;33-bryellow 01;33
|
||||||
|
.ANSI-34-blue 34
|
||||||
|
.ANSI-01;34-brblue 01;34
|
||||||
|
.ANSI-35-magenta 35
|
||||||
|
.ANSI-01;35-brmagenta 01;35
|
||||||
|
.ANSI-36-cyan 36
|
||||||
|
.ANSI-01;36-brcyan 01;36
|
||||||
|
.ANSI-37-white 37
|
||||||
|
.ANSI-01;37-brwhite 01;37
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# Your customizations
|
||||||
|
|
||||||
|
# Unimportant text files
|
||||||
|
# For universal scheme, use brightgreen 01;32
|
||||||
|
# For optimal on light bg (but too prominent on dark bg), use white 01;34
|
||||||
|
#.log 01;32
|
||||||
|
#*~ 01;32
|
||||||
|
#*# 01;32
|
||||||
|
.log 01;34
|
||||||
|
*~ 01;34
|
||||||
|
*# 01;34
|
||||||
|
|
||||||
|
# Unimportant non-text files
|
||||||
|
# For universal scheme, use brightcyan 01;36
|
||||||
|
# For optimal on dark bg (but too prominent on light bg), change to 01;33
|
||||||
|
.bak 01;36
|
||||||
|
.BAK 01;36
|
||||||
|
.old 01;36
|
||||||
|
.OLD 01;36
|
||||||
|
.org_archive 01;36
|
||||||
|
.off 01;36
|
||||||
|
.OFF 01;36
|
||||||
|
.dist 01;36
|
||||||
|
.DIST 01;36
|
||||||
|
.orig 01;36
|
||||||
|
.ORIG 01;36
|
||||||
|
.swp 01;36
|
||||||
|
.swo 01;36
|
||||||
|
*,v 01;36
|
||||||
|
#.bak 01;33
|
||||||
|
#.BAK 01;33
|
||||||
|
#.old 01;33
|
||||||
|
#.OLD 01;33
|
||||||
|
#.org_archive 01;33
|
||||||
|
#.off 01;33
|
||||||
|
#.OFF 01;33
|
||||||
|
#.dist 01;33
|
||||||
|
#.DIST 01;33
|
||||||
|
#.orig 01;33
|
||||||
|
#.ORIG 01;33
|
||||||
|
#.swp 01;33
|
||||||
|
#.swo 01;33
|
||||||
|
#*,v 01;33
|
||||||
|
|
||||||
|
# The brightmagenta (Solarized: purple) color is free for you to use for your
|
||||||
|
# custom file type
|
||||||
|
.gpg 34
|
||||||
|
.gpg 34
|
||||||
|
.pgp 34
|
||||||
|
.asc 34
|
||||||
|
.3des 34
|
||||||
|
.aes 34
|
||||||
|
.enc 34
|
||||||
|
.sqlite 34
|
1
git_template/description
Normal file
1
git_template/description
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Unnamed repository; edit this file 'description' to name the repository.
|
6
git_template/hooks/ctags
Executable file
6
git_template/hooks/ctags
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
dir="$(git rev-parse --git-dir)"
|
||||||
|
trap 'rm -f "$dir/$$.tags"' EXIT
|
||||||
|
git ls-files | "${CTAGS:-ctags}" --tag-relative -L - -f "$dir/$$.tags"
|
||||||
|
mv "$dir/$$.tags" "$dir/tags"
|
2
git_template/hooks/post-checkout
Executable file
2
git_template/hooks/post-checkout
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
.git/hooks/ctags >/dev/null 2>&1 &
|
2
git_template/hooks/post-commit
Executable file
2
git_template/hooks/post-commit
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
.git/hooks/ctags >/dev/null 2>&1 &
|
2
git_template/hooks/post-merge
Executable file
2
git_template/hooks/post-merge
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
.git/hooks/ctags >/dev/null 2>&1 &
|
6
git_template/info/exclude
Normal file
6
git_template/info/exclude
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# git ls-files --others --exclude-from=.git/info/exclude
|
||||||
|
# Lines that start with '#' are comments.
|
||||||
|
# For a project mostly in C, the following would be a good set of
|
||||||
|
# exclude patterns (uncomment them if you want to use them):
|
||||||
|
# *.[oa]
|
||||||
|
# *~
|
47
gitconfig
Normal file
47
gitconfig
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
[init]
|
||||||
|
templatedir = ~/.git_template
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
a = add
|
||||||
|
aa = add --all
|
||||||
|
aliases = "!git config --list | grep alias | cut -c 7-"
|
||||||
|
b = branch
|
||||||
|
ba = branch --all
|
||||||
|
bd = branch --delete
|
||||||
|
cm = commit
|
||||||
|
co = checkout
|
||||||
|
cob = checkout -b
|
||||||
|
d = diff
|
||||||
|
dc = diff --cached
|
||||||
|
l = log --graph --format='%C(auto)%h%d %s %C(blue)(%ar)'
|
||||||
|
la = log --graph --format='%C(auto)%h%d %s %C(blue)(%ar)' --all
|
||||||
|
ll = log --graph --decorate --stat
|
||||||
|
lla = log --graph --decorate --stat --all
|
||||||
|
s = status --short
|
||||||
|
ss = status
|
||||||
|
sub = submodule
|
||||||
|
|
||||||
|
[core]
|
||||||
|
excludesfile = ~/.gitignore_global
|
||||||
|
editor = vim
|
||||||
|
trustctime = false # http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/
|
||||||
|
|
||||||
|
[push]
|
||||||
|
default = nothing
|
||||||
|
|
||||||
|
[color]
|
||||||
|
ui = auto
|
||||||
|
|
||||||
|
[color "diff"]
|
||||||
|
meta = blue
|
||||||
|
frag = bold magenta # violet in solarized
|
||||||
|
old = red
|
||||||
|
new = green
|
||||||
|
|
||||||
|
[color "status"]
|
||||||
|
added = green
|
||||||
|
changed = red
|
||||||
|
untracked = cyan
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig.local
|
14
gitignore_global
Normal file
14
gitignore_global
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Compiled Python files
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Folder view configuration files
|
||||||
|
.DS_Store
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Thumbnail cache files
|
||||||
|
._*
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Files that might appear on external disks
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
0
hushlogin
Normal file
0
hushlogin
Normal file
37
inputrc
Normal file
37
inputrc
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Make Tab autocomplete regardless of filename case
|
||||||
|
set completion-ignore-case on
|
||||||
|
|
||||||
|
# List all matches in case multiple possible completions are possible
|
||||||
|
set show-all-if-ambiguous on
|
||||||
|
|
||||||
|
# Immediately add a trailing slash when autocompleting symlinks to directories
|
||||||
|
set mark-symlinked-directories on
|
||||||
|
|
||||||
|
# Use the text that has already been typed as the prefix for searching through
|
||||||
|
# commands (i.e. more intelligent Up/Down behavior)
|
||||||
|
"\e[B": history-search-forward
|
||||||
|
"\e[A": history-search-backward
|
||||||
|
|
||||||
|
# Do not autocomplete hidden files unless the pattern explicitly begins with a dot
|
||||||
|
set match-hidden-files off
|
||||||
|
|
||||||
|
# Show all autocomplete results at once
|
||||||
|
set page-completions off
|
||||||
|
|
||||||
|
# If there are more than 200 possible completions for a word, ask to show them all
|
||||||
|
set completion-query-items 200
|
||||||
|
|
||||||
|
# Show extra file information when completing, like `ls -F` does
|
||||||
|
set visible-stats on
|
||||||
|
|
||||||
|
# Be more intelligent when autocompleting by also looking at the text after
|
||||||
|
# the cursor. For example, when the current line is "cd ~/src/mozil", and
|
||||||
|
# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
|
||||||
|
# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
|
||||||
|
# Readline used by Bash 4.)
|
||||||
|
set skip-completed-text on
|
||||||
|
|
||||||
|
# Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'
|
||||||
|
set input-meta on
|
||||||
|
set output-meta on
|
||||||
|
set convert-meta off
|
11
minttyrc
Normal file
11
minttyrc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
BoldAsFont=no
|
||||||
|
Charset=UTF-8
|
||||||
|
Columns=120
|
||||||
|
CursorType=underscore
|
||||||
|
Font=Consolas
|
||||||
|
FontHeight=9
|
||||||
|
Locale=en_US
|
||||||
|
Rows=60
|
||||||
|
Scrollbar=0
|
||||||
|
Term=xterm-256color
|
||||||
|
Transparency=off
|
3
rcrc
Normal file
3
rcrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# rcm config -> https://github.com/thoughtbot/rcm
|
||||||
|
EXCLUDES="resources"
|
||||||
|
SYMLINK_DIRS="dircolors git_template vim"
|
1
resources/Menlo-for-Powerline
Submodule
1
resources/Menlo-for-Powerline
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 07e91f66786b3755d99dcfe52b436cf1c2355f38
|
1
resources/powerline-consolas
Submodule
1
resources/powerline-consolas
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fe97c6dda5996ba6cfd00bdb82c8211e4ac2a544
|
213
resources/solarized-dark.itermcolors
Normal file
213
resources/solarized-dark.itermcolors
Normal file
|
@ -0,0 +1,213 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Ansi 0 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.19370138645172119</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.15575926005840302</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 1 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145714044570923</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.10840655118227005</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926977634429932</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 10 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.38298487663269043</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.35665956139564514</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.27671992778778076</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 11 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.43850564956665039</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.40717673301696777</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.32436618208885193</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 12 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.51685798168182373</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.50962930917739868</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44058024883270264</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 13 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.72908437252044678</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.33896297216415405</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.34798634052276611</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 14 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.56363654136657715</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.56485837697982788</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.50599193572998047</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 15 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.86405980587005615</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.95794391632080078</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.98943418264389038</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 2 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.020208755508065224</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.54115492105484009</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44977453351020813</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 3 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.023484811186790466</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.46751424670219421</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.64746475219726562</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 4 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.78231418132781982</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.46265947818756104</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.12754884362220764</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 5 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.43516635894775391</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.10802463442087173</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.77738940715789795</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 6 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.52502274513244629</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.57082360982894897</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.14679534733295441</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 7 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.79781103134155273</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.89001238346099854</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.91611063480377197</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 8 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.15170273184776306</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.11783610284328461</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 9 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.073530435562133789</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.21325300633907318</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.74176257848739624</real>
|
||||||
|
</dict>
|
||||||
|
<key>Background Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.15170273184776306</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.11783610284328461</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
</dict>
|
||||||
|
<key>Bold Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.56363654136657715</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.56485837697982788</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.50599193572998047</real>
|
||||||
|
</dict>
|
||||||
|
<key>Cursor Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145715534687042</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.108406662940979</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926965713500977</real>
|
||||||
|
</dict>
|
||||||
|
<key>Cursor Text Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145715534687042</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.108406662940979</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926965713500977</real>
|
||||||
|
</dict>
|
||||||
|
<key>Foreground Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.51685798168182373</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.50962930917739868</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44058024883270264</real>
|
||||||
|
</dict>
|
||||||
|
<key>Selected Text Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.79781091213226318</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.89001232385635376</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.9161105751991272</real>
|
||||||
|
</dict>
|
||||||
|
<key>Selection Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.38298481702804565</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.35665953159332275</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.27671992778778076</real>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
1599
resources/solarized-dark.terminal
Normal file
1599
resources/solarized-dark.terminal
Normal file
File diff suppressed because it is too large
Load diff
213
resources/solarized-light.itermcolors
Normal file
213
resources/solarized-light.itermcolors
Normal file
|
@ -0,0 +1,213 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Ansi 0 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.19370138645172119</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.15575926005840302</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 1 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145712554454803</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.10840645432472229</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926983594894409</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 10 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.38298487663269043</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.35665956139564514</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.27671992778778076</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 11 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.43850564956665039</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.40717673301696777</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.32436618208885193</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 12 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.51685798168182373</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.50962930917739868</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44058024883270264</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 13 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.72908437252044678</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.33896297216415405</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.34798634052276611</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 14 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.56363654136657715</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.56485837697982788</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.50599193572998047</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 15 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.86405980587005615</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.95794391632080078</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.98943418264389038</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 2 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.020208755508065224</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.54115492105484009</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44977453351020813</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 3 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.023484811186790466</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.46751424670219421</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.64746475219726562</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 4 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.78231418132781982</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.46265947818756104</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.12754884362220764</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 5 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.43516635894775391</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.10802463442087173</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.77738940715789795</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 6 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.52502274513244629</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.57082360982894897</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.14679534733295441</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 7 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.79781103134155273</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.89001238346099854</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.91611063480377197</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 8 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.15170273184776306</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.11783610284328461</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
</dict>
|
||||||
|
<key>Ansi 9 Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.073530435562133789</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.21325300633907318</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.74176257848739624</real>
|
||||||
|
</dict>
|
||||||
|
<key>Background Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.86405980587005615</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.95794391632080078</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.98943418264389038</real>
|
||||||
|
</dict>
|
||||||
|
<key>Bold Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.38298487663269043</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.35665956139564514</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.27671992778778076</real>
|
||||||
|
</dict>
|
||||||
|
<key>Cursor Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145715534687042</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.108406662940979</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926965713500977</real>
|
||||||
|
</dict>
|
||||||
|
<key>Cursor Text Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.14145715534687042</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.108406662940979</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.81926965713500977</real>
|
||||||
|
</dict>
|
||||||
|
<key>Foreground Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.43850564956665039</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.40717673301696777</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.32436618208885193</real>
|
||||||
|
</dict>
|
||||||
|
<key>Selected Text Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.79781091213226318</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.89001232385635376</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.9161105751991272</real>
|
||||||
|
</dict>
|
||||||
|
<key>Selection Color</key>
|
||||||
|
<dict>
|
||||||
|
<key>Blue Component</key>
|
||||||
|
<real>0.51685798168182373</real>
|
||||||
|
<key>Green Component</key>
|
||||||
|
<real>0.50962930917739868</real>
|
||||||
|
<key>Red Component</key>
|
||||||
|
<real>0.44058024883270264</real>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
1533
resources/solarized-light.terminal
Normal file
1533
resources/solarized-light.terminal
Normal file
File diff suppressed because it is too large
Load diff
67
tmux.conf
Normal file
67
tmux.conf
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
#
|
||||||
|
# Key bindings
|
||||||
|
#
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-a
|
||||||
|
|
||||||
|
bind | split-window -h
|
||||||
|
bind < split-window -h # | without shift on german keyboard
|
||||||
|
bind - split-window -v
|
||||||
|
bind x kill-pane
|
||||||
|
bind X kill-window
|
||||||
|
bind r source-file ~/.tmux.conf
|
||||||
|
bind . next-window
|
||||||
|
bind , previous-window
|
||||||
|
bind a send-key C-a # for nested tmux sessions
|
||||||
|
bind n command-prompt 'rename-window %%'
|
||||||
|
bind N command-prompt 'rename-session %%'
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
bind -r C-h resize-pane -L 5
|
||||||
|
bind -r C-j resize-pane -D 5
|
||||||
|
bind -r C-k resize-pane -U 5
|
||||||
|
bind -r C-l resize-pane -R 5
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# General
|
||||||
|
#
|
||||||
|
set -g base-index 1 # start window numbering from 1
|
||||||
|
set -g default-terminal "screen-256color" # display 256 colors
|
||||||
|
set -g history-limit 20000 # remember longer history
|
||||||
|
set -g mouse-resize-pane on # mouse can resize panes
|
||||||
|
set -g mouse-select-pane on # mouse can select panes
|
||||||
|
set -g mouse-select-window on # mouse can select windows
|
||||||
|
set -g status-utf8 on # use UTF-8
|
||||||
|
setw -g automatic-rename on # automatically rename windows
|
||||||
|
setw -g mode-mouse on # enable mouse for copying and scrolling
|
||||||
|
setw -g pane-base-index 1 # start pane numbering from 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# Status bar
|
||||||
|
#
|
||||||
|
set -g status-left-length 32
|
||||||
|
set -g status-right-length 32
|
||||||
|
set -g status-justify centre
|
||||||
|
set -g status-left ' #S ' # session name
|
||||||
|
set -g status-right ' %R %a %d %b ' # time, weekday, day & month
|
||||||
|
|
||||||
|
#
|
||||||
|
# Colors
|
||||||
|
#
|
||||||
|
# statusbar colors
|
||||||
|
set -g status-fg colour4 # Blue
|
||||||
|
set -g status-bg colour0 # Base02
|
||||||
|
|
||||||
|
# window title colors
|
||||||
|
setw -g window-status-fg colour12 # Base0
|
||||||
|
setw -g window-status-bg default
|
||||||
|
setw -g window-status-current-fg colour15 # Base3
|
||||||
|
setw -g window-status-current-bg default
|
||||||
|
|
||||||
|
# pane border
|
||||||
|
set -g pane-border-fg colour0 # Base02
|
||||||
|
set -g pane-active-border-fg colour9 # Orange
|
||||||
|
|
1
vim/bundle/Vundle.vim
Submodule
1
vim/bundle/Vundle.vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cfd3b2d388a8c2e9903d7a9d80a65539aabfe933
|
143
vimrc
Normal file
143
vimrc
Normal file
|
@ -0,0 +1,143 @@
|
||||||
|
set nocompatible
|
||||||
|
let mapleader = ","
|
||||||
|
|
||||||
|
" Vim options {{{
|
||||||
|
set background=dark " use dark background
|
||||||
|
set backspace=indent,eol,start " allow backspace over everything
|
||||||
|
set clipboard=unnamed " use system clipboard for yank/put/delete
|
||||||
|
set colorcolumn=80 " highlight column 80
|
||||||
|
set cursorline " highlight current line
|
||||||
|
set encoding=utf8 " use UTF-8 by default
|
||||||
|
set expandtab " expand <Tab> to spaces in Insert mode
|
||||||
|
set foldenable " enable folding
|
||||||
|
set foldlevelstart=100 " open all folds when opening
|
||||||
|
set foldmethod=syntax " fold based on syntax by default
|
||||||
|
set foldnestmax=10 " avoid folds too deeply nested
|
||||||
|
set formatoptions-=t " don't auto wrap when typing
|
||||||
|
set hidden " allow switch away from buffer w/o writing
|
||||||
|
set history=1000 " remember 1000 commnand lines
|
||||||
|
set hlsearch " highlight matches for last search pattern
|
||||||
|
set incsearch " show match for partly typed search command
|
||||||
|
set laststatus=2 " always show the status line
|
||||||
|
set lazyredraw " don't redraw when executing macros
|
||||||
|
set listchars=tab:▸\ ,trail:·,eol:¶
|
||||||
|
set nobackup " don't keep a backup after overwriting a file
|
||||||
|
set noshowmode " hide mode since it's shown in airline
|
||||||
|
set noswapfile " don't use swap files
|
||||||
|
set number " show line numbers
|
||||||
|
set scrolloff=7 " number of screen lines to show around the cursor
|
||||||
|
set shiftwidth=4 " number of spaces used for each step of (auto)indent
|
||||||
|
set showmatch " show matching brackets
|
||||||
|
set smartindent " do clever autoindenting
|
||||||
|
set smarttab " a <Tab> in an indent inserts 'shiftwidth' spaces
|
||||||
|
set splitbelow " new horizontal splits go below current
|
||||||
|
set splitright " new vertical splits to the right of current
|
||||||
|
set tabstop=4 " number of spaces a <Tab> in the text stands for
|
||||||
|
set textwidth=79 " break lines at 79 characters
|
||||||
|
set timeoutlen=1000 " timeout of 1s for key combinations
|
||||||
|
set ttimeoutlen=100 " timeout of 100ms for <esc>
|
||||||
|
set ttyfast " fast terminal connection
|
||||||
|
set wildignore=*.o,*.obj,*.pyc,*.exe,*.so,*.dll
|
||||||
|
set wildmenu " enhanced command-line completion
|
||||||
|
set wrap " wrap long lines
|
||||||
|
set writebackup " make a backup before writing a file
|
||||||
|
if has('multi_byte')
|
||||||
|
let &showbreak='↳'
|
||||||
|
else
|
||||||
|
let &showbreak=' '
|
||||||
|
endif
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Plugins {{{
|
||||||
|
filetype off
|
||||||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
call vundle#begin()
|
||||||
|
Plugin 'gmarik/Vundle.vim'
|
||||||
|
|
||||||
|
Plugin 'altercation/vim-colors-solarized'
|
||||||
|
Plugin 'benmills/vimux'
|
||||||
|
Plugin 'bling/vim-airline'
|
||||||
|
Plugin 'bronson/vim-trailing-whitespace'
|
||||||
|
Plugin 'kien/ctrlp.vim'
|
||||||
|
Plugin 'majutsushi/tagbar'
|
||||||
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
Plugin 'scrooloose/syntastic'
|
||||||
|
Plugin 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
call vundle#end()
|
||||||
|
filetype plugin indent on
|
||||||
|
syntax enable
|
||||||
|
|
||||||
|
" ctrlp {{{
|
||||||
|
let g:ctrlp_match_window = 'bottom,order:ttb'
|
||||||
|
let g:ctrlp_switch_buffer = 0 " open files in new buffer
|
||||||
|
let g:ctrlp_working_path_mode = 0 " use the current working directory
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" nerdtree {{{
|
||||||
|
nmap <leader>n :NERDTreeToggle<cr>
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" tagbar {{{
|
||||||
|
nnoremap <leader>t :TagbarToggle<CR>
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim-airline {{{
|
||||||
|
let g:airline_theme="solarized"
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim-colors-solarized {{{
|
||||||
|
silent! colorscheme solarized
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim-trailing-whitespace {{{
|
||||||
|
nnoremap <leader>w :FixWhitespace<CR>
|
||||||
|
" }}}
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Autocmds {{{
|
||||||
|
autocmd FileType vim setlocal foldmethod=marker
|
||||||
|
autocmd FileType *.py setlocal foldmethod=indent | setlocal foldnestmax=2
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Key mappings {{{
|
||||||
|
" split navigations and resizing
|
||||||
|
nnoremap <C-J> <C-W><C-J>
|
||||||
|
nnoremap <C-K> <C-W><C-K>
|
||||||
|
nnoremap <C-L> <C-W><C-L>
|
||||||
|
nnoremap <C-H> <C-W><C-H>
|
||||||
|
nnoremap <C-W><C-K> :execute "resize " . (winheight(0) * 5/4)<CR>
|
||||||
|
nnoremap <C-W><C-J> :execute "resize " . (winheight(0) * 4/5)<CR>
|
||||||
|
nnoremap <C-W><C-H> :execute "vertical resize " . (winwidth(0) * 5/4)<CR>
|
||||||
|
nnoremap <C-W><C-L> :execute "vertical resize " . (winwidth(0) * 4/5)<CR>
|
||||||
|
|
||||||
|
" fast navigation of matchpairs ({[]})
|
||||||
|
nnoremap <TAB> %
|
||||||
|
vnoremap <TAB> %
|
||||||
|
|
||||||
|
" retain selection when indenting/unindenting in visual mode
|
||||||
|
vnoremap > ><CR>gv
|
||||||
|
vnoremap < <<CR>gv
|
||||||
|
|
||||||
|
" case insensitive searching
|
||||||
|
nnoremap // /\c
|
||||||
|
nnoremap ?? ?\c
|
||||||
|
|
||||||
|
" quickly exit insert mode
|
||||||
|
inoremap jk <ESC>
|
||||||
|
|
||||||
|
" better navigation for wrapped lines
|
||||||
|
noremap j gj
|
||||||
|
noremap k gk
|
||||||
|
|
||||||
|
" space opens/closes folds
|
||||||
|
nnoremap <SPACE> za
|
||||||
|
|
||||||
|
" turn off search highlight
|
||||||
|
nnoremap <LEADER><SPACE> :nohlsearch<CR>
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
if filereadable(expand("~/.vimrc.local"))
|
||||||
|
source ~/.vimrc.local
|
||||||
|
endif
|
Loading…
Add table
Reference in a new issue