Changeset 6414


Ignore:
Timestamp:
10/25/10 09:12:58 (14 years ago)
Author:
Mathieu Morlighem
Message:

minor update

Location:
issm/trunk/externalpackages/vim/addons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim

    r6228 r6414  
    658658syn keyword cConstant TimeEnum
    659659syn keyword cConstant OutputFrequencyEnum
     660syn keyword cConstant IoGatherEnum
    660661syn keyword cConstant MinVelEnum
    661662syn keyword cConstant MaxVelEnum
     
    688689syn keyword cConstant AdjointEnum
    689690syn keyword cConstant GradientEnum
     691syn keyword cConstant Gradient1Enum
     692syn keyword cConstant Gradient2Enum
     693syn keyword cConstant Gradient3Enum
    690694syn keyword cConstant OldGradientEnum
    691695syn keyword cConstant ConnectivityEnum
     
    718722syn keyword cConstant OptScalEnum
    719723syn keyword cConstant OutputFilePointerEnum
     724syn keyword cConstant OutputFileNameEnum
    720725syn keyword cConstant ParameterOutputEnum
    721726syn keyword cConstant PenaltyMeltingEnum
  • issm/trunk/externalpackages/vim/addons/vimrc

    r5593 r6414  
    184184        return (c =~ a:pat) ? '' : c
    185185endfunc
    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);"
     186au BufRead,BufNewFile *.html     iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     187au BufRead,BufNewFile *.html     iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     188au BufRead,BufNewFile *.html     iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     189au BufRead,BufNewFile *.m        iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     190au BufRead,BufNewFile *.m        iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
     191au BufRead,BufNewFile *.c*       iabbr <silent> p1  printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     192au BufRead,BufNewFile *.c*,*.h   iabbr <silent> ER  _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     193au BufRead,BufNewFile *.c*       ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
     194au BufRead,BufNewFile *.c*       ab AS _assert_();
     195au BufRead,BufNewFile *.c*       iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
     196au BufRead,BufNewFile *.c*       iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
    198197"tex
    199198au BufRead,BufNewFile *.tex iab EQ
Note: See TracChangeset for help on using the changeset viewer.