commit 1771164c796bd30886a9b9aa7f54aeb84bf4f88c
parent 7fcef042770982d0f3377781d47923939ec48c94
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 12 May 2020 18:24:08 -0700
Eliminate Ctrl-K mapping for clang-format
This conflicts with digraph support. When using ibus in Japanese IME
mode, the compose key isn't available, so this is the only mechanism for
French/accent support I have.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/vimrc b/vimrc
@@ -150,8 +150,6 @@ function ClangFormat()
endif
py3f ~/share/clang/clang-format.py
endfunction
-map <C-K> :call ClangFormat()<cr>
-imap <C-K> <ESC>:call ClangFormat()<cr>
autocmd FileType c,cpp,objc nnoremap <buffer><Leader>cf :<C-u>ClangFormat<CR>
autocmd FileType c,cpp,objc vnoremap <buffer><Leader>cf :ClangFormat<CR>