diff options
-rw-r--r-- | dotfiles/tmux.conf | 32 | ||||
-rwxr-xr-x | install | 2 | ||||
-rw-r--r-- | install.conf.yaml | 5 |
3 files changed, 35 insertions, 4 deletions
diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf new file mode 100644 index 0000000..a2b2519 --- /dev/null +++ b/dotfiles/tmux.conf @@ -0,0 +1,32 @@ +# set the prefix to C-A +unbind C-b +set -g prefix C-a +bind C-a send-prefix + +set -g default-terminal "tmux-256color" +set -g aggressive-resize on +set -g set-titles on +set -g mode-keys vi + +set -g xterm-keys on + +# -,| do a horizontal/vertical split +unbind-key % +unbind-key '"' +bind - split-window -v -c '#{pane_current_path}' +bind | split-window -h -c '#{pane_current_path}' + +# spawn new shells in the current path +bind c new-window -c '#{pane_current_path}' + +set-option -g history-limit 16384 +set-option -g update-environment "\ + DISPLAY\ + SSH_ASKPASS\ + SSH_AUTH_SOCK\ + SSH_AGENT_PID\ + SSH_CONNECTION\ + WINDOWID\ + XAUTHORITY\ + DBUS_SESSION_BUS_ADDRESS\ +" @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash # This is free and unencumbered software released into the public domain. # diff --git a/install.conf.yaml b/install.conf.yaml index 5ec980f..0d1db60 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -1,3 +1,2 @@ -- clean: [] -- link: {} -- shell: [] +- link: + ~/.tmux.conf: dotfiles/tmux.conf |