--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
set-option -ag update-environment " DBUS_SESSION_BUS_ADDRESS
XDG_SESSION_COOKIE XDG_SESSION_PATH"
set-option -g default-terminal screen-256color
--
2013/2/23 Ashi <ashi...@gmail.com>:�ҵĻ���Ĭ�����ã�Ĭ�ϰ��þ��˾��û��ã�����û�����������������ͻ�������ھ���panel֮���л���ʱ��Ҫȥ�������Ƚ��鷳��
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
Tmux 重度依赖啊 呵呵。 其实这里有些配置没有什么用。 主要是快捷键的配置已经习惯了。 tmux太好用了。
常用到的是查看 htop, 查看doc, 还有ssh 这个很方便。
另外 初始化可以用 teamocil 这个东西。 配合 tmux 可以一个命令初始化启动整个开发环境。 非常的方便。
# 此类配置可以在命令行模式中输入show-options -g查询
# set-option -g base-index 1 # 窗口的初始序号;默认为0,这里设置为1
set-option -g display-time 5000 # 提示信息的持续时间;设置足够的时间以避免看不清提示,单位为毫秒
set-option -g repeat-time 1000 # 控制台激活后的持续时间;设置合适的时间以避免每次操作都要先激活控制台,单位为毫秒
set-option -g history-limit 100000 # 历史记录回滚条数
set-option -g status-keys emacs # 操作状态栏时的默认键盘布局;可以设置为vi或emacs
set-option -g status-utf8 on # 开启状态栏的UTF-8支持
set-option -g status-bg black # 状态栏显示的颜色
set-option -g status-fg green
# set-option -g status-interval 1
# 此类设置可以在命令行模式中输入show-window-options -g查询
set-window-option -g mode-keys emacs #复制模式中的默认键盘布局;可以设置为vi或emacs
set-window-option -g utf8 on #开启窗口的UTF-8支持
# default window title colours
set-window-option -g window-status-fg cyan
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
# active window title colours
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
# command/message line colours
set -g status-left "#[fg=green,bright] ❐ #I "
set -g status-right "#H #[fg=cyan,bright]#[fg=yellow]%Y-%m-%d %H:%M %p#[default] "
set -g message-fg white
set -g message-bg cyan
set -g message-attr bright
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -s escape-time 0
setw -g aggressive-resize on
# Notifying if other windows has activities
set -g visual-activity on
setw -g monitor-activity off
# Highlighting the active window in status bar
setw -g window-status-current-bg black
setw -g window-status-current-fg yellow
# 设置分割屏幕 C-b C-|
unbind '"'
bind - splitw -v # 分割成上下两个窗口
unbind %
bind \ splitw -h # 分割成左右两个窗口
# 交换显示的内容 切换到不同的窗口使用 C-b C-o
# bind o swapp -U
bind o select-pane -L
# 选择上一个buffer
bind ^b last
# 关闭当前buffer
bind -n M-` killp
# 新建一个窗口显示内容
bind h splitw -h htop
bind k list-keys
bind m command-prompt -p man: "splitw -h 'exec man %%'"
bind s command-prompt -p ssh: "new-window -n %1 'ssh %1'"
bind a choose-session
# 粘贴
# move x clipboard into tmux paste buffer
bind -n C-v run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
# move tmux copy buffer into x clipboard
bind C-y run "tmux show-buffer | xclip -i"
# 前后window切换
bind -n M-left prev
bind -n M-right next
bind M-x command-prompt
# 重新加载配置
bind r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind -r < resize-pane -L 10
bind -r > resize-pane -R 10
bind -r - resize-pane -D 5
bind -r + resize-pane -U 5
set -g pane-active-border-fg cyan
# Toggle mouse on with ^B m
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
# Toggle mouse off with ^B M
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'
On 02/23/2013 02:59 PM, yaroot wrote:
2013/2/23 Ashi <ashi...@gmail.com>:我的还是默认配置,默认绑定用久了觉得还好,至少没有遇到与其它软件冲突。我现在觉得panel之间切换有时候还要去按方向键比较麻烦。
bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
#此类配置可以在命令行模式中输入show-options -g查询 set-option -g base-index 1 #窗口的初始序号;默认为0,这里设置为1 set-option -g display-time 5000 #提示信息的持续时间;设置足够的时间以避免看不清提示,单位为毫秒 set-option -g repeat-time 1000 #控制台激活后的持续时间;设置合适的时间以避免每次操作都要先激活控制台,单位为毫秒 set-option -g status-keys vi #操作状态栏时的默认键盘布局;可以设置为vi或emacs set-option -g status-right "#(date +%H:%M' ')" #状态栏右方的内容;这里的设置将得到类似23:59的显示 set-option -g status-right-length 10 #状态栏右方的内容长度;建议把更多的空间留给状态栏左方(用于列出当前窗口) set-option -g status-utf8 on 开启状态栏的UTF-8支持 #此类设置可以在命令行模式中输入show-window-options -g查询 set-window-option -g mode-keys vi #复制模式中的默认键盘布局;可以设置为vi或emacs set-window-option -g utf8 on #开启窗口的UTF-8支持 #将激活控制台的快捷键由Ctrl+b修改为Ctrl+a set-option -g prefix C-a unbind-key C-b bind-key C-a send-prefix #添加自定义快捷键 bind-key z kill-session #按z结束当前会话;相当于进入命令行模式后输入kill-session bind-key h select-layout even-horizontal #按h将当前面板布局切换为even-horizontal;相当于进入命令行模式后输入select-layout even-horizontal bind-key v select-layout even-vertical #按v将当前面板布局切换为even-vertical;相当于进入命令行模式后输入select-layout even-vertical
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
用gtk-chtheme换主题吧。
https://github.com/nonoob/dotfiles/blob/master/_tmux.conf
˳������һ��emacs��дC++�ȽϺõ�����~
On Saturday, February 23, 2013 10:07:37 AM UTC+8, ghosTM55 wrote:��������tmux�õıȽ϶��ô��ɹɹ�Լ������ã��ܹ����н�ͼЧ��Ļ�����ô�ҿ��Բο�ѧϰһ�£�лл
--
Thomas
Shanghai Linux User GroupGitCafe - Share a cup of open source
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
���յ����ʼ�����Ϊ������ Google ������̳�ġ�Shanghai Linux User Group����̳��emacs��cscope cedet autocomplete yasnippet��ȫ�ܹ�Ӧ���ˣ����Կ�����gdb-UI
Ҫ�˶�����̳��ֹͣ���մ���̳�ĵ����ʼ����뷢�͵����ʼ��� shlug+un...@googlegroups.com��
Ҫ�鿴���ѡ������ https://groups.google.com /groups/opt_out��
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
I am using ctrl-\
send from android
Gene