A directory containing files I use to configure my dev environment. See the various sections for installation info.
#Vim
- 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
- Run
git submodule update --init
to install the submodules - Compile Command-T:
1.
cd ./vim/bundle/command-t/ruby/command-t
1.ruby extconf.rb
1.make
- Optional: Install eslint for better JavaScript warnings 1. npm install -g eslint 1. npm install -g babel-eslint
- Optional: Install flake8 for better Python warnings 1. pip install flake8
- Fire up Vim and make something awesome!
git submodule add <url_to_git_repo> vim/bundle/<plugin_name>
git submodule init
git submodule update --remote vim/bundle/<plugin_name>
git 1.8+
git submodule deinit vim/bundle/<plugin_name>
git rm vim/bundle/<plugin_name>
Royal pain for git versions 1.7-.
- Delete the relevant section from the .gitmodules file.
git add .gitmodules
- Delete the relevant section from .git/config.
git rm --cached path_to_submodule
(no trailing slash).rm -rf .git/modules/path_to_submodule
(may not exist)git commit -m "Removed submodule <name>"
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.