asmodaiii | Merci beaucoup, en fait c'est une autre option de mon .vimrc qui posait probleme (set ffs, j'ai du changer l'ordre)
Pour ceux que ca interesse, voila mon ~/.vimrc:
Code :
- set nobackup "
- "set nocompatible "
- filetype on "
- set history=1000 "
- set cf "
- set clipboard+=unnamed " turns out I do like is sharing windows clipboard
- set ffs=unix,dos,mac " support all three, in this order
- filetype plugin on " load filetype plugins
- set viminfo+=! " make sure it can save viminfo
- set isk+=_,$,@,%,#,- " none of these should be word dividers, so make them not be
- set background=dark " we are using a dark backgroundsyntax
- syntax on " syntax highlighting on
- colorscheme default " my theme
- set lsp=0 " space it out a little more (easier to read)
- set wildmenu " turn on wild menu
- set ruler " Always show current positions along the bottom
- set cmdheight=1 " the command bar is 2 high
- set number " turn on line numbers
- set lz " do not redraw while running macros (much faster) (LazyRedraw)
- set hid " you can change buffer without saving
- set backspace=2 " make backspace work normal
- set whichwrap+=<,>,h,l " backspace and cursor keys wrap to
- set mouse=a " use mouse everywhere
- set shortmess=atI " shortens messages to avoid 'press a key' prompt
- set report=0 " tell us when anything is changed via :...
- set noerrorbells " don't make noise
- " make the splitters between windows be blank
- set showmatch " show matching brackets
- set mat=5 " how many tenths of a second to blink matching brackets for
- set nohlsearch " do not highlight searched for phrases
- set incsearch " BUT do highlight as you type you search phrase
- set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:$ " what to show when I hit :set list
- set so=10 " Keep 10 lines (top/bottom) for scope
- set novisualbell " don't blink
- set noerrorbells " no noises
- set fo=tcrqn " See Help (complex)
- set ai " autoindent
- set si " smartindent
- set cindent " do c-style indenting
- set tabstop=2 " tab spacing (settings below are just to unify it)
- set softtabstop=2 " unify
- set shiftwidth=2 " unify
- set noexpandtab " real tabs please!
- set nowrap " do not wrap lines
- set smarttab " use tabs at the start of a line, spaces elsewhere
- set foldenable " Turn on folding
- set foldmethod=indent " Make folding indent sensitive
- set foldlevel=100 " Don't autofold anything (but I can still fold manually)
- set foldopen-=search " don't open folds when you search into them
- set foldopen-=undo " don't open folds when you undo stuff
- let perl_extended_vars=1 " highlight advanced perl vars inside strings
|
ca peut toujours servir... Message édité par asmodaiii le 28-11-2005 à 15:55:10 ---------------
v(^o^)v
|