Eric

mercredi août 19, 2009

vim-7.2 installation sous Solaris 10 sparc

Installation de vim 7.2 sous Solaris 10 sparc avec gcc en 64 bit.

  • Vim est disponible ici.
  • Configuration, compilation
  • $ wget ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
    $ bunzip2 vim-7.2.tar.bz2
    $ tar xvf vim-7.2.tar
    $ cd vim72/
    $ CC="gcc -m64" ./configure --prefix=/opt/vim72
    $ make
    $ su
    # make install
    

  • Configuration du .vimrc.
  • $ vi ~/.vimrc
    
    set nocp " :-)
    " turn these ON:
    set digraph ek hidden ruler sc vb wmnu
    " turn these OFF:
    set noeb noet nosol
    " non-toggles:
    set bs=2 fo=cqrt ls=2 shm=at tw=0 ww=<,>,h,l
    set comments=b:#,:%,fb:-,n:>,n:)
    set list listchars=tab:»·,trail:·
    set viminfo=%,'50,\"100,:100,n~/.viminfo
    " settings which are the default
    " (at least with "nocompatible" anyway):
    " set smd sw=8 ts=8
    " mappings:
    map K     
    map  :shell
    map ,F :view    $VIMRUNTIME/filetype.vim
    map ,SO :source $VIMRUNTIME/syntax/
    map ,V  :view   $VIMRUNTIME/syntax/
    " autocommands:
    au FileType mail set tw=70
    " some colors:  "white on black"
    hi normal   ctermfg=white  ctermbg=black guifg=white  guibg=black
    hi nontext  ctermfg=blue   ctermbg=black guifg=blue   guibg=black
    " syntax coloring!! :-)
    set encoding=utf-8
    syn on
    

  • Pour lancer vim.
  • $ /opt/vim72/bin/vim
    

    Comments:

    Post a Comment:
    Comments are closed for this entry.

    Calendar

    Feeds

    Search

    Links

    Navigation

    Referrers