Skip to content

Instantly share code, notes, and snippets.

@vihanb
Last active July 29, 2016 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vihanb/30c1f421688c0714c5fbc6fb5e5b3abd to your computer and use it in GitHub Desktop.
Save vihanb/30c1f421688c0714c5fbc6fb5e5b3abd to your computer and use it in GitHub Desktop.
Dotfiles
export EMAIL=contact@vihan.org
export EDITOR=nvim
export TERM=xterm-256color
export CLICOLOR=1
alias v=nvim
alias vi=nvim
alias vim=nvim
# MacPorts
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
alias sudo='sudo '
alias python='python3'
# Prompt
source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh
PS1='\[\033[01;31m\]\u\[\033[00m\]:\[\033[032m\]\w\[\033[033m\]$(__git_ps1 " (%s)")\033[00m\] $ '
source ~/.git-completion.bash
# Neovim stuff
export NVM_DIR="/Users/vihan/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#rc()
Plugin 'altercation/vim-colors-solarized'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'godlygeek/csapprox'
Plugin 'ararslan/license-to-vim'
Plugin 'ap/vim-css-color'
let g:solarized_termcolors=256
syntax on
set background=dark
colorscheme solarized
filetype plugin on
let g:license_author = 'Vihan'
let g:license_email = ''
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set autoindent
autocmd BufRead *.es6 set ft=javascript
autocmd BufRead *.cdr set ft=javascript
set nu
let laststatus=2
set clipboard=unnamed
set autoindent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment