mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-21 16:19:36 +01:00
Merge branch 'main' into linux
This commit is contained in:
commit
6d38905b4d
@ -1767,16 +1767,18 @@ font_size 13.0
|
||||
#: The full list of actions that can be mapped to key presses is
|
||||
#: available here <https://sw.kovidgoyal.net/kitty/actions/>.
|
||||
|
||||
# kitty_mod ctrl+shift
|
||||
|
||||
kitty_mod ctrl+alt+shift
|
||||
#: Special modifier key alias for default shortcuts. You can change
|
||||
#: the value of this option to alter all default shortcuts that use
|
||||
#: kitty_mod.
|
||||
#: kitty_mod.
|
||||
#default was ctrl+shift. I changed it because it was masking
|
||||
# my tmux keybindings with ctrl shift.
|
||||
|
||||
# clear_all_shortcuts no
|
||||
clear_all_shortcuts yes
|
||||
|
||||
#: Remove all shortcut definitions up to this point. Useful, for
|
||||
#: instance, to remove the default shortcuts.
|
||||
# I just get rid of all shortcuts because I don't use a single one of them
|
||||
|
||||
# action_alias
|
||||
|
||||
|
37
.config/tmux/dark-alternative.conf
Normal file
37
.config/tmux/dark-alternative.conf
Normal file
@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# TokyoNight colors for Tmux
|
||||
|
||||
set -g mode-style "fg=#7aa2f7,bg=#3b4261"
|
||||
|
||||
set -g message-style "fg=#7aa2f7,bg=#3b4261"
|
||||
set -g message-command-style "fg=#7aa2f7,bg=#3b4261"
|
||||
|
||||
set -g pane-border-style "fg=#3b4261"
|
||||
set -g pane-active-border-style "fg=#7aa2f7"
|
||||
|
||||
set -g status "on"
|
||||
set -g status-justify "centre"
|
||||
|
||||
set -g status-style "fg=#7aa2f7,bg=#16161e"
|
||||
|
||||
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=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
|
||||
|
||||
setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "NONE,fg=#a9b1d6,bg=#16161e"
|
||||
setw -g window-status-format "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
|
||||
# tmux-plugins/tmux-prefix-highlight support
|
||||
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
|
||||
set -g @prefix_highlight_output_suffix ""
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
65
.config/tmux/dark.conf
Normal file
65
.config/tmux/dark.conf
Normal file
@ -0,0 +1,65 @@
|
||||
# tmux status line config for light theme
|
||||
|
||||
# st.foreground: #A9B1D6
|
||||
# st.background: #24283b
|
||||
# st.cursorColor: #A9B1D6
|
||||
# st.highlightColor:#3A3F4B
|
||||
#
|
||||
# ! Black colours
|
||||
# st.color0: #1A1B26
|
||||
# st.color8: #4E5173
|
||||
# ! Red colours
|
||||
# st.color1: #F7768E
|
||||
# st.color9: #E06C75
|
||||
# ! Yellow colours
|
||||
# st.color6: #E0AF68
|
||||
# st.color14: #D19A66
|
||||
# ! Green colours
|
||||
# st.color3: #9ECE6A
|
||||
# st.color11: #98C379
|
||||
# ! Blue colours
|
||||
# st.color4: #7AA2F7
|
||||
# st.color12: #61AFEF
|
||||
# ! Magenta (pink, !green) colours
|
||||
# st.color5: #9A7ECC
|
||||
# st.color13: #C678DD
|
||||
# ! Cyan (blue + green)
|
||||
# st.color2: #4ABAAF
|
||||
# st.color10: #56B6C2
|
||||
# ! White colours
|
||||
# st.color7: #ACB0D0
|
||||
# st.color15: #ABB2BF
|
||||
|
||||
darker_accent="#e0af68"
|
||||
accent="#528ef5"
|
||||
lighter_accent="#3b4261"
|
||||
bg="default"
|
||||
fg_text="#111111"
|
||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||
mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
||||
|
||||
uptime="#(uptime | cut -d ',' -f 1 | cut -d ' ' -f3-)"
|
||||
|
||||
set -g status-justify "centre"
|
||||
set -g status "on"
|
||||
set -g status-left-style "none"
|
||||
set -g message-command-style "fg=$accent,bg=$bg"
|
||||
set -g status-right-style "none"
|
||||
set -g status-style "none,bg=$bg"
|
||||
set -g message-style "fg=$accent,bg=$bg"
|
||||
set -g pane-border-style "fg=$bg"
|
||||
set -g pane-active-border-style "fg=$accent"
|
||||
set -g status-right-length "100"
|
||||
set -g status-left-length "100"
|
||||
setw -g window-status-activity-style "none"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "none,fg=$fg_text,bg=$bg"
|
||||
|
||||
set -g status-left "#[fg=$fg_text,bg=$accent] #S #[fg=$accent,bg=$bg,nobold,nounderscore,noitalics] "
|
||||
|
||||
setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$accent,bg=$lighter_accent] #I#[fg=$accent,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]"
|
||||
setw -g window-status-current-format "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent,bold]#I#[fg=$fg_text,bg=$accent]#W#F#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]"
|
||||
|
||||
# set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime %H:%M %d/%m/%Y#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode"
|
||||
set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode"
|
88
.config/tmux/light-alternative.conf
Normal file
88
.config/tmux/light-alternative.conf
Normal file
@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env bash
|
||||
# tmux status line config for light theme
|
||||
|
||||
# # darker_accent="#005bb5"
|
||||
# darker_accent="#8c6c3e"
|
||||
# lighter="#6172b0"
|
||||
# # accent="#528ef5"
|
||||
# accent="#2e7de9"
|
||||
# # bg="#aac0e0"
|
||||
# bg="#e9e9ed"
|
||||
# grayish="#a8aecb"
|
||||
# fg_text="#111111"
|
||||
# prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||
# sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||
# mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
||||
#
|
||||
# set -g status "on"
|
||||
# set -g status-justify "centre"
|
||||
# set -g status-left-style "none"
|
||||
#
|
||||
# set -g message-style "fg=$accent,bg=$bg"
|
||||
# set -g message-command-style "fg=$accent,bg=$bg"
|
||||
#
|
||||
# set -g pane-border-style "fg=$bg"
|
||||
# set -g pane-active-border-style "fg=$accent"
|
||||
#
|
||||
# set -g status-right-style "none"
|
||||
# set -g status-style "none,bg=$bg"
|
||||
# set -g status-right-length "100"
|
||||
# set -g status-left-length "100"
|
||||
# setw -g window-status-activity-style "none"
|
||||
# setw -g window-status-separator ""
|
||||
# setw -g window-status-style "none,fg=$fg_text,bg=$bg"
|
||||
#
|
||||
# set -g status-left "#[fg=$bg,bg=$accent,bold] #S #[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]"
|
||||
#
|
||||
# # setw -g window-status-format "#[fg=$grayish,bg=$bg] #I #[fg=$grayish,bg=$bg] #W #F"
|
||||
# setw -g window-status-style "NONE,fg=$lighter,bg=$bg"
|
||||
# setw -g window-status-format "#[fg=$bg,bg=$bg,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=$bg,bg=$bg,nobold,nounderscore,noitalics]"
|
||||
# setw -g window-status-current-format "#[fg=$bg,bg=$grayish,nobold,nounderscore,noitalics]#[fg=$accent,bg=$grayish,bold,underscore] #I #[fg=$accent,bg=$grayish] #W #[fg=$grayish,bg=$bg,nobold,nounderscore,noitalics]"
|
||||
#
|
||||
# set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] %Y-%m-%d %H:%M #h #[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics] #[bg=$fg_text,fg=$darker_accent]$prefix$sync$mode"
|
||||
#
|
||||
#
|
||||
# # set -g status-left '#[fg=colour232,bg=colour37] #S #[fg=colour37,bg=colour73,nobold,nounderscore,noitalics]#[fg=colour232,bg=colour73] #W #[fg=colour73,bg=default,nobold,nounderscore,noitalics] '
|
||||
# # setw -g window-status-current-format '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[fg=default,bg=colour235,bold,underscore]#I #W #F#[fg=colour235,bg=default,nobold,nounderscore,noitalics]'
|
||||
# # setw -g window-status-format '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour150,bg=default]#I #W#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]'
|
||||
# # set -g status-right '#[fg=colour235,bg=default,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235]%R %a %h-%d #[fg=colour37,bg=colour235,nobold,nounderscore,noitalics] #{prefix_highlight}'
|
||||
#
|
||||
# # set -g status-left '#[fg=colour232,bg=colour154] #S #[fg=colour154,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #W #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] #(whoami) #(uptime | cut -d " " -f 1,2,3) #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]'
|
||||
#
|
||||
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# TokyoNight colors for Tmux
|
||||
|
||||
set -g mode-style "fg=#2e7de9,bg=#a8aecb"
|
||||
|
||||
set -g message-style "fg=#2e7de9,bg=#a8aecb"
|
||||
set -g message-command-style "fg=#2e7de9,bg=#a8aecb"
|
||||
|
||||
set -g pane-border-style "fg=#a8aecb"
|
||||
set -g pane-active-border-style "fg=#2e7de9"
|
||||
|
||||
set -g status "on"
|
||||
set -g status-justify "centre"
|
||||
|
||||
set -g status-style "fg=#2e7de9,bg=#e9e9ec"
|
||||
|
||||
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=#e9e9ed,bg=#2e7de9,bold] #S #[fg=#2e7de9,bg=#e9e9ec,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#e9e9ec,bg=#e9e9ec,nobold,nounderscore,noitalics]#[fg=#2e7de9,bg=#e9e9ec] #{prefix_highlight} #[fg=#a8aecb,bg=#e9e9ec,nobold,nounderscore,noitalics]#[fg=#2e7de9,bg=#a8aecb] %Y-%m-%d %I:%M %p #[fg=#2e7de9,bg=#a8aecb,nobold,nounderscore,noitalics]#[fg=#e9e9ed,bg=#2e7de9,bold] #h "
|
||||
|
||||
setw -g window-status-activity-style "underscore,fg=#6172b0,bg=#e9e9ec"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "NONE,fg=#6172b0,bg=#e9e9ec"
|
||||
setw -g window-status-format "#[fg=#e9e9ec,bg=#e9e9ec,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#e9e9ec,bg=#e9e9ec,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#e9e9ec,bg=#a8aecb,nobold,nounderscore,noitalics]#[fg=#2e7de9,bg=#a8aecb,bold] #I #W #F #[fg=#a8aecb,bg=#e9e9ec,nobold,nounderscore,noitalics]"
|
||||
|
||||
# tmux-plugins/tmux-prefix-highlight support
|
||||
set -g @prefix_highlight_output_prefix "#[fg=#8c6c3e]#[bg=#e9e9ec]#[fg=#e9e9ec]#[bg=#8c6c3e]"
|
||||
set -g @prefix_highlight_output_suffix ""
|
68
.config/tmux/light.conf
Normal file
68
.config/tmux/light.conf
Normal file
@ -0,0 +1,68 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ! TokyoNight colors for Xresources day
|
||||
# st.background: #e1e2e7
|
||||
# st.foreground: #3760bf
|
||||
# st.color0: #e9e9ed
|
||||
# st.color1: #f52a65
|
||||
# st.color2: #587539
|
||||
# st.color3: #8c6c3e
|
||||
# st.color4: #2e7de9
|
||||
# st.color5: #9854f1
|
||||
# st.color6: #007197
|
||||
# st.color7: #6172b0
|
||||
# st.color8: #a1a6c5
|
||||
# st.color9: #f52a65
|
||||
# st.color10: #587539
|
||||
# st.color11: #8c6c3e
|
||||
# st.color12: #2e7de9
|
||||
# st.color13: #9854f1
|
||||
# st.color14: #007197
|
||||
# st.color15: #3760bf
|
||||
|
||||
# darker_accent="colour7"
|
||||
# accent="colour4"
|
||||
# bg1="colour0"
|
||||
# bg2="colour0"
|
||||
# grayish="colour8"
|
||||
# prefix_color="colour11"
|
||||
|
||||
# TokyoNight colors for Tmux
|
||||
darker_accent="#6172b0"
|
||||
accent="#2e7de9"
|
||||
bg1="#d1d4e3"
|
||||
bg2="default"
|
||||
grayish="#a8aecb"
|
||||
prefix_color="#8c6c3e"
|
||||
|
||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||
mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
||||
uptime="#(uptime | cut -d ',' -f 1 | cut -d ' ' -f3-)"
|
||||
|
||||
set -g mode-style "fg=$accent,bg=$grayish"
|
||||
|
||||
set -g message-style "fg=$accent,bg=$grayish"
|
||||
set -g message-command-style "fg=$accent,bg=$grayish"
|
||||
|
||||
set -g pane-border-style "fg=$grayish"
|
||||
set -g pane-active-border-style "fg=$accent"
|
||||
|
||||
set -g status "on"
|
||||
set -g status-justify "centre"
|
||||
|
||||
set -g status-style "fg=$accent,bg=$bg2"
|
||||
|
||||
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=$bg1,bg=$accent,bold] #h #[fg=$accent,bg=$bg1,nobold,nounderscore,noitalics] #[fg=$accent,bg=$bg1,bold] #S #[fg=$bg1,bg=$bg2,nobold,nounderscore,noitalics] "
|
||||
set -g status-right "#[fg=$bg1,bg=$bg2,nobold,nounderscore,noitalics] #[fg=$accent,bg=$bg1] $uptime %H:%M %d/%m/%Y #[fg=$accent,bg=$bg1,nobold,nounderscore,noitalics] #[fg=$accent,bg=$bg1,bold]$prefix$sync$mode"
|
||||
|
||||
setw -g window-status-activity-style "underscore,fg=$darker_accent,bg=$bg2"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-format "#[fg=$bg1,bg=$bg2,nobold,nounderscore,noitalics] #[bg=$bg1,fg=$accent] #I #W #F #[fg=$bg1,bg=$bg2,nobold,nounderscore,noitalics] "
|
||||
setw -g window-status-current-format "#[fg=$grayish,bg=$bg2,nobold,nounderscore,noitalics] #[fg=$accent,bg=$grayish,bold] #I #W #F #[fg=$grayish,bg=$bg2,nobold,nounderscore,noitalics] "
|
1
.config/tmux/plugins/tpm
Submodule
1
.config/tmux/plugins/tpm
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
180
.config/tmux/tmux.conf
Normal file
180
.config/tmux/tmux.conf
Normal file
@ -0,0 +1,180 @@
|
||||
# remap prefix to Control + Space
|
||||
set -g prefix C-Space
|
||||
bind C-Space last-window
|
||||
# set -g prefix Escape
|
||||
# bind Escape send-keys Escape
|
||||
# bind "'" last-window
|
||||
unbind C-b
|
||||
|
||||
set-option -g allow-passthrough on
|
||||
|
||||
# Smart pane switching with awareness of Vim splits.
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n 'C-h' if-shell "$is_vim" { send-keys C-h } { if-shell -F '#{pane_at_left}' {} { select-pane -L } }
|
||||
bind-key -n 'C-j' if-shell "$is_vim" { send-keys C-j } { if-shell -F '#{pane_at_bottom}' {} { select-pane -D } }
|
||||
bind-key -n 'C-k' if-shell "$is_vim" { send-keys C-k } { if-shell -F '#{pane_at_top}' {} { select-pane -U } }
|
||||
bind-key -n 'C-l' if-shell "$is_vim" { send-keys C-l } { if-shell -F '#{pane_at_right}' {} { select-pane -R } }
|
||||
|
||||
bind-key -T copy-mode-vi 'C-h' if-shell -F '#{pane_at_left}' {} { select-pane -L }
|
||||
bind-key -T copy-mode-vi 'C-j' if-shell -F '#{pane_at_bottom}' {} { select-pane -D }
|
||||
bind-key -T copy-mode-vi 'C-k' if-shell -F '#{pane_at_top}' {} { select-pane -U }
|
||||
bind-key -T copy-mode-vi 'C-l' if-shell -F '#{pane_at_right}' {} { select-pane -R }
|
||||
tmux_version='$(tmux -V | sed -En "s/^tmux ([0-9]+(.[0-9]+)?).*/\1/p")'
|
||||
if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \
|
||||
"bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\' 'select-pane -l'"
|
||||
if-shell -b '[ "$(echo "$tmux_version >= 3.0" | bc)" = 1 ]' \
|
||||
"bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\\\' 'select-pane -l'"
|
||||
|
||||
bind-key -n C-] copy-mode
|
||||
bind-key -n 'C-M-c' copy-mode
|
||||
|
||||
bind-key -T copy-mode-vi 'C-h' select-pane -L
|
||||
bind-key -T copy-mode-vi 'C-j' select-pane -D
|
||||
bind-key -T copy-mode-vi 'C-k' select-pane -U
|
||||
bind-key -T copy-mode-vi kC-l' select-pane -R
|
||||
|
||||
# vim like copy mode
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
|
||||
setw -g mode-keys vi
|
||||
|
||||
# Mouse support - set to on if you want to use the mouse
|
||||
setw -g mouse on
|
||||
|
||||
bind -r C-n next-window
|
||||
bind -r C-p previous-window
|
||||
|
||||
# source the .tmux.conf file with prefix + r
|
||||
bind r source-file ~/.config/tmux/tmux.conf \; display "Configuration Reloaded!"
|
||||
|
||||
bind-key - split-window -v
|
||||
bind-key '\' split-window -h
|
||||
bind-key _ split-window -fv
|
||||
bind-key | split-window -fh
|
||||
|
||||
bind -r h resize-pane -L 5
|
||||
bind -r j resize-pane -D 5
|
||||
bind -r k resize-pane -U 5
|
||||
bind -r l resize-pane -R 5
|
||||
|
||||
|
||||
# set -g lock-after-time 300
|
||||
# set -g lock-command "asciiquarium"
|
||||
|
||||
# bind-key "'" choose-window
|
||||
# bind-key '"' choose-session
|
||||
# kill current pane/window
|
||||
bind-key q kill-pane
|
||||
bind-key w kill-window
|
||||
# bind-key Q confirm-before kill-window
|
||||
# bind-key -n C-q confirm-before kill-pane
|
||||
# bind-key -n C-w confirm-before kill-window
|
||||
|
||||
# undercurl support for tmux
|
||||
set -g default-terminal "${TERM}"
|
||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
|
||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
|
||||
|
||||
# reorder windows
|
||||
bind-key -n C-S-Left swap-window -t -1\; select-window -t -1
|
||||
bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
|
||||
bind-key -n C-Up swap-pane -s '{up-of}'
|
||||
bind-key -n C-Down swap-pane -s '{down-of}'
|
||||
bind-key -n C-Left swap-pane -s '{left-of}'
|
||||
bind-key -n C-Right swap-pane -s '{right-of}'
|
||||
|
||||
# set -g default-terminal "xterm-256color"
|
||||
# tell Tmux that outside terminal supports true color
|
||||
# set -ga terminal-overrides ",xterm-256color*:Tc"
|
||||
|
||||
# start session number from 1 rather than 0
|
||||
# set -g base-index 1
|
||||
|
||||
# start pane number from 1 similar to windows
|
||||
# setw -g pane-base-index 1
|
||||
|
||||
|
||||
# highlight active pane
|
||||
# set -g window-style 'fg=colour247,bg=colour236'
|
||||
# set -g window-active-style 'fg=colour250,bg=black'
|
||||
# set-option -g pane-active-border-style fg=red
|
||||
|
||||
# use <prefix> C-l to clear screen
|
||||
bind C-l send-keys 'C-l'
|
||||
|
||||
# use <prefix> Enter for zooming the current pane
|
||||
bind-key Enter if-shell "$is_vim" {
|
||||
resize-pane -Z
|
||||
# send-keys C-w =
|
||||
} {
|
||||
resize-pane -Z
|
||||
}
|
||||
|
||||
|
||||
|
||||
# use <prefix> C-j for join pane
|
||||
bind-key C-j join-pane
|
||||
|
||||
|
||||
# status bar theme
|
||||
# set -g status 'on'
|
||||
set-option -g status-position bottom
|
||||
source-file ~/.config/tmux/dark.conf
|
||||
|
||||
|
||||
|
||||
set -g status-interval 1
|
||||
|
||||
set-option -g automatic-rename on
|
||||
set-option -g automatic-rename-format '#{b:pane_current_path}'
|
||||
|
||||
# Plugin Customizations
|
||||
|
||||
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
|
||||
set -g @prefix_highlight_output_suffix ""
|
||||
set -g @prefix_highlight_fg 'colour0'
|
||||
set -g @prefix_highlight_bg 'colour37'
|
||||
set -g @prefix_highlight_sync_mode_attr 'fg=colour0,bg=colour36'
|
||||
set -g @prefix_highlight_copy_mode_attr 'fg=colour0,bg=colour33'
|
||||
set -g @prefix_highlight_show_copy_mode 'on'
|
||||
set -g @prefix_highlight_show_sync_mode 'on'
|
||||
set -g @prefix_highlight_sync_prompt 'SYNC'
|
||||
|
||||
set -g @resurrect-strategy-vim 'session'
|
||||
set -g @batt_icon_status_charging '⚡'
|
||||
set -g @yank_selection_mouse 'clipboard' # or 'primary' or 'secondary'
|
||||
set -g @yank_action 'copy-pipe' # or 'copy-pipe-and-cancel' for the default
|
||||
set -g @copycat_hash_search 'C-h'
|
||||
set -g @copycat_ip_search 'M-i'
|
||||
set -g @copytk-copy-command "xsel --clipboard"
|
||||
set -g @menus_trigger 't'
|
||||
|
||||
# set -g @pomodoro_start 'a' # Start a Pomodoro with tmux-prefix + p
|
||||
# set -g @pomodoro_cancel 'A' # Cancel a Pomodoro with tmux-prefix key + P
|
||||
# set -g @pomodoro_on " #[fg=$text_red]🍅 " # The formatted output when the pomodoro is running
|
||||
# set -g @pomodoro_complete " #[fg=$text_green]🍅 " # The formatted output when the break is running
|
||||
|
||||
# set -g @continuum-boot 'on'
|
||||
# set -g @continuum-restore 'on'
|
||||
set -g @resurrect-save 'i'
|
||||
set -g @resurrect-restore 'R'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
# set -g @plugin 'tmux-plugins/tmux-open'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
# set -g @plugin 'tmux-plugins/tmux-copycat'
|
||||
# set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||
# set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
# set -g @plugin 'tmux-plugins/tmux-cowboy'
|
||||
# set -g @plugin 'jaclu/tmux-menus'
|
||||
# set -g @plugin 'laktak/extrakto'
|
||||
# set -g @plugin 'CrispyConductor/tmux-copy-toolkit'
|
||||
# set -g @plugin 'olimorris/tmux-pomodoro-plus'
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "/home/sahin/.config/tmux/plugins/tpm"]
|
||||
path = /home/sahin/.config/tmux/plugins/tpm
|
||||
url = https://github.com/tmux-plugins/tpm.git
|
Loading…
Reference in New Issue
Block a user