diff --git a/.gitignore b/.gitignore index 54c34d1..ee5cd2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ -vim/undo vim/.netrwhist vim/bundle/* vim/plugged/* +vim/undo vim/undo/* config/openbox/lxde-rc.xml *.pyc diff --git a/windows/readme.md b/windows/readme.md index 2829523..5eb63dd 100644 --- a/windows/readme.md +++ b/windows/readme.md @@ -1,19 +1,29 @@ # Windows Setup -* map caps to left-ctrl using https://sharpkeys.codeplex.com/ -* install git for Windows +* Map caps to left-ctrl using https://sharpkeys.codeplex.com/ +* Install git for Windows -* symlink dotfiles to ~/.dotfiles with `cmd //c 'mklink .dotfiles drive:\path\to\dotfiles'` -* symlink files in the dotfiles windows folder using `cmd //c 'mklink .some-file .dotfiles\some-file'` -* symlink appropriate files in the root dotfiles directory - * ignore all zsh files - * don't symlink .vim folder because Plugged will fail to install the plugins. Just make a copy. +* Symlink dotfiles to ~/.dotfiles with `cmd //c 'mklink .dotfiles drive:\path\to\dotfiles'` +* Symlink files in the dotfiles windows folder using `cmd //c 'mklink .some-file .dotfiles\some-file'` +* Symlink appropriate files in the root dotfiles directory + * Ignore all zsh files + * Don't symlink .vim folder because Plugged will fail to install the plugins. + Just make a copy. ## Setting up Cygwin -* can create symlinks to dotfiles using the git bash shell. The cygwin home directory +* Can create symlinks to dotfiles using the git bash shell. The cygwin home directory is likely going to be `C:\cygwin\home\`. ## Setting up Clojure * Install Lein: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat + +## Setting up Vim + +You have to make a copy of the vim folder. For some unknown reason the Plugged scripts +don't work when running them on a symlinked .vim directory. Can also symlink most of the +directories in the vim folder. You have to symlink using the full path instead of +something like `~\.dotfiles\vim`, otherwise it won't work. The full path is something like +`c:\users\michael\.dotfiles\vim`. Be careful when removing symlinks as it will delete the +linked source as well.