Changeset 6414
- Timestamp:
- 10/25/10 09:12:58 (14 years ago)
- Location:
- issm/trunk/externalpackages/vim/addons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim
r6228 r6414 658 658 syn keyword cConstant TimeEnum 659 659 syn keyword cConstant OutputFrequencyEnum 660 syn keyword cConstant IoGatherEnum 660 661 syn keyword cConstant MinVelEnum 661 662 syn keyword cConstant MaxVelEnum … … 688 689 syn keyword cConstant AdjointEnum 689 690 syn keyword cConstant GradientEnum 691 syn keyword cConstant Gradient1Enum 692 syn keyword cConstant Gradient2Enum 693 syn keyword cConstant Gradient3Enum 690 694 syn keyword cConstant OldGradientEnum 691 695 syn keyword cConstant ConnectivityEnum … … 718 722 syn keyword cConstant OptScalEnum 719 723 syn keyword cConstant OutputFilePointerEnum 724 syn keyword cConstant OutputFileNameEnum 720 725 syn keyword cConstant ParameterOutputEnum 721 726 syn keyword cConstant PenaltyMeltingEnum -
issm/trunk/externalpackages/vim/addons/vimrc
r5593 r6414 184 184 return (c =~ a:pat) ? '' : c 185 185 endfunc 186 au BufRead,BufNewFile *.m* iabbr <silent> p1 disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR> 187 au BufRead,BufNewFile *.c* iabbr <silent> p1 printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 188 au BufRead,BufNewFile *.c* iabbr <silent> ER ISSMERROR("");<Left><Left><Left><C-R>=Eatchar('\s')<CR> 189 au BufRead,BufNewFile *.html iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 190 au BufRead,BufNewFile *.html iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 191 au BufRead,BufNewFile *.html iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 192 au BufRead,BufNewFile *.m iab <expr> DATE strftime("%c") 193 au BufRead,BufNewFile *.c* ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD); 194 au BufRead,BufNewFile *.c* ab AS ISSMASSERT(); 195 au BufRead,BufNewFile *.m iab <expr> p0 "disp('-------------- file: ".expand('%')." line: ".line(".")."');" 196 au BufRead,BufNewFile *.c* iab <expr> p0 "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);" 197 au BufRead,BufNewFile *.c* iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);" 186 au BufRead,BufNewFile *.html iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 187 au BufRead,BufNewFile *.html iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 188 au BufRead,BufNewFile *.html iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 189 au BufRead,BufNewFile *.m iabbr <silent> p1 disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR> 190 au BufRead,BufNewFile *.m iab <expr> p0 "disp('-------------- file: ".expand('%')." line: ".line(".")."');" 191 au BufRead,BufNewFile *.c* iabbr <silent> p1 printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 192 au BufRead,BufNewFile *.c*,*.h iabbr <silent> ER _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR> 193 au BufRead,BufNewFile *.c* ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD); 194 au BufRead,BufNewFile *.c* ab AS _assert_(); 195 au BufRead,BufNewFile *.c* iab <expr> p0 "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);" 196 au BufRead,BufNewFile *.c* iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);" 198 197 "tex 199 198 au BufRead,BufNewFile *.tex iab EQ
Note:
See TracChangeset
for help on using the changeset viewer.