From 5e74a24df8d219cf9997d7b5352e6db2b97472df Mon Sep 17 00:00:00 2001 From: Marc Hoppe Date: Fri, 14 Feb 2014 17:25:31 +0100 Subject: [PATCH] initial --- .emacs | 7 +++ .gitconfig | 8 ++++ .tmux.conf | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 .emacs create mode 100644 .gitconfig create mode 100644 .tmux.conf diff --git a/.emacs b/.emacs new file mode 100644 index 0000000..ebce003 --- /dev/null +++ b/.emacs @@ -0,0 +1,7 @@ + +(require 'xcscope) + +(require 'ecb) + + + diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..bf83531 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,8 @@ +[mergetool "meld2way"] + cmd = meld \"$LOCAL\" \"$MERGED\" \"$REMOTE\" +[mergetool "meld3way"] + cmd = meld --output \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" +[merge] + tool = meld2way +[include] + path = ~/.gituser diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..4448589 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,135 @@ +# ~/.tmux.conf +# By Tyler Mulligan. Public domain. +# +# This configuration file binds many of the common GNU screen key bindings to +# appropriate tmux key bindings. Note that for some key bindings there is no +# tmux analogue and also that this set omits binding some commands available in +# tmux but not in screen. +# +# Note this is a good starting point but you should check out the man page for more +# configuration options if you really want to get more out of tmux + +### Unbind existing tmux key bindings (except 0-9). + +# Set the prefix to ^A. +unbind C-b +set -g prefix ^A +bind a send-prefix + +# Bind appropriate commands similar to screen. +# lockscreen ^X x +unbind ^X +bind ^X lock-server +unbind x +bind x lock-server + +# screen ^C c +unbind ^C +bind ^C new-window +unbind c +bind c new-window + +# detach ^D d +unbind ^D +bind ^D detach + +# displays * +unbind * +bind * list-clients + +# next ^@ ^N sp n +unbind ^@ +bind ^@ next-window +unbind ^N +bind ^N next-window +unbind " " +bind " " next-window +unbind n +bind n next-window + +# title A +unbind A +bind A command-prompt "rename-window %%" + +# other ^A +unbind ^A +bind ^A last-window + +# prev ^H ^P p ^? +unbind ^H +bind ^H previous-window +unbind ^P +bind ^P previous-window +unbind p +bind p previous-window +unbind BSpace +bind BSpace previous-window + +# windows ^W w +unbind ^W +bind ^W list-windows +unbind w +bind w list-windows + +# quit \ +unbind \ +bind \ confirm-before "kill-server" + +# kill K k +unbind K +bind K confirm-before "kill-window" +unbind k +bind k confirm-before "kill-window" + +# redisplay ^L l +unbind ^L +bind ^L refresh-client +unbind l +bind l refresh-client + +# More straight forward key bindings for splitting +unbind % +bind | split-window -h +bind v split-window -h +unbind '"' +bind - split-window -v +bind h split-window -v + +# History +set -g history-limit 1000 + +# Pane +#unbind o +#bind C-s down-pane + +# Terminal emulator window title +set -g set-titles on +set -g set-titles-string '#S:#I.#P #W' + +# Status Bar +set -g status-bg black +set -g status-fg white +set -g status-interval 1 +set -g status-left '#[fg=green]#H#[default]' +set -g status-right '#[fg=yellow]#(cut -d " " -f 1-4 /proc/loadavg)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]' + +# Notifying if other windows has activities +setw -g monitor-activity on +set -g visual-activity on + +# Highlighting the active window in status bar +setw -g window-status-current-bg red + +# Clock +setw -g clock-mode-colour green +setw -g clock-mode-style 24 + +# :kB: focus up +#unbind Tab +#bind Tab down-pane +#unbind BTab +#bind BTab up-pane + +# " windowlist -b +unbind '"' +bind '"' choose-window