Compare commits

..

2 Commits

Author SHA1 Message Date
0f9cdb4d0a minor 2024-11-08 13:47:11 +08:00
339e1a1e1a feat(51-alias.zsh): 将 nano 替换成 vim 以增加熟练度 2024-11-08 11:27:10 +08:00
2 changed files with 10 additions and 5 deletions

View File

@ -29,19 +29,21 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank' # Copy to the system clipboard in tmux
# set -g @plugin 'tmux-plugins/tmux-net-speed'
# set -g @plugin 'tmux-plugins/tmux-cpu'
# set -g @plugin 'thewtex/tmux-mem-cpu-load'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' # Highlights when you press tmux prefix key
# theme (choose one: 256, dark, light, base16)
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @colors-solarized 'dark'
set -g status-interval 1 # 状态栏刷新时间
set -g status-right-length 120 # 状态栏右侧长度
set -g status-interval 1
set -g status-right-length 120
# set -g @net_speed_format 'D:%9s U:%9s'
# set -g @cpu_percentage_format '%5.1f%%'
set -g @cpu_percentage_format '%5.1f%%'
set -g status-right 'CPU: #{cpu_percentage} #{prefix_highlight} %a %m/%d %H:%M'
# set -g status-right 'CPU: #{cpu_percentage} MEM: #(/usr/local/bin/tmux-mem --format " :percent") #{net_speed} #{prefix_highlight} %a %m/%d %H:%M'
set -g status-right '#{prefix_highlight} %a %m/%d %H:%M'
# set -g status-right '#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load --powerline-right --interval 2) #{prefix_highlight} %a %m/%d %H:%M'
# prefix highlight
set -g @prefix_highlight_fg 'white'

View File

@ -23,6 +23,9 @@ if command_exists iptables; then
fi
fi
# To make more practice of vim
alias nano='vim' && alias dontwanttousevim='/usr/bin/nano'
command_exists trash-put && alias rm='trash-put' && alias rmrm='/usr/bin/rm'
command_exists batcat && alias cat='batcat'
command_exists fdfind && alias fd='fdfind'