Permalink
Browse files

Ditching tmux.

  • Loading branch information...
1 parent 8eccb1d commit da4ffb9cf2394f7ef05f0c8a79872caf6cd8ace6 @ggamel committed Jan 21, 2013
View
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Running some commands to prep the project before launching tmux
-cd ~/.dotfiles
-
-# Setup and run function to setup new tmux session
-function load_session() {
- local SESSION=dotfiles
-
- if ! tmux has-session -t $SESSION; then
- tmux new-session -s $SESSION -n personal -d
- tmux new-window -n github -t $SESSION
-
- tmux send-keys -t $SESSION:1 'vim' C-m ':NERDTreeToggle' C-m
- tmux send-keys -t $SESSION:2 'cd ~/code/dotfiles/dotfiles.github.com && git pull' C-m
- tmux send-keys -t $SESSION:2 'vim' C-m ':NERDTreeToggle' C-m
-
- tmux select-window -t $SESSION:1
- fi
-
- tmux attach -t $SESSION
-}
-load_session
View
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# Running some commands to prep the project before launching tmux
-cd ~/code/mobile/Memodex
-
-# Setup and run function to setup new tmux session
-function load_session() {
- local SESSION=memodex
-
- if ! tmux has-session -t $SESSION; then
- tmux new-session -s $SESSION -n vim -d
- tmux new-window -n shell -t $SESSION
-
- tmux send-keys -t $SESSION:1 'vim' C-m ':NERDTreeToggle' C-m
-
- tmux select-window -t $SESSION:1
- fi
-
- tmux attach -t $SESSION
-}
-load_session
View
@@ -1,114 +0,0 @@
-## keybindings
-unbind C-b
-unbind C-a
-unbind ,
-unbind .
-unbind n
-unbind p
-unbind [
-unbind '"'
-unbind l
-unbind &
-unbind "'"
-
-set-option -g prefix C-a # C-a for prefix just like screen
-
-bind-key C-a last-window
-bind-key | split-window -h
-bind-key \ split-window -h
-bind-key - split-window -v
-bind-key x kill-pane
-bind-key X kill-window
-bind-key q confirm-before kill-session
-bind-key Q confirm-before kill-server
-bind-key , previous-window # <
-bind-key . next-window # >
-bind-key < swap-window -t :-
-bind-key > swap-window -t :+
-bind-key n command-prompt 'rename-window %%'
-bind-key N command-prompt 'rename-session %%'
-bind-key Escape copy-mode -u
-bind-key Up copy-mode -u
-bind-key r source-file ~/.tmux.conf; display-message " The Matrix has been reloaded"
-bind-key R refresh-client
-bind-key a send-key C-a
-bind-key C-h resize-pane -L 5
-bind-key C-l resize-pane -R 5
-bind-key C-j resize-pane -D 5
-bind-key C-k resize-pane -U 5
-# -r: can be repeated without pressing prefix# again (500ms after last '-r' action or prefix)
-bind-key -r h select-pane -t :.-
-bind-key -r l select-pane -t :.+
-
-#bind-key u select-window -t :1
-
-
-## messages
-set-option -g message-fg colour0
-set-option -g message-bg colour4
-set-option -g display-time 1500
-
-## set status bar
-set-option -g status-utf8 on
-set-option -g status-interval 1
-set-option -g status-fg colour10
-set-option -g status-bg default
-
-# "I' == current window index
-# 'H' == Hostname
-# 'F' == current window flag
-# 'P' == current pane index
-# 'S' == Session name
-# 'T' == current window title
-# 'W' == current window name
-# '#' == a literal "#"
-# Where appropriate, special character sequences may be prefixed with a
-# number to specify the maximum length, in this line "#10W'.
-set-option -g status-left ''
-set-option -g status-right '#[fg=yellow]#S#[fg=default] // %Y-%m-%d %H:%M'
-
-set-option -g status-right-length 100
-set-option -g status-left-length 120
-
-## highlight active window
-set-window-option -g window-status-current-fg colour4
-set-window-option -g window-status-current-bg default
-set-window-option -g window-status-current-attr bright
-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
-
-# Alerts broken with 1.6
-set-window-option -g window-status-bell-fg colour226
-set-window-option -g window-status-bell-bg colour23
-
-set-window-option -g monitor-activity off
-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 colour240
-set-option -g pane-border-fg colour240
-
-
-## Copy/paste
-set-option -g default-command "reattach-to-user-namespace -l zsh"
View
@@ -1,7 +0,0 @@
-function mx() {
- if [[ -x $DOTFILES/tmux/layouts/$1 ]]; then
- $DOTFILES/tmux/layouts/$1
- else
- tmux new-session -s $1
- fi
-}
@@ -1,11 +0,0 @@
-# ~/.tmuxinator/betasplash.yml
-# you can make as many tabs as you wish...
-
-project_name: Betasplash
-project_root: ~/code/betasplash
-tabs:
- - editor: vim
- - shell: git status
- - console: rails c
- - server: be foreman start
- - guard: guard
@@ -1,17 +0,0 @@
-# ~/.tmuxinator/charity.yml
-# you can make as many tabs as you wish...
-pre: unset TMPDIR
-socket_path: /tmp/tmux-charity
-project_name: Pure Charity
-project_root: ~/purecharity/code/charity
-tabs:
- - editor:
- - vim
- - shell:
- -
- - console:
- - rails c
- - log:
- - be foreman start
- - guard:
- -
@@ -1,13 +0,0 @@
-# ~/.tmuxinator/dotfiles.yml
-# you can make as many tabs as you wish...
-pre: unset TMPDIR
-socket_path: /tmp/tmux-dotfiles
-project_name: Dotfiles
-project_root: ~/code/dotfiles/dotfiles.github.com
-tabs:
- - editor:
- - vim
- - shell:
- -
- - console:
- - nanoc view -p 3002
@@ -1,11 +0,0 @@
-# ~/.tmuxinator/fumblr.yml
-# you can make as many tabs as you wish...
-
-project_name: fumblr
-project_root: ~/Projects/fumblr
-tabs:
- - editor: vim
- - shell:
- - server: shotgun
- - tests: guard
- - theme:
@@ -1,7 +0,0 @@
-# ~/.tmuxinator/gtd.yml
-# you can make as many tabs as you wish...
-
-project_name: Tasks
-project_root: ~/Dropbox/TaskPaper/
-tabs:
- - tasks: vim
@@ -1,17 +0,0 @@
-# ~/.tmuxinator/mission.yml
-# you can make as many tabs as you wish...
-
-pre: unset TMPDIR
-socket_name: mission
-project_name: Pure Mission
-project_root: ~/purecharity/code/mission
-tabs:
- - editor:
- - vim
- - shell:
- -
- - console:
- - rails c
- - log:
- # - be rails s thin
- - tl
@@ -1,12 +0,0 @@
-# ~/.tmuxinator/tcl.yml
-# you can make as many tabs as you wish...
-
-# pre: unset TMPDIR
-socket_path: /tmp/tmux-paula
-project_name: Paula
-project_root: ~/code/themes/paula
-tabs:
- - editor: vim
- - shell: git st
- - forge: forge watch
- - wordpress: cd ~/sites/paula
@@ -1,17 +0,0 @@
-# ~/.tmuxinator/rewards.yml
-# you can make as many tabs as you wish...
-pre: unset TMPDIR
-socket_path: /tmp/tmux-rewards
-project_name: Rewards Service
-project_root: ~/purecharity/code/rewards
-tabs:
- - editor:
- - vim
- - shell:
- -
- - console:
- - rails c
- - log:
- - be foreman start
- - guard:
- -
@@ -1,10 +0,0 @@
-# ~/.tmuxinator/tcl.yml
-# you can make as many tabs as you wish...
-
-unset: TMPDIR
-socket_name: tcl
-project_name: The Changelog
-project_root: ~/sites/thechangelog
-tabs:
- - editor: vim
- - shell: git st
@@ -1,10 +0,0 @@
-# ~/.tmuxinator/tcl.yml
-# you can make as many tabs as you wish...
-
-pre: unset TMPDIR
-socket_name: tsw
-project_name: The Sass Way
-project_root: ~/sites/thesassway.com
-tabs:
- - editor: vim
- - shell: git st
@@ -1,8 +0,0 @@
-# ~/.tmuxinator/twitter.yml
-# you can make as many tabs as you wish...
-
-project_name: Twitter
-project_root: ~/
-rvm: 1.9.2
-tabs:
- - stream: earthquake
@@ -1,10 +0,0 @@
-# ~/.tmuxinator/tcl.yml
-# you can make as many tabs as you wish...
-
-# pre: unset TMPDIR
-socket_path: /tmp/tmux-wynn
-project_name: Wynn
-project_root: ~/sites/wynn
-tabs:
- - editor:
- - shell: git st

0 comments on commit da4ffb9

Please sign in to comment.