diff --git a/.bashrc b/.bashrc index fb9c2df..77d5283 100644 --- a/.bashrc +++ b/.bashrc @@ -97,6 +97,9 @@ alias opg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/ alias osw="lsof 2>/dev/null +D . | awk '\$NF ~ /swp$/ {print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g'" alias xpg="lsof 2>/dev/null +D . | grep 'pg.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" alias xsw="lsof 2>/dev/null +D . | grep '.*swp$' | awk '{print \$9}' | sed 's/\.swp//g' | sed 's/\/\./\//g' | xargs -r $PG -f" +alias nv='~/nvim-linux64/bin/nvim' +alias gs='git status' +alias gd='git difftool' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert diff --git a/.tmux.conf b/.tmux.conf index b8602ac..7ce833e 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -11,8 +11,21 @@ bind -n C-PgUp previous-window #plugin manager for install tmux-resurrect set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'jimeh/tmux-themepack' +set -g @themepack 'powerline/default/cyan' +#-----------------------nova--------------------------------------------- +#set -g @plugin 'o0th/tmux-nova' +#set -g @nova-nerdfonts true +#set -g @nova-nerdfonts-left  +#set -g @nova-nerdfonts-right  +#set -g @nova-segment-mode "#{?client_prefix,Ω,ω}" +#set -g @nova-segment-mode-colors "#50fa7b #282a36" +#set -g @nova-segment-whoami "#(whoami)@#h" +#set -g @nova-segment-whoami-colors "#50fa7b #282a36" +#set -g @nova-pane "#I#{?pane_in_mode,  #{pane_mode},}  #W" +#set -g @nova-rows 0 +#set -g @nova-segments-0-left "mode" +#set -g @nova-segments-0-right "whoami" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' - -set-option -g default-path ~