diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-01-31 22:02:28 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-01-31 22:02:28 +0530 |
| commit | 01bb0877c285383fd2857920048bd2576f4d31e9 (patch) | |
| tree | b6f26596f1051baf5b791450d6158a69363f6c76 /config/.tmux.conf | |
| parent | 578dd91bd1af79b256166ecf797344611790e267 (diff) | |
restructure
Diffstat (limited to 'config/.tmux.conf')
| -rw-r--r-- | config/.tmux.conf | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/config/.tmux.conf b/config/.tmux.conf new file mode 100644 index 0000000..94169b0 --- /dev/null +++ b/config/.tmux.conf @@ -0,0 +1,52 @@ +set -sg escape-time 0 +set -g history-limit 10000 + +set -g status-interval 5 +set -g default-terminal "screen-256color" +set -g focus-events on + +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 + +set-option -g detach-on-destroy off + +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' + +unbind C-b +unbind '"' +unbind % +unbind c + +set-option -g prefix C-x +bind-key C-x send-prefix + +bind -n M-h previous-window +bind -n M-l next-window + +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" + +bind-key r command-prompt -I "#W" "rename-window '%%'" +bind-key x kill-pane +bind-key c new-window -c "#{pane_current_path}" + +unbind f +bind f split-pane "bash ~/.sessionizer.sh" + +bg="#272727" + +set -g status-position "bottom" +set -g status-style bg=default,fg=default +set -g status-left " λ " +set -g status-right "" +set -g window-status-format " #I:#W " +set -g window-status-current-format "#[bg=${bg},fg=#f2f0fa] #I:#W " + +run '~/.tmux/plugins/tpm/tpm' |
