update stuff

This commit is contained in:
2020-11-03 14:23:01 +11:00
parent 0efddf9443
commit 4be0a0c4e6
4 changed files with 7 additions and 11 deletions
+3 -7
View File
@@ -16,6 +16,7 @@ Plug 'https://github.com/tpope/vim-fugitive'
Plug 'https://github.com/bfrg/vim-cpp-modern'
Plug 'https://github.com/skywind3000/asyncrun.vim'
Plug 'https://github.com/Yggdroot/LeaderF'
Plug 'https://github.com/rhysd/vim-clang-format'
" Themes
Plug 'https://github.com/tomasr/molokai'
@@ -210,13 +211,8 @@ noremap <C-F> :<C-U><C-R>=printf("Leaderf! rg -e %s ", expand("<cword>"))<CR>
" ==============================================================================
" Clang Format
" ==============================================================================
if s:running_windows
map <C-I> :py3f $home\vimfiles\clang-format.py<CR>
imap <C-I> <ESC>:py3f $home\vimfiles\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
endif
map <C-I> :ClangFormat<CR>
imap <C-I> <ESC>:ClangFormat<CR>i
" ==============================================================================
" Compiling / AsyncRun
+1 -1
View File
@@ -17,7 +17,7 @@
:: %ccall% "/customOption" "command/program"
@echo off
call %cmder_root%\..\Tools\WPy64-3902\scripts\env.bat
set PATH=%cmder_root%\..\Tools\zig-x86_64\zig-windows-x86_64-0.6.0;%cmder_root%\..\Tools\WPy64-3902\python-3.9.0.amd64;%PATH%
set HOME=%cmder_root%\..\Home
set HOMEPATH=%cmder_root%\..\Home
set USERPROFILE=%cmder_root%\..\Home