Skip to content

Instantly share code, notes, and snippets.

@drwhitehouse
Forked from JonathonReinhart/powerline.md
Created December 14, 2021 23:13
Show Gist options
  • Save drwhitehouse/f1d20f8e07f00faf3561d90eeee42223 to your computer and use it in GitHub Desktop.
Save drwhitehouse/f1d20f8e07f00faf3561d90eeee42223 to your computer and use it in GitHub Desktop.
Installing Powerline on Debian

First, install powerline:

$ sudo apt install powerline

Optionally consult docs:

$ less /usr/share/doc/powerline/README.Debian

Enable in ~/.bashrc:

source /usr/share/powerline/bindings/bash/powerline.sh

Enable and start daemon:

systemctl --user enable --now powerline-daemon.service

Install vim plugin:

$ sudo apt install vim-nox vim-addon-manager
$ vim-addon-manager install powerline

Enable in ~/.vimrc:

" Powerline
" Powerline is enabled via 'vim-addon-manager install powerline'
" Here are the settings
set laststatus=2
set showtabline=2
set noshowmode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment