forked from nullxception/dotfiles
-
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.
Signed-off-by: alanndz <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
#!/bin/bash | ||
module_target="$HOME" |
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,55 @@ | ||
# split panes using | and - | ||
bind | split-window -h | ||
bind - split-window -v | ||
unbind '"' | ||
unbind % | ||
|
||
# switch panes using Alt-arrow without prefix | ||
bind -n M-Left select-pane -L | ||
bind -n M-Right select-pane -R | ||
bind -n M-Up select-pane -U | ||
bind -n M-Down select-pane -D | ||
|
||
# Enable mouse mode (tmux 2.1 and above) | ||
set -g mouse on | ||
|
||
# don't rename windows automatically | ||
set-option -g allow-rename off | ||
|
||
## COLORSCHEME: gruvbox dark | ||
set-option -g status "on" | ||
|
||
# default statusbar colors | ||
set-option -g status-bg colour237 #bg1 | ||
set-option -g status-fg colour223 #fg1 | ||
|
||
# pane border | ||
# set -g pane-border-bg colour249 | ||
#set -g pane-border-fg colour238 | ||
#set-option -g pane-active-border-fg colour250 #fg2 | ||
#set-option -g pane-border-fg colour237 #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 fg=colour235,bg=colour167 #bg, red | ||
|
||
|
||
## Theme settings mixed with colors (unfortunately, but there is no cleaner way) | ||
set-option -g status-justify "left" | ||
set-option -g status-left-length "80" | ||
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=colour239, bg=colour248, :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]" | ||
set -g default-terminal "screen-256color" | ||
set-option -g default-shell /usr/bin/fish |