From 273b25d1f8a2d0358463ff074e94932702c8b15c Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Fri, 9 Jun 2017 16:10:25 -0400 Subject: [PATCH] Update Windows readme --- windows/readme.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/windows/readme.md b/windows/readme.md index 1781e75..a82bed2 100644 --- a/windows/readme.md +++ b/windows/readme.md @@ -1,8 +1,12 @@ # Windows Setup +## Configure Shell +* Install [MSYS2 w/ MinGW-w64](http://www.msys2.org/) to `C:\msys64` + * Open `C:\msys64\mingw64.exe` + * Run `pacman -S base-devel mingw-w64-x86_64-toolchain git` + * Use `C:\Users\` as the terminal $HOME by editting `C:\msys64\etc\nsswitch.conf` and + changing the `db_home` value to `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 @@ -10,15 +14,14 @@ * 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 - is likely going to be `C:\cygwin\home\`. -* Build [rlwrap](https://github.com/hanslub42/rlwrap) +## Compiling Vim -## Setting up Clojure +* If for some reason you want to compile Vim on Windows, do the following: + * Git clone vim from Github + * `cd vim/src` + * `make -f Make_ming.mak ARCH=x86-64 OPTIMIZE=MAXSPEED STATIC_STDCPLUS=yes FEATURES=HUGE PYTHON="C:/Python27" PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON3="C:/Python3" PYTHON3_VER=361 DYNAMIC_PYTHON=yes` -* Install Lein: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat ## Setting up Vim @@ -28,3 +31,17 @@ directories in the vim folder. You have to symlink using the full path instead o 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. + + +## Setting up Cygwin + +* Can create symlinks to dotfiles using the git bash shell. The cygwin home directory + is likely going to be `C:\cygwin\home\`. +* Build [rlwrap](https://github.com/hanslub42/rlwrap) + + +## Setting up Clojure + +* Install Lein: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat + +