Saved files with vim config and add-ons
How to work with multiple github accounts (like from work and home)
To start a new project with a "different" github account, first create the repo on github.com
git clone git@github.com:econne01/${PROJECT_NAME}.git
git remote set-url origin git@github-personal.com:econne01/${PROJECT_NAME}.git
git config --add user.email eric.connelly08@gmail.com
- Copy this
vimrcfile to ~/.vimrc - Install pathogen as follows
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Copy zenburn color scheme:
cp zenburn.vim ~/.vim/colors/.
cd ~/.vim/bundle
NERDTree:
git clone https://github.com/scrooloose/nerdtree.git
Vim Fugitive (Git helpers):
git clone git://github.com/tpope/vim-fugitive.git
vim -u NONE -c "helptags vim-fugitive/doc" -c q
Put this in your ~/.bashrc:
if [ -f /etc/bash_completion ]; then . /etc/bash_completion PSGIT='[\033[01;31m]$(__git_ps1 "{%s}")[\033[00m]' PS1="${PS1}${PSGIT} " fi
Install add-local-binaries-to-path
npm i -g add-local-binaries-to-path
OR View StackOverflow post Add to ~/.bash_profile alias npm-exec='PATH=$(npm bin):$PATH' alias bower="npm-exec bower"