diff --git a/Installer/_vimrc b/Installer/_vimrc index 8ad07b7..989eb6f 100644 --- a/Installer/_vimrc +++ b/Installer/_vimrc @@ -23,7 +23,6 @@ Plug 'https://github.com/junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --al Plug 'https://github.com/junegunn/fzf.vim' " Themes -Plug 'https://github.com/whatyouhide/vim-gotham' Plug 'https://github.com/tomasr/molokai' Plug 'https://github.com/roosta/vim-srcery' Plug 'https://github.com/morhetz/gruvbox' @@ -177,8 +176,8 @@ nnoremap a :Ag " Execute clang format on tab if s:running_windows - map :pyf $home/clang-format.py - imap :pyf $home/clang-format.pyi + map :pyf $home\.vim\clang-format.py + imap :pyf $home\.vim\clang-format.pyi else map :py3f ~/.vim/clang-format.py imap :py3f ~/.vim/clang-format.pyi diff --git a/Installer/win32_ag.exe b/Installer/win32_ag.exe new file mode 100644 index 0000000..2bb3c4d Binary files /dev/null and b/Installer/win32_ag.exe differ diff --git a/win32_install.bat b/win32_install.bat index d512822..23440ba 100644 --- a/win32_install.bat +++ b/win32_install.bat @@ -62,8 +62,14 @@ REM REM Clang Format REM set clang_format_url=https://raw.githubusercontent.com/llvm-mirror/clang/master/tools/clang-format/clang-format.py -set clang_format_path=%vim_root%\vimfiles +set clang_format_path=%vim_root%\.vim set clang_format_file=%clang_format_path%\clang-format.py echo - Downloading from %clang_format_url% to %clang_format_path% if not exist "%clang_format_path%" mkdir "%clang_format_path%" if not exist "%clang_format_file%" powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest %clang_format_url% -OutFile %clang_format_file%" + +REM +REM Ag +REM +echo - Copy Installer\win32_ag.exe to %cmder_install_path%\bin\ag.exe +copy /Y Installer\win32_ag.exe %cmder_install_path%\bin\ag.exe