I am trying to setup my vim with clang-format, on centos 6.5 using http://clang.llvm.org/docs/ClangFormat.html
Here are the steps and configs 1. Yum install clang 2. copied clang-format.py to my home dir /home/nitin 3. I have .vimrc in my home directory. added following lines: map <C-K> :pyf /home/nitin/clang-format.py<cr> imap <C-K> <c-o>:pyf /home/nitin/clang-format.py<cr> 4. When i open source file in vim and try to Ctrl+k, vim says command is not available in this version Can somebody help me here? Thanks Nitin
_______________________________________________ cfe-users mailing list cfe-users@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users