Changeset 5105
- Timestamp:
- 08/09/10 16:58:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/vim/vim.AddOns/issm.vimrc
r4230 r5105 158 158 au BufRead,BufNewFile *.tex set wrapmargin=0 "no margin 159 159 160 " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to 161 " 'plaintex' instead of 'tex', which results in vim-latex not being loaded. 162 " The following changes the default filetype back to 'tex': 163 let g:tex_flavor='latex' 164 160 165 " ----------------------------------------------------------------------}}} 161 166 " InsertTabWrapper{{{1 … … 200 205 au BufRead,BufNewFile *.c* iab <expr> p0 "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);" 201 206 au BufRead,BufNewFile *.c* iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);" 207 "tex 208 au BufRead,BufNewFile *.tex iab EQ 209 \\begin{equation} 210 \<CR> 211 \<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR> 212 au BufRead,BufNewFile *.tex ab (()) \left( \right) 202 213 "}}}
Note:
See TracChangeset
for help on using the changeset viewer.