python - Mac OSX 10.10.5 上 Vim/Tmux 的电力线安装问题

标签 python macos vim tmux powerline

我已多次尝试按照此处概述的 Powerline 安装说明进行操作,但无论我做什么,这些状态栏都不会出现。

我在 Yosemite 上并尝试安装 Powerline对于 VimTmux用于 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/

相关文章:

objective-c - 防止 NSTextView 的字体改变

vim - 使用vim代码折叠标记生成索引(目录)

mysql - 如何在 Vim 中快速将 CSV 文件重新格式化为 SQL 格式?

vim - 无法在 Windows 7 上的 gVim 上使用 fugitive.vim

python - 如何使用 Python 为 Linux/Windows 编写软件?

python - 有没有办法简化 if 语句 block ?

python - 使用基于数据框中其他列的函数向 pandas 数据框添加值

python - 通过文件上传从模型生成表单

macos - mac 上没有 vimrc、gvimrc 和 .vim

macos - 在 mac osx 上使用 libdrizzle 安装 gearman