init repo
This commit is contained in:
parent
3f7c3d7cd7
commit
4906aa71f5
1 changed files with 42 additions and 0 deletions
42
.tmux.conf
Normal file
42
.tmux.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set -g mouse on
|
||||
|
||||
# Set prefix
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
||||
# ─< Start windows and panes at 1, not 0 >──────────────────────────────────────────────────
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# ────────────────────────────────────< List of plugins >──────────────────────────────────
|
||||
|
||||
# ─< Import Plugins >───────────────────────────────────────────────────────────────────────
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
|
||||
# ─────────────────────────────────────────< Themes >─────────────────────────────────────────
|
||||
set -g @catppuccin_flavour 'mocha' # latte, frappe, mocha or macchiato
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
# Split panes in current directory
|
||||
bind j split-window -v -c "#{pane_current_path}"
|
||||
bind h split-window -h -c "#{pane_current_path}"
|
||||
# ─< Make pane fullscreen >─────────────────────────────────────────────────────────────────
|
||||
bind -n C-f resize-pane -Z
|
||||
# ───────────────────────────────────< Navigate the panes >───────────────────────────────────
|
||||
# ─< Switch to the left pane with Prefix + h >────────────────────────────────────────────────
|
||||
bind -n C-h select-pane -L
|
||||
|
||||
# ─< Switch to the right pane with Prefix + l >───────────────────────────────────────────────
|
||||
bind -n C-l select-pane -R
|
||||
|
||||
# ─< Switch to the downer pane with Prefix + j (optional) >─────────────────────────────────────
|
||||
bind -n C-j select-pane -D
|
Loading…
Add table
Add a link
Reference in a new issue