• [^] # Re: En vrac, mes préférés

    Posté par . En réponse à la dépêche Vim fête son 20e anniversaire. Évalué à 2.

    Bon mon bloc de code pour la conf a sauté, j'ai du mal avec la nouvelle interface de commentaires...

    Reprenons :

    syntax on
    if has("autocmd")
    " Enabled file type detection
    " Use the default filetype settings. If you also want to load indent files
    " to automatically do language-dependent indenting add 'indent' as well.
    filetype plugin indent on
    " try to remember last known cursor position
    autocmd BufReadPost * if line("'\"") | exe "normal '\"" | endif
    endif " has ("autocmd")
    set showcmd
    set showmatch
    set smartcase
    set incsearch
    set hlsearch

    C'est le minimum vital.