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