mirror of
https://github.com/polybar/polybar.git
synced 2024-12-16 14:17:24 -05:00
9 lines
315 B
VimL
9 lines
315 B
VimL
|
" 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>
|