Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkskittlz (Linux) committed Nov 19, 2023
0 parents commit 5352105
Show file tree
Hide file tree
Showing 17 changed files with 518 additions and 0 deletions.
1 change: 1 addition & 0 deletions .tmux/plugins/catppuccin-tmux
Submodule catppuccin-tmux added at b4e071
1 change: 1 addition & 0 deletions .tmux/plugins/tmux
Submodule tmux added at 89ad05
1 change: 1 addition & 0 deletions .tmux/plugins/tmux-sensible
Submodule tmux-sensible added at 25cb91
1 change: 1 addition & 0 deletions .tmux/plugins/tmux-yank
Submodule tmux-yank added at acfd36
1 change: 1 addition & 0 deletions .tmux/plugins/tpm
Submodule tpm added at 99469c
1 change: 1 addition & 0 deletions .tmux/plugins/vim-tmux-navigator
Submodule vim-tmux-navigator added at 7db70e
1 change: 1 addition & 0 deletions plugins/catppuccin-tmux
Submodule catppuccin-tmux added at b4e071
1 change: 1 addition & 0 deletions plugins/tmux
Submodule tmux added at 89ad05
1 change: 1 addition & 0 deletions plugins/tmux-sensible
Submodule tmux-sensible added at 25cb91
1 change: 1 addition & 0 deletions plugins/tmux-yank
Submodule tmux-yank added at acfd36
1 change: 1 addition & 0 deletions plugins/tpm
Submodule tpm added at 99469c
1 change: 1 addition & 0 deletions plugins/vim-tmux-navigator
Submodule vim-tmux-navigator added at 7db70e
31 changes: 31 additions & 0 deletions statusline.conf
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]'
319 changes: 319 additions & 0 deletions tmux-client-5126.log

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions tmux.conf
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'
77 changes: 77 additions & 0 deletions tmux.conf2
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'
2 changes: 2 additions & 0 deletions utility.conf
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

0 comments on commit 5352105

Please sign in to comment.