Compare commits
4 commits
7233827a91
...
9a246ee05b
Author | SHA1 | Date | |
---|---|---|---|
9a246ee05b | |||
0e9598b8be | |||
39b2b27ef1 | |||
363219a014 |
7 changed files with 15 additions and 92 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
.netrwhist
|
||||
vim/.vim/plugged
|
||||
zsh/.zsh/cache
|
||||
.DS_Store
|
||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "tmux/.tmux/plugins/tpm"]
|
||||
path = tmux/.tmux/plugins/tpm
|
||||
url = https://github.com/tmux-plugins/tpm.git
|
|
@ -22,7 +22,7 @@
|
|||
;; accept. For example:
|
||||
;;
|
||||
(setq doom-font (font-spec :family "Hack" :size 12)
|
||||
doom-variable-pitch-font (font-spec :family "Arial" :size 12))
|
||||
doom-variable-pitch-font (font-spec :family "Liberation Sans" :size 12))
|
||||
;;
|
||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||
|
@ -32,7 +32,7 @@
|
|||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme 'doom-dracula)
|
||||
(setq doom-theme 'doom-nord)
|
||||
|
||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
;;pass ; password manager for nerds
|
||||
;;pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
pinentry
|
||||
;;rgb ; creating color strings
|
||||
;;taskrunner ; taskrunner for all your projects
|
||||
;;terraform ; infrastructure as code
|
||||
|
@ -173,7 +174,7 @@
|
|||
;;swift ; who asked for emoji variables?
|
||||
;;terra ; Earth and Moon in alignment for performance.
|
||||
;;web ; the tubes
|
||||
;;yaml ; JSON, but readable
|
||||
yaml ; JSON, but readable
|
||||
;;zig ; C, but simpler
|
||||
|
||||
:email
|
||||
|
|
|
@ -1,95 +1,11 @@
|
|||
# Support 256 colors rather than 16.
|
||||
#set -g default-terminal "screen-256color"
|
||||
|
||||
# True color support in tmux
|
||||
set -g default-terminal "xterm-256color"
|
||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||
|
||||
# Big history.
|
||||
set -g history-limit 10000
|
||||
|
||||
# Make the status bar pretty.
|
||||
# set -g status-bg colour16
|
||||
# set -g status-fg colour61
|
||||
# set -g window-status-style bg=colour236,fg=colour141
|
||||
# set -g window-status-current-style bg=colour236,fg=colour80
|
||||
|
||||
# Add some info to the status bar
|
||||
set -g status-right-length 70
|
||||
set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | Mem: #(~/bin/tmux-free-memory.sh) free | Load: #(uptime | rev | cut -f1-3 -d ' ' | rev)"
|
||||
|
||||
# Auto-set window title
|
||||
setw -g automatic-rename
|
||||
|
||||
# Make mouse useful
|
||||
set -g mouse on
|
||||
|
||||
# Add vim keys to navigate
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
# Add key to reload ~/.tmux.conf
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
# More logical (to me) split keys.
|
||||
bind - split-window -p 38 -v
|
||||
bind | split-window -p 38 -h
|
||||
|
||||
# Keybindings for resizing panes that don't collide with OSX bindings
|
||||
bind -r C-h resize-pane -L
|
||||
bind -r C-j resize-pane -D
|
||||
bind -r C-k resize-pane -U
|
||||
bind -r C-l resize-pane -R
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin "arcticicestudio/nord-tmux"
|
||||
|
||||
set -g mouse on
|
||||
|
||||
## COLORSCHEME: gruvbox dark
|
||||
set-option -g status "on"
|
||||
|
||||
# default statusbar color
|
||||
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1
|
||||
|
||||
# default window with an activity alert
|
||||
set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
|
||||
|
||||
# pane border
|
||||
set-option -g pane-active-border-style fg=colour250 #fg2
|
||||
set-option -g pane-border-style fg=colour237 #bg1
|
||||
|
||||
# message infos
|
||||
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
|
||||
|
||||
# writing commands inactive
|
||||
set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour colour250 #fg2
|
||||
set-option -g display-panes-colour colour237 #bg1
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour colour109 #blue
|
||||
|
||||
# bell
|
||||
set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg
|
||||
|
||||
## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
|
||||
set-option -g status-justify "left"
|
||||
set-option -g status-left-style none
|
||||
set-option -g status-left-length "80"
|
||||
set-option -g status-right-style none
|
||||
set-option -g status-right-length "80"
|
||||
set-window-option -g window-status-separator ""
|
||||
|
||||
set-option -g status-left "#[fg=colour248, bg=colour241] #S #[fg=colour241, bg=colour237, nobold, noitalics, nounderscore]"
|
||||
set-option -g status-right "#[fg=colour239, bg=colour237, nobold, nounderscore, noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d %H:%M #[fg=colour248, bg=colour239, nobold, noitalics, nounderscore]#[fg=colour237, bg=colour248] #h "
|
||||
|
||||
set-window-option -g window-status-current-format "#[fg=colour237, bg=colour214, nobold, noitalics, nounderscore]#[fg=colour239, bg=colour214] #I #[fg=colour239, bg=colour214, bold] #W #[fg=colour214, bg=colour237, nobold, noitalics, nounderscore]"
|
||||
set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]"
|
||||
|
||||
|
||||
# Start a new session if one doesn't exist.
|
||||
new-session
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
1
tmux/.tmux/.gitignore
vendored
Normal file
1
tmux/.tmux/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*
|
1
tmux/.tmux/plugins/tpm
Submodule
1
tmux/.tmux/plugins/tpm
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
Loading…
Reference in a new issue