1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # tmux configuration by sharpicx.
# my lovely arch, archicx.
# Unbinded keys
unbind n # default: next window
unbind p # default: previous winodow
unbind C-b # default: prefix
unbind r
unbind h
unbind v
unbind % # default: key of vertcial split
unbind '"' # default: key of horizontal split
unbind c # default: create a new window
unbind k # default: none at all.
unbind , # default: rename
unbind +
unbind C-c
# ---
# ---
# General Settings.
# ---
set -g repeat-time 300
setw -g allow-rename off
setw -g automatic-rename off
set -g buffer-limit 20
set -g default-terminal "screen-256color"
set -g base-index 1
# ---
# replacing the default prefix with a new one.
# ---
set -g prefix C-Space
bind-key C-Space send-prefix
# ---
# key to reload a config file.
# ---
bind + source ~/.tmux.conf \; display 'CONFIG RELOADED!'
# ---
# Window settings
# ---
# create window
bind c new-window -c "#{pane_current_path}"
# kill window and pane
bind x kill-pane
bind X kill-window
# renaming window & session
bind r command-prompt "rename-window '%%"
bind R command-prompt "rename-session '%%'"
# hotkey to switch between panes
bind -n S-Left select-pane -L
bind -n S-Right select-pane -R
bind -n S-Up select-pane -U
bind -n S-Down select-pane -D
# hotkeys to make a move between windows in a session.
bind -n C-Left previous-window
bind -n C-Right next-window
# tmux pane border colors
set -ag pane-border-style fg=white,bg=black
set -ag pane-active-border-style fg=blue,bg=black
# Splitting Panels.
bind - split-window -v -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
set -g display-panes-time 1500
# activating UTF-8
# set-window-option -g utf8 on
# status line
source "/usr/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf"
# set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
# Mouse mode.
set -g mouse on
# adding more history.
set -g history-limit 200000
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-cpu'
# Other examples:
# doesnt work
set -g @plugin "arcticicestudio/nord-tmux"
set -g @plugin 'b0o/tmux-autoreload'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
# Project: Nord tmux
# Repository: https://github.com/arcticicestudio/nord-tmux
# License: MIT
# modified: sharpicx
#+----------------+
#+ Plugin Support +
#+----------------+
#+--- tmux-prefix-highlight ---+
set -g @prefix_highlight_attr 'fg=white,bg=brightblack,bold'
#+---------+
#+ Options +
#+---------+
set -g status-interval 1
set -g status on
#+--------+
#+ Status +
#+--------+
#+--- Layout ---+
set -g status-justify left
#+--- Colors ---+
set -g status-style bg=black,fg=white
#+-------+
#+ Panes +
#+-------+
set -g pane-border-style bg=black,fg=red
set -g pane-active-border-style bg=black,fg=blue
set -g display-panes-colour black
set -g display-panes-active-colour brightblack
#+------------+
#+ Clock Mode +
#+------------+
setw -g clock-mode-colour brightblue
#+----------+
#+ Messages +
#+---------+
set -g message-style bg=brightblack,fg=white
set -g message-command-style bg=black,fg=magenta
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
# Project: Nord tmux
# Repository: https://github.com/arcticicestudio/nord-tmux
# License: MIT
# modified: sharpicx
#+----------------+
#+ Plugin Support +
#+----------------+
#+--- tmux-prefix-highlight ---+
set -g @prefix_highlight_output_prefix "#[fg=brightblack]#[bg=magenta]#[nobold]#[noitalics]#[nounderscore]#[bg=black,fg=magenta]"
set -g @prefix_highlight_output_suffix ""
#+--------+
#+ Status +
#+--------+
#+--- Bars ---+
set -g status-left "#[fg=brightblack,bg=blue,bold] #S #[fg=blue,bg=black,nobold,noitalics,nounderscore]"
set -g status-right "#{prefix_highlight} #[bg=black,fg=yellow]#[fg=black,bg=yellow,bold] #(uname -r) #[fg=white,bg=yellow,nobold,noitalics,nounderscore]#[fg=brightblack,bold,bg=white] ${NORD_TMUX_STATUS_DATE_FORMAT} #[fg=brightblack,bg=white,nobold,noitalics,nounderscore]#[fg=white,bold,bg=brightblack] ${NORD_TMUX_STATUS_TIME_FORMAT} #[fg=blue,bg=brightblack,nobold,noitalics,nounderscore]#[fg=brightblack,bg=blue,bold] #(whoami)@#H "
#+--- Windows ---+
set -g window-status-format "#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]"
set -g window-status-current-format "#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#I #[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F #[fg=cyan,bg=black,nobold,noitalics,nounderscore]"
set -g window-status-separator ""
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
# Project: Nord tmux
# Repository: https://github.com/arcticicestudio/nord-tmux
# License: MIT
#+----------------+
#+ Plugin Support +
#+----------------+
#+--- tmux-prefix-highlight ---+
#+--------+
#+ Status +
#+--------+
#+--- Bars ---+
set -g status-left "#[fg=brightblack,bg=blue,bold] #S "
set -g status-right "#{prefix_highlight}#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_DATE_FORMAT} #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]|#[fg=white,bg=brightblack] ${NORD_TMUX_STATUS_TIME_FORMAT} #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=cyan,bold] #H "
#+--- Windows ---+
set -g window-status-format " #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack]#W #F"
set -g window-status-current-format " #[fg=black,bg=cyan]#I#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F"
set -g window-status-separator ""
|
x
Notes
just wanna save this file.