Run clang-format with F9

This commit is contained in:
Anthony Rose 2023-05-16 22:58:40 +01:00
parent f718964cc3
commit f63b6f9a43

1
vimrc
View file

@ -50,6 +50,7 @@ nnoremap <F2> :call ACPActodoTodo()<CR>
nnoremap <F3> :NERDTreeToggle<CR> nnoremap <F3> :NERDTreeToggle<CR>
nnoremap <F4> :vsplit<CR> nnoremap <F4> :vsplit<CR>
nnoremap <F7> :call ACPToggleSpellEnUs()<CR> nnoremap <F7> :call ACPToggleSpellEnUs()<CR>
nnoremap <F9> :%!clang-format --style=WebKit<CR>
nnoremap <S-F11> :call ACPToggleMargins()<CR> nnoremap <S-F11> :call ACPToggleMargins()<CR>
nnoremap <S-F2> :call ACPAdocTodo()<CR> nnoremap <S-F2> :call ACPAdocTodo()<CR>
nnoremap <S-F4> :split<CR> nnoremap <S-F4> :split<CR>