Update windows docs

This commit is contained in:
Michael Campagnaro 2017-04-27 18:40:15 -04:00
parent fd58c45157
commit a701fe8b81
2 changed files with 19 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
vim/undo
vim/.netrwhist vim/.netrwhist
vim/bundle/* vim/bundle/*
vim/plugged/* vim/plugged/*
vim/undo
vim/undo/* vim/undo/*
config/openbox/lxde-rc.xml config/openbox/lxde-rc.xml
*.pyc *.pyc

View File

@ -1,19 +1,29 @@
# Windows Setup # Windows Setup
* map caps to left-ctrl using https://sharpkeys.codeplex.com/ * Map caps to left-ctrl using https://sharpkeys.codeplex.com/
* install git for Windows * Install git for Windows
* symlink dotfiles to ~/.dotfiles with `cmd //c 'mklink .dotfiles drive:\path\to\dotfiles'` * 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 files in the dotfiles windows folder using `cmd //c 'mklink .some-file .dotfiles\some-file'`
* symlink appropriate files in the root dotfiles directory * Symlink appropriate files in the root dotfiles directory
* ignore all zsh files * Ignore all zsh files
* don't symlink .vim folder because Plugged will fail to install the plugins. Just make a copy. * Don't symlink .vim folder because Plugged will fail to install the plugins.
Just make a copy.
## Setting up Cygwin ## 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\<username>`. is likely going to be `C:\cygwin\home\<username>`.
## Setting up Clojure ## Setting up Clojure
* Install Lein: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat * 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.