From aa5cdd4e3adc8b4e57aa1bcd85c882dd5f31a80c Mon Sep 17 00:00:00 2001 From: Eduardo Figueroa Date: Wed, 14 Dec 2016 09:17:19 -0800 Subject: [PATCH] Bootstrap and tmux conf added --- .tmux.conf | 31 +++++++++++++++++++++++++++++++ bootstrap.sh | 7 +++++++ 2 files changed, 38 insertions(+) create mode 100644 .tmux.conf create mode 100644 bootstrap.sh diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..c1cd0d3 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,31 @@ +#change binding from ctrl+b to screen-like ctrl+a +set-option -g prefix C-a + +#copy screen last window method +bind-key C-a last-window + +#start windows numbers at 1 +set -g base-index 1 + +#enable mouse scrolling in terminal history +set -g mouse on + +set -g utf8 on +set -g status-utf8 on + +set -g history-limit 50000 +set -g display-time 4000 + +set -g status-interval 5 + +set -g default-terminal "screen-256color" + +set -g focus-events on + +setw -g aggressive-resize on + +#vim copy/paste bindings +bind P paste-buffer +bind-key -t vi-copy 'v' begin-selection +bind-key -t vi-copy 'y' copy-selection +bind-key -t vi-copy 'r' rectangle-toggle diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..02f8f04 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +#move to home directory + +echo "----" +find . -type f -name ".*" -exec cp {} $HOME/ \; +echo "Files moved to home directory, enjoy your workflow."