tmux配置
来源:互联网 发布:怎么在淘宝上找旗舰店 编辑:程序博客网 时间:2024/05/20 19:32
# .tmux.conf
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# split windows
bind s split-window -v
bind v split-window -h
# switch windows
bind -n M-, prev
bind -n M-. next
# resize panes
bind -n M-Up resizep -U
bind -n M-Down resizep -D
bind -n M-Left resizep -L
bind -n M-Right resizep -R
# bind : to command-prompt like vim
# this is the default in tmux already
bind : command-prompt
# vi-style controls for copy mode
setw -g mode-keys vi
#bind -n ^T select-window -t 0
bind -n M-` select-window -t 0
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
set -g default-terminal "screen-256color"
#set-option -g status on
#set-option -g status-interval 2
#set-option -g status-utf8 on
#set-option -g status-justify "centre"
#set-option -g status-left-length 60
#set-option -g status-right-length 90
#set-option -g status-left "#(~/tools/tmux-powerline/powerline.sh left)"
#set-option -g status-right "#(~/tools/tmux-powerline/powerline.sh right)"
#set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]"⮀
#### COLOUR (Solarized dark)
#
## default statusbar colors
#set-option -g status-bg black #base02
#set-option -g status-fg yellow #yellow
#set-option -g status-attr default
#
## default window title colors
#set-window-option -g window-status-fg brightblue #base0
#set-window-option -g window-status-bg default
##set-window-option -g window-status-attr dim
#
## active window title colors
#set-window-option -g window-status-current-fg brightred #orange
#set-window-option -g window-status-current-bg default
##set-window-option -g window-status-current-attr bright
#
## pane border
#set-option -g pane-border-fg black #base02
#set-option -g pane-active-border-fg brightgreen #base01
#
## message text
#set-option -g message-bg black #base02
#set-option -g message-fg brightred #orange
#
## pane number display
#set-option -g display-panes-active-colour blue #blue
#set-option -g display-panes-colour brightred #orange
#
## clock
#set-window-option -g clock-mode-colour green #green
#
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# split windows
bind s split-window -v
bind v split-window -h
# switch windows
bind -n M-, prev
bind -n M-. next
# resize panes
bind -n M-Up resizep -U
bind -n M-Down resizep -D
bind -n M-Left resizep -L
bind -n M-Right resizep -R
# bind : to command-prompt like vim
# this is the default in tmux already
bind : command-prompt
# vi-style controls for copy mode
setw -g mode-keys vi
#bind -n ^T select-window -t 0
bind -n M-` select-window -t 0
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
set -g default-terminal "screen-256color"
#set-option -g status on
#set-option -g status-interval 2
#set-option -g status-utf8 on
#set-option -g status-justify "centre"
#set-option -g status-left-length 60
#set-option -g status-right-length 90
#set-option -g status-left "#(~/tools/tmux-powerline/powerline.sh left)"
#set-option -g status-right "#(~/tools/tmux-powerline/powerline.sh right)"
#set-window-option -g window-status-current-format "#[fg=colour235, bg=colour27]⮀#[fg=colour255, bg=colour27] #I ⮁ #W #[fg=colour27, bg=colour235]"⮀
#### COLOUR (Solarized dark)
#
## default statusbar colors
#set-option -g status-bg black #base02
#set-option -g status-fg yellow #yellow
#set-option -g status-attr default
#
## default window title colors
#set-window-option -g window-status-fg brightblue #base0
#set-window-option -g window-status-bg default
##set-window-option -g window-status-attr dim
#
## active window title colors
#set-window-option -g window-status-current-fg brightred #orange
#set-window-option -g window-status-current-bg default
##set-window-option -g window-status-current-attr bright
#
## pane border
#set-option -g pane-border-fg black #base02
#set-option -g pane-active-border-fg brightgreen #base01
#
## message text
#set-option -g message-bg black #base02
#set-option -g message-fg brightred #orange
#
## pane number display
#set-option -g display-panes-active-colour blue #blue
#set-option -g display-panes-colour brightred #orange
#
## clock
#set-window-option -g clock-mode-colour green #green
#
0 0
- tmux配置
- tmux 配置
- tmux配置
- tmux配置
- tmux配置
- tmux配置
- tmux配置
- 我的tmux配置
- tmux 配置 & 使用
- tmux 配置 & 使用
- Tmux安装配置
- tmux快捷键及配置
- 我的tmux配置
- 我的tmux配置
- tmux 安装、使用、配置
- tmux 简单配置
- tmux恢复窗口配置
- tmux配置小谈
- 每个程序员都应该了解的内存知识(3)-虚拟内存
- uva 187 Transaction Processing(simulation)
- android AsyncTask介绍
- HDU1285确定比赛名次
- 4G时代会带给我们什么新体验?
- tmux配置
- loop unrolling in C++
- rman: can't open target的解决办法
- 【OpenCV2.3特征检测与描述】Feature Detection and Description
- HDU2094产生冠军
- JavaScript数据类型
- Android 多屏播放、跨屏控制的主要交互实现
- 笔记: LUA基础: METATABLE, 多重返回值, 迭代器
- 分拣系统概况