命令列利器Tmux

來源:互聯網
上載者:User

命令列利器Tmux

Tmux是一個優秀的終端複用軟體,類似GNU Screen,但是對兩個軟體評價已經是一邊倒了,大多數人認為tmux功能更加強大,使用更加方便。

Tmux不僅可以提高終端工作效率,是伺服器管理工作必不可少的工具,更拉風的是可以做遠端Pair Programming。

下面是我的一些.tmux.conf設定

unbind C-b
set -g prefix C-a
setw -g mode-keys vi

# split window like vim
# vim's defination of a horizontal/vertical split is revised from tumx's
bind s split-window -h
bind v split-window -v
# move arount panes wiht hjkl, as one would in vim after C-w
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# resize panes like vim
# feel free to change the "1" to however many lines you want to resize by,
# only one at a time can be slow
bind < resize-pane -L 10
bind > resize-pane -R 10
bind - resize-pane -D 10
bind + resize-pane -U 10

# bind : to command-prompt like vim
# this is the default in tmux already
bind : command-prompt

下面關於Tmux的文章您也可能喜歡,不妨看看:

Tmux:終端複用器

tmux使用簡單教程

Tmux 入門指南 

用 Tmux 和 Vim 打造 IDE 

CentOS下Tmux安裝和使用

用 Tmux 和 Vim 打造 IDE 

Tmux 的詳細介紹:請點這裡
Tmux 的:請點這裡

本文永久更新連結地址:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.