快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

新版tmux添加配置

新版tmux添加配置
1. 合并 /usr/share/tmux/screen-keys.conf 和 /usr/share/tmux/vim-keys.conf
2. 开启^c和^s自动打开窗口为当前目录,需要修改 split-window和new-window 后面添加  -c "#{pane_current_path}"
# split windows like vim
# vim's definition of a horizontal/vertical split is reversed from tmux's
#   bind s split-window -v -c "#{pane_current_path}"
#   bind v split-window -h -c "#{pane_current_path}"
#   # screen ^C c
#   unbind ^C
#   bind ^C new-window -c "#{pane_current_path}"
#   unbind c
#   bind c new-window -c "#{pane_current_path}"
# split -v |
#unbind |
#bind | split-window -c "#{pane_current_path}"

成都创新互联是一家专注于做网站、成都做网站与策划设计,巩留网站建设哪家好?成都创新互联做网站,专注于网站建设十余年,网设计领域的专业建站公司;建站业务涵盖:巩留等地区。巩留做网站价格咨询:13518219792

===========================================

  • default-path won't be available in post 1.8 versions.

  • pane_current_path might not be available in post 1.8 versions.

  • ===========================================

参考网址 http://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux


网页名称:新版tmux添加配置
网页链接:http://6mz.cn/article/pgojcj.html

其他资讯