Permalink
Browse files

some more changes to the dotfiles

  • Loading branch information...
1 parent 6071b54 commit 3816cc4e7f492a9a31783df3d388ad43d0fbfa35 Francisco J committed Jun 8, 2012
Showing with 17 additions and 3 deletions.
  1. +6 −1 gvimrc/vimrc
  2. +11 −1 misc/tmux
  3. +0 −1 zsh/zshrc
View
@@ -194,7 +194,9 @@ autocmd User Rails Rnavcommand factories spec test -glob=factories/* -default=fa
" ******************************************************************************
" Some custom commands
" ******************************************************************************
-command W w !sudo tee % > /dev/null
+if !exists("vimpager")
+ command W w !sudo tee % > /dev/null
+endif
" ******************************************************************************
" Some custom key mapping
" ******************************************************************************
@@ -255,6 +257,9 @@ nmap <silent> ,a<Bar> :Tabularize /<Bar><CR>
vmap <silent> ,a<Bar> :Tabularize /<Bar><CR>
"}}}
+" Tslime
+nmap <C-c>r <Plug>SetTmuxVars
+
" Align Cucumber tables with Tabular plugin"{{{
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
function! s:align()
View
@@ -12,8 +12,18 @@ bind-key -t vi-copy 'y' copy-selection
# Status colors
set -g status-bg black
set -g status-fg white
+set -g message-attr bright
set -g status-left '#[fg=green]#H'
-set-window-option -g window-status-current-bg red
+
+# 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 green
+set-window-option -g window-status-current-attr bright
# Right status
set -g status-right '#[fg=yelow]#(uptime | cut -d ":" -f4-)'
View
@@ -31,7 +31,6 @@ unsetopt auto_name_dirs
export AUTOFEATURE=true
alias migrate="rake db:migrate db:test:clone"
-alias cw="rake cucumber:wip"
alias p="powder"
alias annotate="annotate --exclude tests,fixtures --position after --show-indexes --simple-indexes"
alias be="bundle exec"

0 comments on commit 3816cc4

Please sign in to comment.