mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
feat: tmux theme, arb=>json filetype detection
This commit is contained in:
@@ -17,7 +17,8 @@ bind -n C-M-Up select-pane -U
|
||||
bind -n C-M-Down select-pane -D
|
||||
|
||||
# Ctrl+K to clear
|
||||
bind -n C-k send-keys -R \; send-keys C-l
|
||||
# bind -n C-k send-keys -R \; send-keys C-l
|
||||
bind -n C-k send-keys C-l
|
||||
|
||||
# Ctrl+Shift+W to close session
|
||||
bind -n C-M-w confirm-before kill-session
|
||||
@@ -46,38 +47,40 @@ set -g @plugin 'noscript/tmux-mighty-scroll'
|
||||
### DESIGN CHANGES ###
|
||||
######################
|
||||
|
||||
# loud or quiet?
|
||||
set -g visual-activity off
|
||||
set -g visual-bell off
|
||||
set -g visual-silence off
|
||||
setw -g monitor-activity off
|
||||
set -g bell-action none
|
||||
|
||||
# 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'
|
||||
source-file "${HOME}/.tmux-themepack/powerline/double/red.tmuxtheme"
|
||||
|
||||
# # loud or quiet?
|
||||
# set -g visual-activity off
|
||||
# set -g visual-bell off
|
||||
# set -g visual-silence off
|
||||
# setw -g monitor-activity off
|
||||
# set -g bell-action none
|
||||
#
|
||||
# # 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
|
||||
set -g status-justify left
|
||||
set -g status-style 'bg=colour18 fg=colour137 dim'
|
||||
set -g status-left 'casraf '
|
||||
set -g status-right '#[fg=colour255,bg=colour19] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S '
|
||||
set -g status-right-length 50
|
||||
set -g status-left-length 20
|
||||
|
||||
setw -g window-status-current-style 'fg=colour1 bg=colour19 bold'
|
||||
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
|
||||
|
||||
setw -g window-status-style 'fg=colour9 bg=colour18'
|
||||
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
||||
|
||||
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
|
||||
|
||||
# messages
|
||||
set -g message-style 'fg=colour7 bg=colour160'
|
||||
# set -g status-position bottom
|
||||
# set -g status-justify left
|
||||
# set -g status-style 'bg=colour18 fg=colour137 dim'
|
||||
# set -g status-left 'casraf '
|
||||
# set -g status-right '#[fg=colour255,bg=colour19] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S '
|
||||
# set -g status-right-length 50
|
||||
# set -g status-left-length 20
|
||||
#
|
||||
# setw -g window-status-current-style 'fg=colour1 bg=colour19 bold'
|
||||
# setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
|
||||
#
|
||||
# setw -g window-status-style 'fg=colour9 bg=colour18'
|
||||
# setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
||||
#
|
||||
# setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
|
||||
#
|
||||
# # messages
|
||||
# set -g message-style 'fg=colour7 bg=colour160'
|
||||
|
||||
|
||||
2
.config/nvim/ftdetect/extensions.vim
Normal file
2
.config/nvim/ftdetect/extensions.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
au BufRead,BufNewFile *.arb set filetype=json
|
||||
|
||||
@@ -98,6 +98,7 @@ alias trm="tmux kill-session -t"
|
||||
alias tn-general="tn-custom \$HOME/Dev -s general"
|
||||
alias tn-df="tn-custom -d \$DOTFILES -s dotfiles ."
|
||||
alias tn-simple-scaffold="tn-prj simple-scaffold"
|
||||
alias tn-dungeon-paper="tn-prj dungeon_paper"
|
||||
alias tn-acroasis="tn-custom -d \$HOME/Dev/acroasis -s acroasis front server shared landing"
|
||||
|
||||
if is_linux; then
|
||||
|
||||
@@ -90,6 +90,12 @@ if [[ ! -d ~/.local/share/nvim/site/pack/packer/start/packer.nvim ]]; then
|
||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
fi
|
||||
|
||||
# tmux themepack
|
||||
if [[ ! -d ~/.tmux-themepack ]]; then
|
||||
echo_cyan "Installing tmux themepack..."
|
||||
git clone https://github.com/jimeh/tmux-themepack.git ~/.tmux-themepack
|
||||
fi
|
||||
|
||||
if [[ ! -f $(which tblf) ]]; then
|
||||
echo_cyan "Installing tblf..."
|
||||
file=$(mktemp -d)
|
||||
@@ -104,6 +110,9 @@ fi
|
||||
echo_cyan "Copying .config..."
|
||||
rsync -vtr --exclude ".git" --exclude "node_modules" --exclude ".DS_Store" $DOTFILES/.config/ $HOME/.config/
|
||||
|
||||
echo_cyan "Reloading tmux..."
|
||||
tmux source-file ~/.config/.tmux.conf
|
||||
|
||||
echo_cyan "Done"
|
||||
|
||||
__home_revert_dir
|
||||
|
||||
Reference in New Issue
Block a user