home-manager/tests/modules/programs/tmux/emacs-with-plugins.conf
Sleroq 2ffc6d6496
tmux: mouse support (#3642)
Co-authored-by: Sleroq <sleroq@sleroq.link>
2023-02-05 11:02:14 +01:00

54 lines
1.1 KiB
Text

# ============================================= #
# Start with defaults from the Sensible plugin #
# --------------------------------------------- #
run-shell @tmuxplugin_sensible_rtp@
# ============================================= #
set -g default-terminal "screen"
set -g base-index 0
setw -g pane-base-index 0
new-session
bind -N "Split the pane into two, left and right" v split-window -h
bind -N "Split the pane into two, top and bottom" s split-window -v
set -g status-keys emacs
set -g mode-keys emacs
set -g mouse off
setw -g aggressive-resize on
setw -g clock-mode-style 24
set -s escape-time 500
set -g history-limit 2000
# ============================================= #
# Load plugins with Home Manager #
# --------------------------------------------- #
# tmuxplugin-logging
# ---------------------
run-shell @tmuxplugin_logging_rtp@
# tmuxplugin-prefix-highlight
# ---------------------
run-shell @tmuxplugin_prefix_highlight_rtp@
# tmuxplugin-fzf-tmux-url
# ---------------------
run-shell @tmuxplugin_fzf_tmux_url_rtp@
# ============================================= #