All pastes #784788 Raw Edit

Something

public text v1 · immutable
·published 2007-11-19 21:08 UTC
rendered paste body
    if exists("my_vim_c_vim_loaded") || &compatible
            finish
    endif
    
    let my_vim_c_vim_loaded = 1
    
    nmap <C-J> vip=
    
    set tabstop=8
    set shiftwidth=8
    set noexpandtab
    
    set textwidth=78
    
    syn match ErrorLeadSpace /^ \+/
    syn match ErrorTailSpace / \+$/
    match Error80            /\%>80v.\+/
    
    syn keyword cType uint ubyte ulong uint64_t uint32_t uint16_t uint8_t boolean_t int64_t int32_t int16_t int8_t u_int64_t u_int32_t u_int16_t u_int8_t
    
    syn keyword cOperator likely unlikely
    
    set formatoptions=tcqlron
    
    set cinoptions=:0l1t0g0
    
    if winwidth(0) > 80
            set foldcolumn=4
    endif
    
    set fdm=syntax
    
    abb #i #include
    abb #d #define