Inspired

0 notes &

Enabling 256 Colors on Vim with Tmux

Beautiful themes on Vim are nicely seen after applying this configs :)


Tmux

In ~/.tmux.conf

set -g default-terminal "screen-256color"

Vim

In ~/.vimrc

set t_Co=256

Bash

In ~/.bashrc

export TERM="xterm-256color"
alias tmux="tmux -2"

Profile

In ~/.profile

if [ -e /usr/share/terminfo/x/xterm-256color ]; then
   export TERM='xterm-256color'
else
  export TERM='xterm-color'
fi