python update

This commit is contained in:
2020-11-03 13:52:22 +11:00
parent 2a2fc4b258
commit c5f971f10c
6 changed files with 110 additions and 81 deletions
+3 -3
View File
@@ -186,7 +186,7 @@ nnoremap <A-p> :cp<CR>
" Fullscreen
if s:running_windows
noremap <f11> <esc>:call libcallnr('gvim_fullscreen.dll', 'ToggleFullscreen', 0)<cr>
noremap <f11> <esc>:call libcallnr('gvim_fullscreen.dll', 'ToggleFullScreen', 0)<cr>
endif
" ==============================================================================
@@ -211,8 +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\.vim\clang-format.py<CR>
imap <C-I> <ESC>:py3f $home\.vim\clang-format.py<CR>i
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
+3 -2
View File
@@ -17,8 +17,9 @@
:: %ccall% "/customOption" "command/program"
@echo off
set PATH=%cmder_root%\bin\python;%cmder_root%\bin\python\Scripts;%PATH%
set HOME=%cmder_root%\..\Home
set HOMEPATH=%cmder_root%\..\Home
set USERPROFILE=%cmder_root%\..\Home
alias gvim=%cmder_root%\..\GVim\gVimPortable.exe $*
call %cmder_root%\..\Tools\WPy64-3902\scripts\env.bat
alias gvim=%cmder_root%\..\Tools\GVim\gvim_noOLE.exe $*
Binary file not shown.