Changeset 7457 for issm/trunk/externalpackages/vim/addons/vimrc
- Timestamp:
- 02/16/11 07:57:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/vim/addons/vimrc
r6414 r7457 95 95 map num :set number!<CR> 96 96 97 " save & "make" the current file in all modes 98 map <F8> :w <Enter> :make <Enter> 99 map! <F8> <ESC> :w <Enter> :make <Enter> 100 97 101 "use paste P: re-indent and re-format at the same time 98 102 :nnoremap <Esc>P P'[v']= … … 145 149 au BufRead,BufNewFile *.tex set formatoptions=cqt "automatic wraping 146 150 au BufRead,BufNewFile *.tex set wrapmargin=0 "no margin 151 au BufRead,BufNewFile *.cls setfiletype tex 147 152 148 153 " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to … … 187 192 au BufRead,BufNewFile *.html iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 188 193 au BufRead,BufNewFile *.html iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 194 au BufRead,BufNewFile *.html iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 195 au BufRead,BufNewFile *.html iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR> 189 196 au BufRead,BufNewFile *.m iabbr <silent> p1 disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR> 190 197 au BufRead,BufNewFile *.m iab <expr> p0 "disp('-------------- file: ".expand('%')." line: ".line(".")."');" … … 198 205 au BufRead,BufNewFile *.tex iab EQ 199 206 \\begin{equation} 200 \<CR>201 207 \<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR> 202 208 au BufRead,BufNewFile *.tex ab (()) \left( \right)
Note:
See TracChangeset
for help on using the changeset viewer.