惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
Scott Helme
Scott Helme
W
WeLiveSecurity
N
News | PayPal Newsroom
G
GRAHAM CLULEY
SecWiki News
SecWiki News
V2EX - 技术
V2EX - 技术
Security Latest
Security Latest
H
Heimdal Security Blog
L
LINUX DO - 最新话题
Application and Cybersecurity Blog
Application and Cybersecurity Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Palo Alto Networks Blog
Simon Willison's Weblog
Simon Willison's Weblog
PCI Perspectives
PCI Perspectives
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
Spread Privacy
Spread Privacy
T
Troy Hunt's Blog
V
Vulnerabilities – Threatpost
罗磊的独立博客
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
T
The Blog of Author Tim Ferriss
阮一峰的网络日志
阮一峰的网络日志
Martin Fowler
Martin Fowler
The Hacker News
The Hacker News
C
Cisco Blogs
T
Tor Project blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Register - Security
The Register - Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy & Cybersecurity Law Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Security Affairs
T
Tenable Blog
V
Visual Studio Blog
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
美团技术团队
月光博客
月光博客
J
Java Code Geeks
量子位
Vercel News
Vercel News
I
Intezer
博客园 - 聂微东
Know Your Adversary
Know Your Adversary
aimingoo的专栏
aimingoo的专栏

tmux

分享 tmux 自用配置 发现 dracula/tmux 插件会导致 tmux-continnum 自动保存失效 - V2EX tmux session 中 Ctrl-l 不能清除屏幕 - V2EX tmux 有没有什么好的启动 sh 推荐? tmux 2.1 版本,开启了鼠标模式之后,怎么选择复制文字? - V2EX tmux 越用越慢? - V2EX tmux 如何修改默认存储 session 的路径? - V2EX tmux 教程:外观配置篇 - V2EX tmux 与 xmodmap 问题 - V2EX tmux 终端, macos 环境下,回滚历史设置无效 - V2EX tmux 如何所有窗口执行一条命令? - V2EX tmux 的 session name 显示问题 - V2EX iterm2 和 tmux 怎么联合使用啊?他俩有什么关系? - V2EX 你使用 tmux 使用了「tmuxinator」吗?感觉如何? - V2EX 有哪些让你惊艳的 tmux 使用思路/实用技巧(大神的)? - V2EX 请问哪有能够能够真正配置好 tmux, vim 上的 powerline 的中文教程 - V2EX tmux 能单独设置中文和西文的字体吗? - V2EX 为何不用 byobu 呢? - V2EX TMUX 的两个问题 - V2EX Tmux 分屏后如何保留先前窗格的路径。 - V2EX tmux 和什么 ssh 终端联合使用,能最大限度使用 tmux 的快捷键? - V2EX tmux 求助 El Caption bug, 退出 tmux 时会系统卡死 - V2EX tmux on mac 命令输入渲染出错? - V2EX ssh 怎样保存 session? 以当前 session 新建 splitview? 远程 vim 复制本地系统剪贴板? - V2EX 关于 tmux 的 window 窗口大小问题 - V2EX 一篇很不错的 tmux 教程 - V2EX 学 tmux 做的一点笔记 - V2EX 请问 Mac 上 tmux 环境变量怎么配置? - V2EX [Tmux 配色] 第二次折腾配色样式配置,显摆一下 - V2EX 安装了一个终端分屏工具 byobu - V2EX tmux 启动一个新的 session 时,能传入一段 shell 脚本么? - V2EX tmux 求教 - V2EX tmux 快捷键不能使用,ubuntu13.10,ubuntu14.04 都出现了这个问题, - V2EX 请问如何在 shell 脚本中实现 tmux 的 detach - V2EX tmux 打开 9 个以上窗口怎么快速切换 - V2EX 有什么好的 dotfiles repo 推荐 .zshrc .vimrc .tmux.conf 之类的 - V2EX 在terminal中启动tmux后,tmux不能随着窗口放大而放大。 - V2EX tmux怎么让程序在copy-mode下“继续执行” - V2EX screen vs tmux - V2EX tmux后再tmux,如何显示第二次tmux的tab? - V2EX 有常用tmux的么,说说你们action key绑了啥? - V2EX 请教一个关于tmux的问题 - V2EX tmux-powerline 这个给力啊 - V2EX cygwig下可以用tmux吗? - V2EX tmux 重新 attach 后 x11 forwarding 找不到的问题 - V2EX
tmux 很赞啊! - V2EX
chu1337 · 2013-06-22 · via tmux

贴个配置文件,版本大于1.7

#!/usr/local/bin/tmux
# vim: syntax=tmux

# rebind bind key (screen)
#set -g prefix C-a
#bind C-a last-window

#
bind C-b last-window
bind C-z run-shell '/usr/local/bin/tmux-zoom.sh'

# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."

# troggle statusbar
bind q set status

# display time
set -g display-time 2500

set -g history-limit 65535

# Look good
#set -g default-terminal "screen-256color"

# Start tab numbering at 1
set -g base-index 1

# Enable mouse support
setw -g mode-mouse off
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on

# enable resize for attaching via different resolution display
setw -g aggressive-resize on

# enable monitor
setw -g monitor-activity on
set -g visual-activity on

# Act like Vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# use different keys to split vertical and horizonal
bind | split-window -h
bind - split-window -v

bind -n M-v split-window -h
bind -n M-s split-window -v

#--Status-Bar-------------------------------------------------------------------
# status bar
set -g status-utf8 on

# Default colors
set -g status-bg black
set -g status-fg white

## Left side of status bar : Show session-name and host-name
set -g status-left-length 20
set -g status-left '#[fg=green][#[bg=black,fg=cyan]#S#[fg=green]]'

## Middle of status bar, window labels
#Inactive
setw -g window-status-format '#[fg=cyan,dim]#I#[fg=blue]:#[default]#W#[fg=grey,dim]#F'
# Current or active
setw -g window-status-current-format '#[bg=blue,fg=cyan,bold]#I#[bg=blue,fg=cyan]:#[fg=white]#W#[fg=dim]#F'
# Alerted window in status bar. Windows which have an alert (bell, activity or content).
setw -g window-status-bell-fg red
setw -g window-status-bell-bg white

## Right side of status bar
# show current window title, date and time in my choice of colors
set -g status-right '#[fg=green][#[fg=white]#T#[fg=green]][#[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]#[fg=green]]'

set -g status-position top