[vim] format indentation using clang-format
This commit is contained in:
parent
9fc74b98ab
commit
aa25365515
1
.vim/syntax/clang-format.py
Symbolic link
1
.vim/syntax/clang-format.py
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/share/vim/addons/syntax/clang-format-3.5.py
|
6
.vimrc
6
.vimrc
@ -166,6 +166,10 @@ else
|
||||
" indent-expr
|
||||
"set indentexpr ""
|
||||
endif
|
||||
|
||||
map <C-I> :pyf ~/.vim/syntax/clang-format.py<CR>
|
||||
imap <C-I> <ESC>:pyf ~/.vim/syntax/clang-format.py<CR>i
|
||||
|
||||
""""""""""
|
||||
" SEARCH "
|
||||
""""""""""
|
||||
@ -450,7 +454,7 @@ Plugin 'honza/vim-snippets'
|
||||
Plugin 'garbas/vim-snipmate'
|
||||
|
||||
" Python completion
|
||||
Plugin 'klen/python-mode'
|
||||
"Plugin 'klen/python-mode'
|
||||
"" Python Bundle
|
||||
"Plugin 'davidhalter/jedi-vim'
|
||||
"Plugin 'scrooloose/syntastic'
|
||||
|
Loading…
Reference in New Issue
Block a user