Skip to content

Instantly share code, notes, and snippets.

@lukewilde
Last active August 29, 2015 14:05
Show Gist options
  • Save lukewilde/dce260f9b9dddcd9b167 to your computer and use it in GitHub Desktop.
Save lukewilde/dce260f9b9dddcd9b167 to your computer and use it in GitHub Desktop.
my dot files
[user]
name = Luke Wilde
email = luke.wilde@clock.co.uk
[color]
diff = auto
status = auto
branch = auto
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
standup = lg ––since yesterday ––author luke
ci = commit
co = checkout
st = status
br = branch
tg = tag |sort -V
[core]
whitespace = -trailing-space
editor = vim
[push]
default = tracking
[dude]
interval = 1800
{
"asi": true,
"boss": true,
"browser": true,
"curly": true,
"devel": true,
"maxdepth": 4,
"maxstatements": 25,
"maxcomplexity": 6,
"eqeqeq": true,
"eqnull": true,
"es5": true,
"evil": false,
"immed": false,
"jquery": true,
"latedef": false,
"laxcomma": true,
"laxbreak": true,
"newcap": true,
"node": true,
"noempty": true,
"nonew": true,
"predef":
[
"async",
"Firmin",
"after",
"afterEach",
"before",
"beforeEach",
"db",
"describe",
"Ext",
"io",
"it",
"unescape",
"Munchkin",
"mktoMunchkinFunction",
"_",
"emit"
],
"quotmark": "single",
"smarttabs": true,
"strict": false,
"trailing": false,
"undef": true,
"unused": true,
"-W008": true
}
# status bar
#set-option -g status-utf8 on
#set -g status-interval 1
#set -g status-justify centre # center align window list
#set -g status-left-length 20
#set -g status-right-length 140
#set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
#set -g status-right '#[fg=green,bg=black,bright]#(tmux-mem-cpu-load 1) #[fg=red,dim]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'
set-option -g pane-border-fg green
set-option -g pane-active-border-fg red
# default statusbar colors
#set -g status-fg white
#set -g status-bg default
#set -g status-attr bright
# default window title colors
#set-window-option -g window-status-fg white
#set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
#set-window-option -g window-status-current-fg white
#set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# C-b is not acceptable -- Vim uses it
set-option -g prefix C-a
bind-key C-a last-window
# Start numbering at 1
set -g base-index 1
# Allows for faster key repetition
#set -s escape-time 0
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# Highlight active window
set-window-option -g window-status-current-bg red
# Vi copypaste mode
set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# hjkl pane traversal
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# auto window rename
set-window-option -g automatic-rename off
set-option -g allow-rename off
# rm mouse mode fail
#setw -g mode-mouse on
#set-option -g mouse-select-pane on
# color
#set -g default-terminal "screen-256color"
# Enabling Ctrl + arrow keys
set-window-option -g xterm-keys on
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour130 #yellow
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg colour33 #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg colour40 #green
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg colour235 #base02
set-option -g pane-active-border-fg colour46 #base01
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour40 #green
# pane number display
set-option -g display-panes-active-colour colour20 #blue
set-option -g display-panes-colour colour40 #orange
# clock
set-window-option -g clock-mode-colour colour40 #green
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
# Set case-sensitivity for completion, history lookup, etc.
zstyle ':prezto:*:*' case-sensitive 'yes'
# Color output (auto set to 'no' on dumb terminals).
zstyle ':prezto:*:*' color 'yes'
# Set the Zsh modules to load (man zshmodules).
# zstyle ':prezto:load' zmodule 'attr' 'stat'
# Set the Zsh functions to load (man zshcontrib).
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
# Set the Prezto modules to load (browse modules).
# The order matters.
zstyle ':prezto:load' pmodule \
'environment' \
'terminal' \
'editor' \
'history' \
'directory' \
'spectrum' \
'utility' \
'completion' \
'prompt' \
'tmux'
#
# Editor
#
# Set the key mapping style to 'emacs' or 'vi'.
zstyle ':prezto:module:editor' key-bindings 'emacs'
# Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes'
#
# Git
#
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
# zstyle ':prezto:module:git:status:ignore' submodules 'all'
#
# GNU Utility
#
# Set the command prefix on non-GNU systems.
# zstyle ':prezto:module:gnu-utility' prefix 'g'
#
# History Substring Search
#
# Set the query found color.
# zstyle ':prezto:module:history-substring-search:color' found ''
# Set the query not found color.
# zstyle ':prezto:module:history-substring-search:color' not-found ''
# Set the search globbing flags.
# zstyle ':prezto:module:history-substring-search' globbing-flags ''
#
# Pacman
#
# Set the Pacman frontend.
# zstyle ':prezto:module:pacman' frontend 'yaourt'
#
# Prompt
#
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals.
zstyle ':prezto:module:prompt' theme 'steeef'
#
# Screen
#
# Auto start a session when Zsh is launched in a local terminal.
# zstyle ':prezto:module:screen:auto-start' local 'yes'
# Auto start a session when Zsh is launched in a SSH connection.
# zstyle ':prezto:module:screen:auto-start' remote 'yes'
#
# SSH
#
# Set the SSH identities to load into the agent.
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
#
# Syntax Highlighting
#
# Set syntax highlighters.
# By default, only the main highlighter is enabled.
zstyle ':prezto:module:syntax-highlighting' highlighters \
'main' \
'brackets' \
# 'pattern' \
# 'cursor' \
# 'root'
#
# Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \
# 'command' 'bg=blue' \
# 'function' 'bg=blue'
#
#
# Terminal
#
# Auto set the tab and window titles.
zstyle ':prezto:module:terminal' auto-title 'yes'
#
# Tmux
#
# Auto start a session when Zsh is launched in a local terminal.
#zstyle ':prezto:module:tmux:auto-start' local 'yes'
# Auto start a session when Zsh is launched in a SSH connection.
#zstyle ':prezto:module:tmux:auto-start' remote 'yes'
export TMPDIR="/tmp/"
export EDITOR='vim'
#Aliases
alias lg="git lg"
alias s="git status"
alias f="git diff"
alias fs="git diff --staged"
alias a="git add"
alias mtag="maiden tagRevision"
alias furnace='ssh furnace -A -t "cd `pwd`; zsh"'
setopt NO_NOMATCH
{
"atomic_save": false,
"binary_file_patterns":
[
"*.jpeg",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
"*.ico",
"*.eot",
"*.pdf",
"*.min.*",
"*.swf",
"*.jar",
"*.zip",
"*jquery-1.8*.js",
"*/node_modules/*",
"*/fonts/*",
"*.js.map",
"*.min.js",
"editor/build/style/index.css",
"src/js/game/levels/*"
],
"color_scheme": "Packages/User/Solarized (dark) (SL).tmTheme",
"default_line_ending": "unix",
"dictionary": "Packages/Language - English/en_GB.dic",
"draw_white_space": "all",
"enable_tab_scrolling": false,
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
".rspec",
"config.ru",
"Gemfile.lock",
"Rakefile",
"static-file-map.json"
],
"folder_exclude_patterns":
[
".bundle",
".git",
".sass-cache",
"doc",
"log",
"tmp"
],
"font_size": 9,
"highlight_modified_tabs": true,
"hot_exit": false,
"ignored_packages":
[
"Colorcoder",
"Twig",
"Vintage",
"Stylus",
"WordHighlight"
],
"line_numbers": true,
"remember_open_files": false,
"rulers":
[
80,
120
],
"shift_tab_unindent": true,
"show_full_path": true,
"spell_check": true,
"tab_size": 2,
"theme": "Flatland Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"update_check": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment