diff --git a/files/tmux.conf b/files/tmux.conf new file mode 100644 index 0000000..6803816 --- /dev/null +++ b/files/tmux.conf @@ -0,0 +1,24 @@ +unbind C-b +set-option -g prefix C-f +bind-key C-f send-prefix + +# Split View +unbind '"' +unbind % +bind H split-window -h +bind V split-window -v + +# switch panes using Alt-arrow without prefix +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D + +# switch panes using jkhl +bind h select-pane -L +bind l select-pane -R +bind j select-pane -U +bind k select-pane -D + +# Mouse +set -g mouse on diff --git a/install.conf.yaml b/install.conf.yaml index c42fec1..0e806ac 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -15,6 +15,7 @@ ~/.config/omf: files/omf ~/.config/key-mapper: files/key-mapper ~/.gitignore_global: files/git/gitignore_global + ~/.tmux.conf: files/tmux.conf - shell: - [git submodule update --init --recursive, Installing submodules]