Skip to content

Commit

Permalink
Fix rakefile, add tmux.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
techbelly committed Dec 13, 2012
1 parent 1a22a87 commit 3cba357
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
49 changes: 49 additions & 0 deletions tmux.conf
@@ -0,0 +1,49 @@
# use C-a as prefix, like screen does
set -g prefix C-a
unbind C-b

# press C-a twice to send to current program
bind C-a send-prefix

# shorten delay time so vim is happy
set -s escape-time 1

# start counting from 1
set -g base-index 1
set -g pane-base-index 1

# Reload key
bind r source-file ~/.tmux.conf \; display "Reloaded!"

# easy-to-remember window splitting
bind | split-window -h
bind - split-window -v

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind -r C-h select-window -t :-
bind -r C-l select-window -t :+

# resizing panes

bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5

# mouse support

setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on

# terminal support
set -g default-terminal "screen-256color"

set -g status off

setw -g monitor-activity on
set -g visual-activity on
3 changes: 2 additions & 1 deletion vim/Rakefile
Expand Up @@ -15,8 +15,9 @@ namespace :vim do

vim_dir = Pathname.new( ENV['HOME'] ) + '.vim'
bundle_home = vim_dir + 'bundle'
sh "rm -rf #{bundle_home}/vundle"
sh "git clone http://github.com/gmarik/vundle.git #{bundle_home}/vundle"
sh "vim -u #{vim_dir}/bundles.vim +BundleInstall +q"
sh "vim -u #{vim_dir}/bundles.vim +BundleInstall +qa!"


end # task :bundles
Expand Down

0 comments on commit 3cba357

Please sign in to comment.