From fc1834195e79f61a78a535ef99bd882d6800433a Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Mon, 24 Jun 2019 11:01:30 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9organisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/vimrc b/vimrc index 9028996..e1ca78f 100644 --- a/vimrc +++ b/vimrc @@ -2,14 +2,12 @@ if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" set fileencodings=ucs-bom,utf-8,latin1 endif -set nocompatible " Use Vim defaults (much better!) -set bs=indent,eol,start " allow backspacing over everything in insert mode -set ai " always set autoindenting on -"set backup " keep a backup file -set viminfo='20,\"50 " read/write a .viminfo file, don't store more - " than 50 lines of registers -set history=50 " keep 50 lines of command line history -set ruler " show the cursor position all the time +set nocompatible " Use Vim defaults (much better!) +set bs=indent,eol,start " allow backspacing over everything in insert mode +set viminfo='20,\"50 " read/write a .viminfo file, don't store more + " than 50 lines of registers +set history=50 " keep 50 lines of command line history +set ruler " show the cursor position all the time " Only do this part when compiled with support for autocommands if has("autocmd") @@ -29,21 +27,6 @@ if has("autocmd") augroup END endif -if has("cscope") && filereadable("/usr/bin/cscope") - set csprg=/usr/bin/cscope - set csto=0 - set cst - set nocsverb - " add any database in current directory - if filereadable("cscope.out") - cs add $PWD/cscope.out - " else add database pointed to by environment - elseif $CSCOPE_DB != "" - cs add $CSCOPE_DB - endif - set csverb -endif - " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. if &t_Co > 2 || has("gui_running") @@ -68,6 +51,7 @@ set showmode set splitbelow set splitright " gestion des espaces et tab +set ai " always set autoindenting on set expandtab set shiftwidth=3 set tabstop=3 @@ -80,11 +64,8 @@ set smartindent set nohlsearch set showmatch set binary noeol -set backspace=indent,eol,start set laststatus=2 -set nocompatible set visualbell -set ruler " on fait un cd dans le répertoire du fichier ouvert set autochdir set background=dark