From 1cdacb99d2479c59dc2305d172c4f46a8a0f15a1 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Thu, 3 Mar 2016 16:49:33 +0100 Subject: Tmux conf and bash extra stuff --- bash/.bash_profile | 6 ++++++ tmux/.tmux.conf | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tmux/.tmux.conf 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 -- cgit v1.2.3