0
我最近從屏幕切換到tmux/powerline/tmuxinator
如下圖所示,窗口和狀態欄之間有很大的未使用空間。tmux +電力線,底部太大
什麼可能導致它?
.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
發佈.tmux.conf文件將有幫助。 –
順便說一句,確保哪個軟件導致此問題,tmux或您正在使用的編輯器。 –
哦,它確實不是編輯器,因爲我也有與bash窗口相同的問題。 – eugene