(Courriels de diversion: <phare@fco-familiarise.com> <liberalisees@glacage-repetait.com> <riveraines@enorgueillirons-pluriels.com> <solderiez@affuts-frite.com> <rassierons@enivriez-fadaises.com> <postier@compostees-egide.com> <item@etoffons-fournirons.com> <entretiendrai@perturber-parachevee.com> <abîmer@retracaient-chandelle.com> <restreins@metalliferes-chancres.com> )
Bonjour,
Yves Lambert a écrit :
> Tu as vérifié dans /etc/vimrc si tu n'avais pas un "set compatible" qui
> traînait ?
Je n'ai pas de /etc/vimrc
Et voila mon ~./vinrc
" Mandrakelinux configuration.
" Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com>
" Don't set vi-compatibility
set nocp
" Syntax highlighting only for vim-enhanced
if has("syntax")
syntax on
endif
" I know it's horrible for a vi master but useful for newbies.
imap <C-a> <Esc>I
imap <C-e> <ESC>A
map <C-Tab> <C-W>w
imap <C-Tab> <C-O><C-W>w
cmap <C-Tab> <C-C><C-Tab>
" Some macros to manage the buffer of vim
map <F5> :bp<C-M>
map <F6> :bn<C-M>
map <F7> :bd<C-M>
" Default backspace like normal
set bs=2
" Terminal for 80 char ? so vim can play till 79 char.
"set textwidth=79
" Some options deactivated by default (remove the "no" to enable them)
set nobackup
set nohlsearch
set noincsearch
" Always display a status-bar
" set laststatus=2
" Show the position of the cursor
set ruler
" Uncomment this to disable wrap
"set nowrap
" Show matching parentheses
set showmatch
" Make % work with <>
set mps+=<:>
@+
JM
--------------------------------------------------------------------
Les listes de diffusion occultes: <URL:http://www.CULTe.org/listes/>