我已多次尝试按照此处概述的 Powerline 安装说明进行操作,但无论我做什么,这些状态栏都不会出现。
我在 Yosemite 上并尝试安装 Powerline对于 Vim与 Tmux用于 Python 开发环境。
这是我的 ~/.vimrc 文件:
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
这是我的 ~/.tmux.conf 文件:
source '{repository_root}/powerline/bindings/tmux/powerline.conf'
我手动安装了字体(install.sh 脚本对我不起作用),您可以获取 here 。
我在 Tmux 中看到的只是标准的默认绿线,其中包含 bash、用户名和日期信息。我知道我可能在这里遗漏了一些明显的东西,但是对于我需要查看或修复的内容有什么建议吗?
最佳答案
我建议你给vim-airline尝试一下。它完全用 vimscript 编写,与 powerline 相比非常轻量。没有 python 依赖性,它非常容易设置并且开箱即用。
它与其他插件集成得非常好,例如 tmuxline , promptline ,
关于python - Mac OSX 10.10.5 上 Vim/Tmux 的电力线安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32360087/