[vim]Kernel coding style plugin

This commit is contained in:
Mathieu Maret 2015-09-02 10:35:23 +02:00
parent 21abf72283
commit 49550fc8c9

10
.vimrc
View File

@ -27,6 +27,7 @@
" M-up/down vertical size " M-up/down vertical size
" gc comment/uncomment " gc comment/uncomment
" C-K indent selection " C-K indent selection
" \-k Set Kernel Coding style
" Use snippets with tab e.g : for <tab> (see .vim/bundle/vim-snippets/snippets for available " Use snippets with tab e.g : for <tab> (see .vim/bundle/vim-snippets/snippets for available
" snippets) " snippets)
@ -411,6 +412,12 @@ map <F9> :NERDTreeToggle<CR>
map <M-F9> :GitGutterSignsToggle <CR> map <M-F9> :GitGutterSignsToggle <CR>
map <S-F9> :GitGutterLineHighlightsToggle <CR> map <S-F9> :GitGutterLineHighlightsToggle <CR>
""""""""""
" KernelFormatting
""""""""""
nnoremap <silent> <leader>k :SetLinuxFormatting<cr><cr>
""""""""" """""""""
" Plugin" " Plugin"
""""""""" """""""""
@ -483,4 +490,7 @@ Plugin 'vim-scripts/Align'
" open file at the given line with the file.txt:20 syntax " open file at the given line with the file.txt:20 syntax
Plugin 'bogado/file-line' Plugin 'bogado/file-line'
" Kernel Formatting
Plugin 'gregkh/kernel-coding-style.git'
call vundle#end() call vundle#end()