Changeset 5548


Ignore:
Timestamp:
08/24/10 14:41:25 (15 years ago)
Author:
Mathieu Morlighem
Message:

Changed names of vim settings

Location:
issm/trunk/externalpackages/vim/vim.AddOns
Files:
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/vim/vim.AddOns/README

    r4230 r5548  
    11To use ISSM's settings for vim:
    22
    3 1. Add the settings from issm.vimrc to your .vimrc file
     31. Add the settings from vimrc to your .vimrc file
    44
    5 2. Add softlinks from issm.vim to your .vim directory
     52. Add softlinks from vim to your .vim directory
  • issm/trunk/externalpackages/vim/vim.AddOns/vim/syntax/c.vim

    r5344 r5548  
    415415"Bamg objects
    416416syn keyword     cType           BamgGeom BamgMesh BamgOpts CrackedEdge Curve Direction DoubleAndInt Edge GeometricalEdge GeometricalSubDomain GeometricalVertex Geometry IntEdge
    417 syn keyword     cType           ListofIntersectionTriangles MatVVP2x2 BamgVertex Metric P2 P2xP2 QuadTree SetOfEdges4 SubDomain Triangle AdjacentTriangle Mesh VertexOnEdge VertexOnGeom VertexOnVertex
     417syn keyword     cType           ListofIntersectionTriangles EigenMetric BamgVertex Metric P2 P2xP2 QuadTree SetOfEdges4 SubDomain Triangle AdjacentTriangle Mesh VertexOnEdge VertexOnGeom VertexOnVertex
    418418"Petsc
    419419syn keyword     cType           Vec Mat
  • issm/trunk/externalpackages/vim/vim.AddOns/vimrc

    r5488 r5548  
    11
    2 "  General setup{{{1
     2" General setup{{{1
    33" ----------------------------------------------------------------------
    44" Use Vim settings, rather then Vi settings (much better!).
     
    1717" display curent mode
    1818set showmode
    19 " ----------------------------------------------------------------------}}}
     19"----------------------------------------------------------------------}}}
    2020" Text-Formatting, Identing, Tabbing{{{1
    2121" ----------------------------------------------------------------------
     
    3030" a <tab> in an indent inserts 'shiftwidth' spaces (not tabstop)
    3131set smarttab
    32 
    3332" always set autoindenting on
    3433set autoindent
     
    3938set foldmethod=marker
    4039set foldtext=IssmFoldText()
    41 
    4240" -----------------------------------------------------------}}}
    43 " file, backup, path {{{1
     41" Backups {{{1
    4442" -----------------------------------------------------------
    4543" updatecount   number of characters typed to cause a swap file update (0->disable)
     
    7775set su=.h,.bak,~,.o,.info,.swp,.obj
    7876" ----------------------------------------------------------------------}}}
    79 "  colors and theme {{{1
     77" Colors and theme {{{1
    8078" ----------------------------------------------------------------------
    8179" use 256 colors
     
    8987" ----------------------------------------------------------------------}}}
    9088
    91 "        Mappings{{{1
    92 " ----------------------------------------------------------------------
    93 
     89" Mappings{{{1
     90" ----------------------------------------------------------------------
    9491"stop highlightings when spce is pressed
    9592nnoremap <silent> <Space> :silent noh<Bar>echo<CR>
     
    104101" Don't use Ex mode, use Q for formatting
    105102map Q gq
    106 
    107 " Make p in Visual mode replace the selected text with the "" register.
    108 vnoremap p <Esc>:let current_reg = @"<CR>gvs<C-R>=current_reg<CR><Esc>
    109 
    110 " This is an alternative that also works in block mode, but the deleted
    111 " text is lost and it only works for putting the current register.
    112 "vnoremap p "_dp
    113 " ----------------------------------------------------------------------}}}
    114 "  Autocommands {{{1
     103" ----------------------------------------------------------------------}}}
     104" Autocommands {{{1
    115105" ----------------------------------------------------------------------
    116106" Only do this part when compiled with support for autocommands.
     
    142132"" associate *.par with matlab filetype
    143133au BufRead,BufNewFile *.par setfiletype matlab
    144 
    145134" ----------------------------------------------------------------------}}}
    146135" C special{{{1
     
    150139" and here some nice options for cindenting
    151140set cinoptions={.5s,+.5s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s
    152 
    153141" ----------------------------------------------------------------------}}}
    154142" TEX special{{{1
     
    162150" The following changes the default filetype back to 'tex':
    163151let g:tex_flavor='latex'
    164 
    165 " ----------------------------------------------------------------------}}}
    166 "  InsertTabWrapper{{{1
     152" ----------------------------------------------------------------------}}}
     153" InsertTabWrapper{{{1
    167154" ----------------------------------------------------------------------
    168155function! InsertTabWrapper(direction)
     
    187174" ----------------------------------------------------------------------}}}
    188175
    189 "  Abbreviations {{{1
     176" Abbreviations {{{1
    190177" ----------------------------------------------------------------------
    191178func Eatchar(pat)
Note: See TracChangeset for help on using the changeset viewer.