summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-03-03 16:49:33 +0100
committerEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-03-03 16:49:33 +0100
commit1cdacb99d2479c59dc2305d172c4f46a8a0f15a1 (patch)
tree5ccf75ddc18091e752ccd6a0375f42e4145c9563
parenta367ec0df92be4565c8c79ba6be7c0c85460b934 (diff)
Tmux conf and bash extra stuff
-rw-r--r--bash/.bash_profile6
-rw-r--r--tmux/.tmux.conf11
2 files changed, 17 insertions, 0 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 6196590..0afc493 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -6,3 +6,9 @@ PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\
if [ -f ~/.bash_aliases ] ; then
. ~/.bash_aliases
fi
+
+
+# Extra configuration for work or home, just separate it in different file to keep dotfiles clean
+if [ -f ~/.bash_extra ] ; then
+ . ~/.bash_extra
+fi
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..b8c01cf
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,11 @@
+# Scroll
+set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
+
+# Use vim bindings
+setw -g mode-keys vi
+
+# Mouse works as expected
+set -g mode-mouse on
+set -g mouse-select-pane on
+set -g mouse-resize-pane on
+set -g mouse-select-window on