当前位置:网站首页>Oh my Zsh and TMUX configuration (personal)
Oh my Zsh and TMUX configuration (personal)
2022-07-25 10:18:00 【scwMason】
Oh-my-zsh
https://segmentfault.com/a/1190000015283092
Catalog
lib Script library that provides core functions
tools Provide installation 、 Shortcut tools for upgrading and other functions
plugins The presence and location of the built-in plug-in
templates The presence and placement of the built-in template
themes The existing location of the built-in theme file
custom Personalized configuration directory , Self installed plug-ins and themes can be placed here
Recommended plug-ins
zsh-history-substring-search
https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/history-substring-search
zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting
zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions
Recommended topics
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
The configuration file :~/.zshrc
Tmux
The configuration file :~/.tmux.conf
#Ctrl+b+r You can reload the configuration file
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
# Custom shortcut
bind h select-pane -L # Switch to the left Pane
bind j select-pane -D # Switch to the lower Pane
bind k select-pane -U # Switch to the top Pane
bind l select-pane -R # Switch to the one on the right Pane
# To configure login shell by zsh
set -g default-shell /usr/bin/zsh
# Configure the foreground color of the status bar to be white
set -g status-fg white
# Configure the background color of the status bar to be black
set -g status-bg black
# The key to configure the copy mode is vi Pattern
setw -g mode-keys vi
# The configuration window is automatically renumbered
set -g renumber-windows on
# Configure the status bar time refresh interval
set -g status-interval 60
# The starting value of the configuration window number is 1
set -g base-index 1
set -g pane-base-index 1
# Close the auto rename window
setw -g automatic-rename off
set-option -g allow-rename off
# Configuration window utf8 Support ( The new version no longer needs )
#setw -g utf8 on
#set -g status-utf8 on
# Configure the status bar location
set -g status-position bottom
# Configure window name location
set -g status-justify centre
# Configure the content displayed on the right
set-option -g status-right "#(date +%H:%M-%m/%d-%A)"
Rewrite tmux.conf In the future Ctrl+b+r, If it doesn't work tmux kill-server once
Rewritten zshrc It will be useful only after restarting the terminal
边栏推荐
猜你喜欢

Angr(九)——angr_ctf

PyTorch 代码模板 (CNN)

文件的上传功能

Angr(六)——angr_ctf
![[recommended collection] with these learning methods, I joined the world's top 500 - the](/img/95/e34473a1628521d4b07e56877fcff1.png)
[recommended collection] with these learning methods, I joined the world's top 500 - the "fantastic skills and extravagance" in the Internet age

Redis使用场景

message from server: “Host ‘xxx.xxx.xxx.xxx‘ is not allowed to connect to this MySQL server“

ROS distributed operation -- launch file starts nodes on multiple machines

@Import,Conditional和@ImportResourse注解

升级 GLIBC 2.29 checking LD_LIBRARY_PATH variable... contains current directory error 解决方案
随机推荐
一、unittest框架和pytest框架的区别
shortest-unsorted-continuous-subarray
Exception handling exception
【无标题】
四舍五入取近似值
Wechat applet jumps to other applets
Copy the old project into a web project
OSPF协议的配置(以华为eNSP为例)
Rest使用与原理
四、TestFixture测试夹具,或者测试固件
message from server: “Host ‘xxx.xxx.xxx.xxx‘ is not allowed to connect to this MySQL server“
将 conda 虚拟环境 env 加入 jupyter kernel
Angr(四)——angr_ctf
JSP details
UE4 快速找到打包失败的原因
Redis使用场景
史上最全面的UE4 文件操作,打开,读、写,增、删、改、查
Basic knapsack problem
Multithreading - runnable interface, tortoise and rabbit race
Principle of struct2