• [^] # Re: Thème DLFP...

    Posté par (site web personnel) . En réponse à la dépêche Slackware 12.2 est disponible. Évalué à 2.

    Ce qui m'ennuie avec debian (entre autre chose) c'est de devoir créer un .vimrc lourdingue avec ce contenu :

    syntax on
    if has("autocmd")
    au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
    \| exe "normal! g'\"" | endif
    endif
    if has("autocmd")
    filetype indent on
    endif
    set showcmd " Show (partial) command in status line.
    set showmatch " Show matching brackets.
    set ignorecase " Do case insensitive matching
    set smartcase " Do smart case matching
    set incsearch " Incremental search
    set autowrite " Automatically save before commands like :next and :make
    set hidden " Hide buffers when they are abandoned
    " keep 2000 files mark and 5000 register lines
    set viminfo='2000,\"5000
    " keep 50000 lines of command line history
    set history=50000
    set noet
    set sw=4
    set ts=4
    set fdm=marker
    set nrformats=hex
    au BufRead,BufNewFile *.thtml,*.ctp set filetype=php
    au BufRead *~,*.tmp set nobackup


    Pour avoir un vim avec une configuration a peu près raisonnable...

    Ensuite il faut patcher un paquet de truc pour avoir un comportement pratique (.inputrc, .bashrc, etc...)

    Bref, c'est pour cette raison que je préfère une mandriva qui marche bien et surtout a fait des choix par défaut qui me conviennent en majorité...