Skip to content

Instantly share code, notes, and snippets.

View itzderr's full-sized avatar
:octocat:
I may be slow to respond.

itzderr itzderr

:octocat:
I may be slow to respond.
View GitHub Profile
@itzderr
itzderr / gist:abdb2cdd795a23bc36e6a7838e388867
Last active March 20, 2023 22:04
Install Powerline MacOS

Step 1: Installation

Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

$ brew install python3

Install powerline via pip (python package manager)

$ pip3 install powerline-status

If you want the status bar for your vim, simply add the following code to your .vimrc file.

If you don't have .vimrc file in your home directory, create one.

$ touch ~/.vimrc

Open .vimrc in your editor and paste this code.

" powerline
set rtp+=/usr/local/lib/python3.6/site-packages/powerline/bindings/vim
set laststatus=2