Changeset 15936


Ignore:
Timestamp:
08/25/13 20:34:51 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updating vimrc

Location:
issm/trunk-jpl/externalpackages
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/proj.4

    • Property svn:ignore set to
      install
  • issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/c.vim

    r15813 r15936  
    690690syn keyword cConstant MiscellaneousNameEnum
    691691syn keyword cConstant MasstransportHydrostaticAdjustmentEnum
     692syn keyword cConstant MasstransportIsfreesurfaceEnum
    692693syn keyword cConstant MasstransportMinThicknessEnum
    693694syn keyword cConstant MasstransportPenaltyFactorEnum
     
    795796syn keyword cConstant MasstransportAnalysisEnum
    796797syn keyword cConstant MasstransportSolutionEnum
     798syn keyword cConstant FreeSurfaceBaseAnalysisEnum
     799syn keyword cConstant FreeSurfaceTopAnalysisEnum
    797800syn keyword cConstant SteadystateSolutionEnum
    798801syn keyword cConstant SurfaceSlopeAnalysisEnum
     
    969972syn keyword cConstant WatercolumnEnum
    970973syn keyword cConstant BasalFrictionEnum
     974syn keyword cConstant BasalMeltrateEnum
    971975syn keyword cConstant ViscousHeatingEnum
    972976syn keyword cConstant QmuTemperatureEnum
     
    10811085syn keyword cConstant PatersonEnum
    10821086syn keyword cConstant ArrheniusEnum
     1087syn keyword cConstant LliboutryDuvalEnum
    10831088"ISSM's Enums end
    10841089"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  • issm/trunk-jpl/externalpackages/vim/addons/vimrc

    r14573 r15936  
    9393nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
    9494
     95"increment number
     96nnoremap <C-i> <C-a>
     97
    9598"line numbering in flip-flop
    9699map num :set number!<CR>
     
    198201        return (c =~ a:pat) ? '' : c
    199202endfunc
    200 au BufRead,BufNewFile *.html     iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    201 au BufRead,BufNewFile *.html     iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    202 au BufRead,BufNewFile *.html     iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    203 au BufRead,BufNewFile *.html     iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    204 au BufRead,BufNewFile *.html     iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    205 au BufRead,BufNewFile *.m        iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
    206 au BufRead,BufNewFile *.m        iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
    207 au BufRead,BufNewFile *.c*       iabbr <silent> p1  printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    208 au BufRead,BufNewFile *.c*,*.h   iabbr <silent> ER  _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR>
    209 au BufRead,BufNewFile *.c*       ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
    210 au BufRead,BufNewFile *.c*       ab AS _assert_();
    211 au BufRead,BufNewFile *.c*       iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
    212 au BufRead,BufNewFile *.c*       iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
     203au BufRead,BufNewFile *.html   iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     204au BufRead,BufNewFile *.html   iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     205au BufRead,BufNewFile *.html   iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     206au BufRead,BufNewFile *.html   iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     207au BufRead,BufNewFile *.html   iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     208"au BufRead,BufNewFile *.m      iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     209au BufRead,BufNewFile *.m      iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
     210au BufRead,BufNewFile *.c*,*.h iabbr <silent> p1  printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     211au BufRead,BufNewFile *.c*,*.h iabbr <silent> ER  _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     212au BufRead,BufNewFile *.py     iabbr <silent> ER  raise NameError('')<Left><Left><C-R>=Eatchar('\s')<CR>
     213au BufRead,BufNewFile *.m      iabbr <silent> ER  error('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     214au BufRead,BufNewFile *.c*     ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
     215au BufRead,BufNewFile *.c*,*.h ab AS _assert_();
     216au BufRead,BufNewFile *.c*,*.h iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
     217au BufRead,BufNewFile *.c*,*.h iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
    213218"tex
    214219au BufRead,BufNewFile *.tex iab EQ
Note: See TracChangeset for help on using the changeset viewer.