Changeset 24217


Ignore:
Timestamp:
10/11/19 20:54:36 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/vim/addons/vimrc

    r22698 r24217  
    160160" TEX special{{{
    161161" ----------------------------------------------------------------------
    162 au BufRead,BufNewFile *.tex,*.html set textwidth=100     "100 caracters max (See gq command)
    163 au BufRead,BufNewFile *.tex,*.html set formatoptions=cqt "automatic wraping
    164 au BufRead,BufNewFile *.tex,*.html set wrapmargin=0      "no margin
     162au BufRead,BufNewFile *.tex,*.html,*.txt set textwidth=100     "100 caracters max (See gq command)
     163au BufRead,BufNewFile *.tex,*.html,*.txt set formatoptions=cqt "automatic wraping
     164au BufRead,BufNewFile *.tex,*.html,*.txt set wrapmargin=0      "no margin
    165165au BufRead,BufNewFile *.cls setfiletype tex
    166166
     
    215215au BufRead,BufNewFile *.m      iabbr <silent> ER  error('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
    216216au BufRead,BufNewFile *.c*     ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
    217 au BufRead,BufNewFile *.c*,*.h ab AS _assert_();
     217au BufRead,BufNewFile *.c*,*.h ab AS _assert_();<Left><Left><C-R>=Eatchar('\s')<CR>
    218218au BufRead,BufNewFile *.c*,*.h iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
    219219au BufRead,BufNewFile *.c*,*.h iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
Note: See TracChangeset for help on using the changeset viewer.