fix tmux plugins and $TERM, modify addpaths
This commit is contained in:
parent
4e1c9249a0
commit
015964d221
1
.addpath
1
.addpath
|
@ -3,4 +3,5 @@ local/bin
|
||||||
.local/bin
|
.local/bin
|
||||||
.doomemacs/bin
|
.doomemacs/bin
|
||||||
go/bin
|
go/bin
|
||||||
|
node_modules/.bin
|
||||||
/usr/local/go/bin
|
/usr/local/go/bin
|
||||||
|
|
14
.tmux.conf
14
.tmux.conf
|
@ -1,11 +1,13 @@
|
||||||
|
set-environment -g PATH "/home/hedy/local/bin:/usr/local/bin:/bin:/usr/bin"
|
||||||
|
|
||||||
# Quick ESC reponse in (n)vim
|
# Quick ESC reponse in (n)vim
|
||||||
set -sg escape-time 0
|
set -sg escape-time 0
|
||||||
|
|
||||||
set -g visual-activity off
|
set -g visual-activity off
|
||||||
|
|
||||||
# terminal stuff
|
# terminal stuff
|
||||||
# set -g default-terminal "tmux-256-color"
|
set -g default-terminal "tmux-256color"
|
||||||
# set -g terminal-overrides ",xterm-256color*:Tc"
|
set -g terminal-overrides ",xterm-256color*:Tc"
|
||||||
|
|
||||||
# Prefix for remote tmux (instead of C-b twice)
|
# Prefix for remote tmux (instead of C-b twice)
|
||||||
bind-key -n C-a send-prefix
|
bind-key -n C-a send-prefix
|
||||||
|
@ -18,10 +20,14 @@ bind-key h split-window -v
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
set -g set-titles-string "#T"
|
set -g set-titles-string "#T"
|
||||||
|
|
||||||
|
# Plugin
|
||||||
|
set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
|
||||||
|
set -g @fzf-url-bind 'z'
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
set -g @plugin 'tmux-plugins/tmp' # plugin manager
|
set -g @plugin 'tmux-plugins/tpm' # plugin manager
|
||||||
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||||
set -g @plugin 'wfxr/tmux-fzf-url' # fuzzy select url in buffer
|
set -g @plugin 'wfxr/tmux-fzf-url' # fuzzy select url in buffer
|
||||||
|
|
||||||
#Initialize plugin manager
|
#Initialize plugin manager
|
||||||
run -b '~/.local/share/tmux/plugins/tpm/tpm'
|
run -b '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
Loading…
Reference in New Issue