• [^] # Re: La fac ?

    Posté par (site web personnel) . En réponse au journal Ah ! nos chères admin.... Évalué à 1.

    Mon vimrc ne possede pas grand chose...

    syntax on
    map <F1> 0i(*<Esc>A*)<Esc>
    map <F2> 02x$h2x
    map <F3> <ESC>:w!<CR>:!cat % \|ocaml<CR>
    set nocompatible
    set autoindent
    set autowrite
    "set expandtab
    set formatprg=fmt
    set hidden
    set history=50
    set hlsearch
    set laststatus=2
    set lazyredraw
    set makeprg=make\ -I\ ~/archive/Makefiles
    set mouse=a
    set ruler
    set shiftwidth=2
    set showcmd
    set showmatch
    set switchbuf=useopen,split
    set textwidth=80
    set visualbell
    set isk+="_"
    set backspace=start,eol,indent whichwrap=b,s,l,h,<,>,[,]
    map <BS> dh
    map &#127; <BS>
    map! &#127; <BS>
    map [3~ <Del>
    map! [3~ <Del>
    filetype plugin indent on
    map <F5> :w!<CR>:!ocaml < %<CR>
    map <F6> :w!<CR>:!ocaml %<CR>
    map <F7> :cn<CR>
    map <F8> :make clean<CR>
    map <F9> :clist<CR>
    map <F10> :clist!<CR>
    map <F11> :noh<CR>
    map <F12> gqap
    autocmd BufNewFile,BufRead *.p? compiler perl
    set bg=dark
    g:perldoc_program='/usr/bin/perldoc'
    /home/axioplase/.vim/ftplugin/perl_doc.vim
    colorscheme asu1dark
    set paste
    nmap ,s :source ~/.vimrc
    nmap ,v :e ~/.vimrc
    set wildignore=*.o,*.obj,*.bak,*.exe,*.avi,*.mpg,*.mp3
    let g:Perl_AuthorName = 'Axioplase'
    let g:Perl_AuthorRef = 'Axioplase'
    let g:Perl_Email = 'fautpasrever@lesmoules.dlfp.org'
    let g:Perl_Company = 'None'
    set autoread
    imap <S-CR> <CR><CR>end<Esc>-cc
    autocmd Filetype ruby source ~/.vim/ftplugin/ruby-macros.vim
    autocmd Filetype ada source ~/.vim/ftplugin/ada.vim
    autocmd Filetype perl source ~/.vim/ftplugin/perl_doc.vim
    autocmd Filetype perl source ~/.vim/ftplugin/perl.vim
    autocmd Filetype ruby source ~/.vim/ftplugin/ri.vim
    autocmd Filetype ruby source ~/.vim/ftplugin/ruby-matchit.vim
    autocmd Filetype ruby source ~/.vim/ftplugin/ruby.vim
    autocmd Filetype c source ~/.vim/ftplugin/c.vim
    autocmd! BufRead,BufNewFile *.utf8 setfiletype utf8
    let g:miniBufExplMapWindowNavVim = 1
    let g:miniBufExplMapWindowNavArrows = 1
    let g:miniBufExplMapCTabSwitchBuffs = 1
    let g:miniBufExplModSelTarget = 1
    set cinoptions=(0>2{.5sbat0f1s0^0