Add ag and remove vim-gotham

This commit is contained in:
doyle 2020-07-22 22:36:48 +10:00
parent 4cccb9907d
commit c22cf4412b
3 changed files with 9 additions and 4 deletions

View File

@ -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 <leader>a :Ag<CR>
" Execute clang format on tab
if s:running_windows
map <C-I> :pyf $home/clang-format.py<CR>
imap <C-I> <ESC>:pyf $home/clang-format.py<CR>i
map <C-I> :pyf $home\.vim\clang-format.py<CR>
imap <C-I> <ESC>:pyf $home\.vim\clang-format.py<CR>i
else
map <C-I> :py3f ~/.vim/clang-format.py<CR>
imap <C-I> <ESC>:py3f ~/.vim/clang-format.py<CR>i

BIN
Installer/win32_ag.exe Normal file

Binary file not shown.

View File

@ -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