From c7b36e1e5db6a170bc27c9b12db10bffb9f69fac Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 18 May 2023 22:55:03 +0100 Subject: [PATCH] Filter file instead of plugin --- vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 299f735..a4447ae 100644 --- a/vimrc +++ b/vimrc @@ -50,16 +50,16 @@ nnoremap :call ACPActodoTodo() nnoremap :NERDTreeToggle nnoremap :vsplit nnoremap :call ACPToggleSpellEnUs() -nnoremap :py3file /usr/share/clang/clang-format-*/clang-format.py +nnoremap :%!clang-format +nnoremap B :bprevious +nnoremap b :bnext +nnoremap d (coc-definition) nnoremap :call ACPToggleMargins() nnoremap :call ACPAdocTodo() nnoremap :split nnoremap :call ACPToggleSpellEnGb() -nnoremap :%!clang-format --style=file -nnoremap B :bprevious -nnoremap b :bnext -nnoremap d (coc-definition) +vnoremap :!clang-format map map