mirror of
https://github.com/polybar/polybar.git
synced 2026-02-09 03:55:59 +00:00
git: Vim files
This commit is contained in:
8
contrib/vim/ftplugin/cpp.vim
Normal file
8
contrib/vim/ftplugin/cpp.vim
Normal file
@ -0,0 +1,8 @@
|
||||
" Swap between source/header
|
||||
nnoremap <silent> <leader>af :call ft#cpphpp#Swap('edit')<cr>
|
||||
nnoremap <silent> <leader>as :call ft#cpphpp#Swap('new')<cr>
|
||||
nnoremap <silent> <leader>av :call ft#cpphpp#Swap('vnew')<cr>
|
||||
|
||||
" Code formatting using clang-format
|
||||
set formatprg=/usr/bin/clang-format
|
||||
nmap <f1> :ClangFormat<cr>
|
||||
Reference in New Issue
Block a user