Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: wimleers/dotfiles
base: 7eaa294029
...
head fork: wimleers/dotfiles
compare: 94c06afff6
  • 7 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
View
3  .aliases
@@ -14,6 +14,9 @@ alias s="subl ."
alias o="open"
alias oo="open ."
+# We want a 256-color tmux.
+alias tmux="TERM=screen-256color-bce tmux"
+
# List all files colorized in long format
alias l="ls -Gl"
View
2  .bash_prompt
@@ -15,7 +15,7 @@ if tput setaf 1 &> /dev/null; then
ORANGE=$(tput setaf 172)
GREEN=$(tput setaf 190)
PURPLE=$(tput setaf 141)
- WHITE=$(tput setaf 256)
+ WHITE=$(tput setaf 242)
else
MAGENTA=$(tput setaf 5)
ORANGE=$(tput setaf 4)
View
5 .brew
@@ -9,11 +9,16 @@ brew upgrade
# Fundamentals.
brew install git
brew install tmux
+# fix clipboard on OS X for tmux
+brew install reattach-to-user-namespace --wrap-pbcopy-and-pbpaste
# CLI.
brew install ack
brew install tree
+# vim.
+brew install ctags
+
# Web dev.
brew install webkit2png
brew install wget --enable-iri
View
4 .gitconfig
@@ -5,10 +5,14 @@
s = status -s
# Diff
d = diff --patch-with-stat
+ # Diff staged
+ ds = diff --staged --patch-with-stat
# Pull in remote changes for the current repository and all its submodules
p = !"git pull; git submodule foreach git pull origin master"
# Clone a repository including all submodules
c = clone --recursive
+ # Shorthand for "commit"
+ ci = commit
# Commit all changes
ca = !git add . && git add -u && git commit -a
# Switch to a branch, creating it if necessary
View
92 .tmux.conf
@@ -0,0 +1,92 @@
+# saner action key
+unbind C-b
+set -g prefix C-t
+
+# Color issues.
+set -g default-terminal "screen-256color"
+
+# Mouse control: can't get this to work..
+#set-option -g mouse-select-pane on
+#set-option -g mouse-select-window on
+#set-option -g mouse-resize-pane on
+#set -g mode-mouse on
+
+# Increase history limit.
+set -g history-limit 1000000
+
+# Send to all panes simultaneously, toggle with "a".
+bind-key a set-window-option synchronize-panes
+
+# Retain environment variabels from the parent shell into new shells.
+set -g update-environment -r
+
+# Easier "last-window", allows quick flipping between windows (hit the action key twice).
+bind-key C-t last-window
+
+# more sensical splitting
+unbind %
+bind | split-window -h
+bind - split-window -v
+
+# vi navigation
+setw -g mode-keys vi
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+### Status bar
+set -g status-bg black
+set -g status-fg white
+# highlight active window
+setw -g window-status-current-bg red
+setw -g window-status-current-attr bold
+# show session, window index, pane index in status bar
+set -g status-utf8 on
+set -g status-left-length 40
+set -g status-left "#[fg=green]\[#S\] #[fg=yellow]#I #[fg=cyan]#P"
+# show system load in status bar
+set -g status-right '#[fg=green]#H#[fg=yellow]#(uptime | cut -d "," -f 4-)'
+# other status bar settings
+set -g status-interval 5
+
+# window activity notifications
+setw -g monitor-activity on
+set -g visual-activity on
+
+# Start window numbering at 1 (0 is at the other end of the keyboard).
+set -g base-index 1
+
+
+
+#### COLOR: Solarized; see https://github.com/seebi/tmux-colors-solarized
+
+# default statusbar colors
+set-option -g status-bg colour235 #base02
+set-option -g status-fg colour136 #yellow
+set-option -g status-attr default
+
+# default window title colors
+set-window-option -g window-status-fg colour244
+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 colour166 #orange
+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 colour240 #base01
+
+# message text
+set-option -g message-bg colour235 #base02
+set-option -g message-fg colour166 #orange
+
+# pane number display
+set-option -g display-panes-active-colour colour33 #blue
+set-option -g display-panes-colour colour166 #orange
+
+# clock
+set-window-option -g clock-mode-colour colour64 #green
View
2  .vimrc
@@ -6,6 +6,8 @@ set wildmenu
set esckeys
" Optimize for fast terminal connections
set ttyfast
+" Let vim also use the OS X' clipboard
+set clipboard=unnamed
" Add the g flag to search/replace by default
set gdefault
" Use UTF-8 without BOM

No commit comments for this range

Something went wrong with that request. Please try again.