Skip to content

Instantly share code, notes, and snippets.

@atishgoswami
Last active December 29, 2015 23:09
Show Gist options
  • Select an option

  • Save atishgoswami/7740881 to your computer and use it in GitHub Desktop.

Select an option

Save atishgoswami/7740881 to your computer and use it in GitHub Desktop.
Vim Sublime Patching
PROMPT_COMMAND='PS1="${c_user}\u${c_reset}@${c_user}\h${c_reset} ⎇ [${c_path}\w${c_reset}$(git_prompt)]
→ "'
https://dbrgn.ch/slides/20130207_getting_git/#/
Go To:
https://github.com/grigio/vim-sublime
Steps:
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle - Installs Vundle
curl https://raw.github.com/grigio/vim-sublime/master/vimrc > $HOME/.vimrc - Install vim-sublime .vimrc
https://github.com/pdf/ubuntu-mono-powerline-ttf
git clone https://github.com/pdf/ubuntu-mono-powerline-ttf.git ~/.fonts/ubuntu-mono-powerline-ttf - Clone a patched font
fc-cache -vf - Flush the cached fonts
http://whiletruecode.tumblr.com/post/13358288098/enabling-256-color-mode-in-ubuntus-bash-terminal
tput colors - Command to see the colors
sudo apt-get install ncurses-term - install new set of colors
export TERM=xterm-256color - Add this line to ~/.bashrc
source ~/.bashrc - Force new changes to terminal
unselect the use system fonts for terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment