项目作者: tsroten

项目描述 :
Customize tmux window indices
高级语言: Shell
项目地址: git://github.com/tsroten/tmux-window-index.git
创建时间: 2017-07-03T03:30:37Z
项目社区:https://github.com/tsroten/tmux-window-index

开源协议:MIT License

下载


Tmux Window Index

A tmux plugin that lets you change how windows indices are displayed.

Default tmux behavior (Arabic numbers):
screenshot-before

With this plugin (Chinese numbers):
screenshot-after

Usage

Just add #{window_index} to your window-status-format and
window-status-current-format. For example:

  1. setw -g window-status-format "#{window_index} #W "

The plugin can also be configured to control what indices are used.
See the Configuration section for more information.

Add plugin to the list of TPM plugins:

  1. set -g @plugin 'tsroten/tmux-window-index'

Press prefix + I to install it.

Manual Installation

Clone the repo:

  1. $ git clone https://github.com/tsroten/tmux-window-index.git

Add this line to your .tmux.conf:

  1. run-shell ~/path/to/window_index.tmux

Reload TMUX environment with:

  1. $ tmux source-file ~/.tmux.conf

Configuration

The window indices can be configured with a pipe-delimited list:

  1. set -g @window_indices "〇|一|二|三|四|五|六|七|八|九|十|十一|十二"