From ee1913be118fa6af433f33628bbdc097317717f2 Mon Sep 17 00:00:00 2001 From: Willem Haffmans Date: Tue, 10 Sep 2024 23:57:14 +0200 Subject: [PATCH] init --- .tmux.conf | 44 ++++++++++++++++++++++++++++++++++++++++ plugins/tmux-everforest | 1 + plugins/tmux-sensible | 1 + plugins/tpm | 1 + tmux.conf | 45 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 .tmux.conf create mode 160000 plugins/tmux-everforest create mode 160000 plugins/tmux-sensible create mode 160000 plugins/tpm create mode 100644 tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..4d63352 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,44 @@ +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'TanglingTreats/tmux-everforest' # Adds to the list of plugins +set -g @tmux-everforest 'dark-medium' +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'github_username/plugin_name#branch' +# set -g @plugin 'git@github.com:user/plugin' +# set -g @plugin 'git@bitbucket.com:user/plugin' + +# remap prefix from 'C-b' to 'C-Space' +unbind C-b +set-option -g prefix C-Space +bind-key C-Space send-prefix + +# split panes using | and - +bind \\ split-window -h +bind - split-window -v +unbind '"' +unbind % + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + +# don't do anything when a 'bell' rings +set -g visual-activity off +set -g visual-bell off +set -g visual-silence off +setw -g monitor-activity off +set -g bell-action none + +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse on + +# Start window and pane numbers at 1 +set -g base-index 1 +setw -g pane-base-index 1 + +# Put tmux bar on top +set-option -g status-position top + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' diff --git a/plugins/tmux-everforest b/plugins/tmux-everforest new file mode 160000 index 0000000..8fdb56d --- /dev/null +++ b/plugins/tmux-everforest @@ -0,0 +1 @@ +Subproject commit 8fdb56daf523b84c51efeca1a16d3d6e44c31fdc diff --git a/plugins/tmux-sensible b/plugins/tmux-sensible new file mode 160000 index 0000000..25cb91f --- /dev/null +++ b/plugins/tmux-sensible @@ -0,0 +1 @@ +Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa diff --git a/plugins/tpm b/plugins/tpm new file mode 160000 index 0000000..99469c4 --- /dev/null +++ b/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..88b890f --- /dev/null +++ b/tmux.conf @@ -0,0 +1,45 @@ +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'TanglingTreats/tmux-everforest' # Adds to the list of plugins +set -g @tmux-everforest 'dark-medium' +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'github_username/plugin_name#branch' +# set -g @plugin 'git@github.com:user/plugin' +# set -g @plugin 'git@bitbucket.com:user/plugin' + +# remap prefix from 'C-b' to 'C-Space' +unbind C-b +set-option -g prefix C-Space +bind-key C-Space send-prefix + +# split panes using | and - +bind \\ split-window -h +bind - split-window -v +unbind '"' +unbind % + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + +# don't do anything when a 'bell' rings +set -g visual-activity off +set -g visual-bell off +set -g visual-silence off +setw -g monitor-activity off +set -g bell-action none + +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse on + +# Start window and pane numbers at 1 +set -g base-index 1 +setw -g pane-base-index 1 + +# Put tmux bar on top +set-option -g status-position top + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.config/tmux/plugins/tpm/tpm' +