Vim Powerline 설치

Python pip, git 설치가 필요

sudo apt-get install python-pip git

Powerline 플러그인 설치

sudo pip install git+git://
설치 잘 되었는지 확인
which powerline

폰트 설치


sudo mv PowerlineSymbols.otf /usr/share/fonts/
sudo apt-get install fontconfig
sudo fc-cache -vf
sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/

Bash config

.bashrc (~/.bashrc)

if [ -f /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/ ]; then
    source /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/

Vim config

.vimrc (/etc/vim/vimrc)

set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
" Always show statusline
set laststatus=2
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
set t_Co=256

language en_US.UTF-8
let g:Powerline_symbols = 'fancy'
set laststatus=2

Tmux config


source /usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"

ValueError: unknown locale: UTF-8 in Python

Add these lines to your ~/.bash_profile: (.bashrc)

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

Oh My ZSH!

: agnoster 테마 폰트 깨짐 없이 사용하기

# ZSH설치
sudo apt-get install zsh # 설치 후 기본 셸 zsh로 변경
chsh -s /usr/bin/zsh # which zsh확인했을 때의 위치

# Oh My ZSH! 설치
재부팅 후, 2번 설정
sh -c "$(curl -fsSL"
sudo apt-get install curl # curl설치가 안되어있을 경우우

# Agnoster 테마로 변경
sudo vi .zshrc

# 폰트 다운로드 및 터미널 폰트 변경
git clone
cd fonts # 디렉터리 들어가서 폰트 설치

터미널 사용자 지정글꼴 Ubuntu Mono derivative Powerline Regular

Subscribe to Keun's Story newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox. It's free!
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!