commit c0de650c3acd20b1702eb604ff253d5dce0d5e2d
parent 8ea17f6cd61ef047d3daae4c8f996f62a9c5f2e1
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/.vim/vimrc b/.vim/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>