Skip to content
bcookseyPublic

About

For things related to my development environment

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

78 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A directory containing files I use to configure my dev environment. See the various sections for installation info.

#Vim

  1. To use the vimrc file in the repo, create a vimrc in your home directory with the following, substituting <path_to_this_readme_dir> with a real one.
  fun! MySys()
    return "linux"
  endfun

  set runtimepath=<path_to_this_readme_dir>/vim,$VIMRUNTIME
  source <path_to_this_readme_dir>/vim/vimrc
  1. Run git submodule update --init to install the submodules
  2. Compile Command-T: 1. cd ./vim/bundle/command-t/ruby/command-t 1. ruby extconf.rb 1. make
  3. Optional: Install eslint for better JavaScript warnings 1. npm install -g eslint 1. npm install -g babel-eslint
  4. Optional: Install flake8 for better Python warnings 1. pip install flake8
  5. Fire up Vim and make something awesome!

Adding Plugins

  1. git submodule add <url_to_git_repo> vim/bundle/<plugin_name>
  2. git submodule init

Updating Plugins

  1. git submodule update --remote vim/bundle/<plugin_name>

Removing Plugins

git 1.8+

  1. git submodule deinit vim/bundle/<plugin_name>
  2. git rm vim/bundle/<plugin_name>

Royal pain for git versions 1.7-.

  1. Delete the relevant section from the .gitmodules file.
  2. git add .gitmodules
  3. Delete the relevant section from .git/config.
  4. git rm --cached path_to_submodule (no trailing slash).
  5. rm -rf .git/modules/path_to_submodule (may not exist)
  6. git commit -m "Removed submodule <name>"
  7. rm -rf path_to_submodule Delete the now untracked submodule files

#Utility Scripts

Try echo "export PATH=`pwd`/utility_scripts/:\$PATH" >> ~/.bashrc. You may need to go tidy up your bashrc if it already has an export statement.

About

For things related to my development environment

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages