Changeset 24217
- Timestamp:
- 10/11/19 20:54:36 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/vim/addons/vimrc
r22698 r24217 160 160 " TEX special{{{ 161 161 " ---------------------------------------------------------------------- 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 wraping164 au BufRead,BufNewFile *.tex,*.html set wrapmargin=0 "no margin162 au BufRead,BufNewFile *.tex,*.html,*.txt set textwidth=100 "100 caracters max (See gq command) 163 au BufRead,BufNewFile *.tex,*.html,*.txt set formatoptions=cqt "automatic wraping 164 au BufRead,BufNewFile *.tex,*.html,*.txt set wrapmargin=0 "no margin 165 165 au BufRead,BufNewFile *.cls setfiletype tex 166 166 … … 215 215 au BufRead,BufNewFile *.m iabbr <silent> ER error('');<Left><Left><Left><C-R>=Eatchar('\s')<CR> 216 216 au BufRead,BufNewFile *.c* ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD); 217 au BufRead,BufNewFile *.c*,*.h ab AS _assert_(); 217 au BufRead,BufNewFile *.c*,*.h ab AS _assert_();<Left><Left><C-R>=Eatchar('\s')<CR> 218 218 au BufRead,BufNewFile *.c*,*.h iab <expr> p0 "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);" 219 219 au 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.