-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Darkskittlz (Linux)
committed
Nov 19, 2023
0 parents
commit 5352105
Showing
17 changed files
with
518 additions
and
0 deletions.
There are no files selected for viewing
Submodule catppuccin-tmux
added at
b4e071
Submodule tmux
added at
89ad05
Submodule tmux-sensible
added at
25cb91
Submodule tmux-yank
added at
acfd36
Submodule tpm
added at
99469c
Submodule vim-tmux-navigator
added at
7db70e
Submodule catppuccin-tmux
added at
b4e071
Submodule tmux
added at
89ad05
Submodule tmux-sensible
added at
25cb91
Submodule tmux-yank
added at
acfd36
Submodule tpm
added at
99469c
Submodule vim-tmux-navigator
added at
7db70e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# vim: ft=tmux | ||
set -g mode-style "fg=#eee8d5,bg=#073642" | ||
|
||
set -g message-style "fg=#eee8d5,bg=#073642" | ||
set -g message-command-style "fg=#eee8d5,bg=#073642" | ||
|
||
set -g pane-border-style "fg=#073642" | ||
set -g pane-active-border-style "fg=#eee8d5" | ||
|
||
set -g status "on" | ||
set -g status-interval 1 | ||
set -g status-justify "left" | ||
|
||
set -g status-style "fg=#586e75,bg=#000000" | ||
|
||
set -g status-bg "#010d11" | ||
|
||
set -g status-left-length "100" | ||
set -g status-right-length "100" | ||
|
||
set -g status-left-style NONE | ||
set -g status-right-style NONE | ||
|
||
set -g status-left "#[fg=#073642,bg=#eee8d5,bold] #S #[fg=#eee8d5,bg=#93a1a1,nobold,nounderscore,noitalics]#[fg=#15161E,bg=#93a1a1,bold] #(whoami) #[fg=#93a1a1,bg=#002b36]" | ||
set -g status-right "#[fg=#586e75,bg=#010d11,nobold,nounderscore,noitalics]#[fg=#93a1a1,bg=#586e75]#[fg=#657b83,bg=#586e75,nobold,nounderscore,noitalics]#[fg=#93a1a1,bg=#657b83]#[fg=#93a1a1,bg=#657b83,nobold,nounderscore,noitalics]#[fg=#15161E,bg=#93a1a1,bold] #h " | ||
|
||
setw -g window-status-activity-style "underscore,fg=#839496,bg=#010d11" | ||
setw -g window-status-separator "" | ||
setw -g window-status-style "NONE,fg=#839496,bg=#002b36" | ||
setw -g window-status-format '#[fg=#002b36,bg=#002b36]#[default] #I #{b:pane_current_path} #[fg=#002b36,bg=#002b36,nobold,nounderscore,noitalics]' | ||
setw -g window-status-current-format '#[fg=#002b36,bg=#eee8d5]#[fg=#73029f,bg=#eee8d5] #I #[fg=#eee8d5,bg=#73029f] #{b:pane_current_path} #[fg=#73029f,bg=#002b36,nobold]' |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
unbind r | ||
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" | ||
|
||
set -sa terminal-overrides ".xterm*:Tc" | ||
set -g mouse on | ||
|
||
bind-key -n M-H previous-window | ||
bind-key -n M-L next-window | ||
|
||
# Binds backtick character to switch to marked pane with prefix + m | ||
bind \` switch-client -t'{marked}' | ||
|
||
# Better split pane keybindings | ||
bind-key '\' split-window -h | ||
bind-key "-" split-window -v -c "#{pane_current_path}" | ||
bind-key "_" split-window -fv -c "#{pane_current_path}" | ||
unbind '"' | ||
unbind % | ||
|
||
|
||
#swap windows around | ||
bind -r "<" swap-window -d -t -1 | ||
bind -r ">" swap-window -d -t +1 | ||
|
||
# Set window and panes at 1, not 0 | ||
set -g base-index 1 | ||
set -g pane-base-index 1 | ||
set-window-option -g renumber-windows on | ||
|
||
# Keep current path in newly created windows | ||
bind c new-window -c "#{pane_current_path}" | ||
|
||
# Pane Resizing: Prefix + Ctrl-h/j/k/l | ||
bind -r C-j resize-pane -D 5 | ||
bind -r C-k resize-pane -U 5 | ||
bind -r C-h resize-pane -L 5 | ||
bind -r C-l resize-pane -R 5 | ||
|
||
# Move selected text up and down with alt-j/k | ||
unbind C-b | ||
set -g prefix C-Space | ||
bind-key C-Space send-prefix | ||
|
||
# Open panes in current directory | ||
bind-key '"' split-window -v -c "#{pane_current_path}" | ||
bind-key % split-window -h -c "#{pane_current_path}" | ||
|
||
# act like vim | ||
setw -g mode-keys vi | ||
bind-key h select-pane -L | ||
bind-key j select-pane -D | ||
bind-key k select-pane -U | ||
bind-key l select-pane -R | ||
|
||
# List of plugins | ||
set -g @plugin 'tmux-plugins/tpm' | ||
set -g @plugin 'tmux-plugins/tmux-sensible' | ||
set -g @plugin 'christoomey/vim-tmux-navigator' | ||
set -g @plugin 'tmux-plugins/tmux-yank' | ||
set -g @plugin 'dreamsofcode-io/catppuccin-tmux' | ||
set -g @catppuccin_flavour 'mocha' | ||
set -g @catppuccin_user "on" | ||
|
||
# modes | ||
setw -g clock-mode-colour colour5 | ||
setw -g mode-style 'fg=colour1 bg=colour18 bold' | ||
|
||
# panes | ||
set -g pane-border-style 'fg=colour19 bg=colour0' | ||
set -g pane-active-border-style 'bg=colour0 fg=colour9' | ||
|
||
# statusbar | ||
set -g status-position bottom | ||
|
||
|
||
|
||
run '~/.config/tmux/.tmux/plugins/tpm/tpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
unbind r | ||
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" | ||
|
||
set -sa terminal-overrides ".xterm*:Tc" | ||
set -g mouse on | ||
|
||
bind-key -n M-H previous-window | ||
bind-key -n M-L next-window | ||
|
||
# Binds backtick character to switch to marked pane with prefix + m | ||
bind \` switch-client -t'{marked}' | ||
|
||
# Better split pane keybindings | ||
bind-key '\' split-window -h | ||
bind-key "-" split-window -v -c "#{pane_current_path}" | ||
bind-key "_" split-window -fv -c "#{pane_current_path}" | ||
unbind '"' | ||
unbind % | ||
|
||
|
||
#swap windows around | ||
bind -r "<" swap-window -d -t -1 | ||
bind -r ">" swap-window -d -t +1 | ||
|
||
# Set window and panes at 1, not 0 | ||
set -g base-index 1 | ||
set -g pane-base-index 1 | ||
set-window-option -g renumber-windows on | ||
|
||
# Keep current path in newly created windows | ||
bind c new-window -c "#{pane_current_path}" | ||
|
||
# Pane Resizing: Prefix + Ctrl-h/j/k/l | ||
bind -r C-j resize-pane -D 5 | ||
bind -r C-k resize-pane -U 5 | ||
bind -r C-h resize-pane -L 5 | ||
bind -r C-l resize-pane -R 5 | ||
|
||
# Move selected text up and down with alt-j/k | ||
unbind C-b | ||
set -g prefix C-Space | ||
bind-key C-Space send-prefix | ||
|
||
# Open panes in current directory | ||
bind-key '"' split-window -v -c "#{pane_current_path}" | ||
bind-key % split-window -h -c "#{pane_current_path}" | ||
|
||
# act like vim | ||
setw -g mode-keys vi | ||
bind-key h select-pane -L | ||
bind-key j select-pane -D | ||
bind-key k select-pane -U | ||
bind-key l select-pane -R | ||
|
||
# List of plugins | ||
set -g @plugin 'tmux-plugins/tpm' | ||
set -g @plugin 'tmux-plugins/tmux-sensible' | ||
set -g @plugin 'christoomey/vim-tmux-navigator' | ||
set -g @plugin 'tmux-plugins/tmux-yank' | ||
set -g @plugin 'dreamsofcode-io/catppuccin-tmux' | ||
set -g @catppuccin_flavour 'mocha' | ||
set -g @catppuccin_date_time "%Y-%m-%d %H:%M" | ||
set -g @catppuccin_user "on" | ||
|
||
# modes | ||
setw -g clock-mode-colour colour5 | ||
setw -g mode-style 'fg=colour1 bg=colour18 bold' | ||
|
||
# panes | ||
set -g pane-border-style 'fg=colour19 bg=colour0' | ||
set -g pane-active-border-style 'bg=colour0 fg=colour9' | ||
|
||
# statusbar | ||
set -g status-position bottom | ||
|
||
|
||
run '~/.config/tmux/.tmux/plugins/tpm/tpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Display lazygit | ||
bind -r g display-popup -d '#{pane_current_path}' -w80% -h80% -E lazygit |