tmux + powerline,底部太大了

时间:2014-01-28 01:58:36

标签: tmux vim-powerline tmuxinator

我最近从屏幕切换到tmux / powerline / tmuxinator
如下所示,窗口和状态栏之间有一个很大的未使用空间。

可能导致什么原因?

enter image description here

.tmux.conf

set -g prefix C-t
unbind C-b
bind C-t send-prefix

set -g status-keys emacs
setw -g mod-keys emacs

set -g status-position bottom

# status bar
set-option -g status-utf8 on
# status bar


# windows
bind-key C-t last-window

# focus on first window#
 select-window -t 0

source ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf

和tmuxinator

# ~/.tmuxinator/zibann.yml

name: zibann
root: ~/Documents/zibann/

# Optional tmux socket
# socket_name: foo

# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf

# Change the command to call tmux.  This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu

windows:
  - root: ls -l
  - emacs: workon zibann && cd momsite && emacs
  - cmd: workon zibann && cd momsite
  - ipdb: workon zibann && cd momsite && emacs
  - dbshell: workon zibann && cd momsite && python manage.py dbshell
  - logs:
      layout: main-vertical
      panes:
        - tail -f momsite/momsite/log/celeryd_error.log
        - tail -f momsite/momsite/log/celerybeat_error.log
        - tail -f momsite/momsite/log/uwsgi_out.log
        - tail -f /var/log/nginx/error.log
  - supervisor: workon zibann && cd momsite # && python manage.py supervisor --config-file=momsite/conf/supervisord.conf

1 个答案:

答案 0 :(得分:0)

C-b,D

并分离了其中一个客户和volla! (因此,我猜必须同时连接一个且只有一个客户端)