Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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: 12f05bde85
...
compare: e85e03f584
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 92 additions and 1 deletion.
  1. +5 −1 .bashrc
  2. +86 −0 .tmux.conf
  3. +1 −0  .vimrc
View
6 .bashrc
@@ -19,7 +19,11 @@ shopt -s checkwinsize
# Use vcprompt.
vcprompt_ps1() {
- [[ `vcprompt -f %n` == 'svn' ]] && vcprompt -f ' at %r %m' || vcprompt -f ' on %b %m%u'
+ [[ `pwd -P` == /Users/smerrill/Documents/Development/perlgem* ]] && {
+ vcprompt -f ' on %b ¿'
+ } || {
+ [[ `vcprompt -f %n` == 'svn' ]] && vcprompt -f ' at %r %m' || vcprompt -f ' on %b %m%u'
+ }
}
# a functional but sane prompt
View
86 .tmux.conf
@@ -0,0 +1,86 @@
+# Setting the prefix from C-b to C-a
+set -g prefix C-a
+
+# Free the original Ctrl-b prefix keybinding
+unbind C-b
+
+# Setting the delay between prefix and command
+set -sg escape-time 1
+
+# Ensure that we can send Ctrl-A to other apps
+bind C-a send-prefix
+
+# vi keybinding for copy mode!
+setw -g mode-keys vi
+
+# Even more vim-ness in tmux.
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
+# Grumble. Would like to get this sending a '0' and then starting a selection.
+bind-key -t vi-copy 'V' begin-selection
+
+# tmux save buffer to OS X clipboard.
+bind-key Y run-shell "tmux save-buffer - | reattach-to-user-namespace pbcopy"
+
+# Allow the mouse's scrollwheel to work in tmux.
+set-option -g mouse-utf8 on
+
+# Allow mouse to enter copy mode and initiate selection
+set-window-option -g mode-mouse on
+
+# Set up a 256-color terminal.
+# set -g default-terminal "screen-256color"
+
+
+
+## set status bar
+set-option -g status-utf8 on
+set-option -g status-bg colour237
+set-option -g status-fg colour255
+
+set-option -g status-left '⣿'
+set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ● #H#[default] '
+#set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ● #H '
+#set-option -g status-left ' #[bold]❐ #S#[default] ⡇'
+#set-option -g status-right '#[bold]#(whoami) ● #H#[default] '
+
+set-option -g status-right-length 60
+set-option -g status-left-length 60
+
+## highlight active window
+set-window-option -g window-status-current-bg colour228
+set-window-option -g window-status-current-fg colour13
+set-window-option -g window-status-current-attr bold
+set-window-option -g window-status-current-format ' #I #W '
+
+## set window notifications
+#set-option -g visual-activity on
+#set-option -g visual-content on
+#set-window-option -g monitor-activity on
+#set-window-option -g automatic-rename off
+
+## tmux window titling for X
+#set-option -g set-titles on
+#set-option -g set-titles-string '[#I] #W'
+#set-window-option -g automatic-rename on
+#set-window-option -g window-status-format ' #I #W '
+#set-window-option -g window-status-attr bold
+# starts windows at 1 not 0
+#set-option -g base-index 1
+
+## enable mouse
+#set-option -g mouse-select-pane on
+#set-window-option -g mode-keys vi
+#set-window-option -g mode-mouse on
+# set-window-option -g monitor-activity off
+# set-window-option -g monitor-content off
+# set-option -g status-keys vi
+# set-option -g history-limit 4096
+
+## pane border and colors
+#set-option -g pane-active-border-fg yellow
+#set-option -g pane-border-fg white
+
+# Make pbcopy and pbpaste work.
+set-option -g default-command "reattach-to-user-namespace -l bash"
View
1  .vimrc
@@ -23,6 +23,7 @@ if !has("gui_running")
" Oh, OS X.
set t_Co=256
"colorscheme mustang
+ colorscheme Tomorrow-Night-Bright
else
" Set color scheme
colorscheme Tomorrow-Night-Bright

No commit comments for this range

Something went wrong with that request. Please try again.