Skip to content

econne01/workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workspace

Saved files with vim config and add-ons

Reference

Multiple Git Users

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

Steps to setup

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/.

Install Vim Plugins

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

Alias node_modules

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"

About

Saved files with vim config and add-ons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •