diff options
-rwxr-xr-x | check_os.sh | 2 | ||||
-rw-r--r-- | linux.tmux.config | 3 | ||||
-rw-r--r-- | tmux.config | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/check_os.sh b/check_os.sh index 5f4b694..efee8b0 100755 --- a/check_os.sh +++ b/check_os.sh @@ -2,4 +2,6 @@ if [ "$(uname)" == "Darwin" ]; then tmux source-file "$HOME/.tmux/mac.tmux.config" +elif [ "$(uname)" == "Linux" ]; then + tmux source-file "$HOME/.tmux/linux.tmux.config" fi diff --git a/linux.tmux.config b/linux.tmux.config new file mode 100644 index 0000000..ff271a2 --- /dev/null +++ b/linux.tmux.config @@ -0,0 +1,3 @@ +# vim: syntax=conf + +bind-key -t vi-copy 'y' copy-selection diff --git a/tmux.config b/tmux.config index 5c9f87f..b3637f6 100644 --- a/tmux.config +++ b/tmux.config @@ -26,6 +26,8 @@ bind a set-window-option synchronize-panes # Settings ##################################### +# Setup 'v' to begin selection as in Vim +bind -t vi-copy v begin-selection # Help with the color problems set -g default-terminal "screen-256color" # Mouse Scrolling |