-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
67 lines (48 loc) · 1.24 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'jlanzarotta/bufexplorer'
Plugin 'joonty/vdebug'
call vundle#end() " required
filetype plugin indent on " required
" Alias
command! Be BufExplorer
"active la coloration syntaxique
syntax on
"affiche de la ligne et de la colonne en bas à droite
set ruler
"affiche les numéros de lignes
set number
set expandtab
set sw=4
set ts=4
"change le theme par defaut
colorscheme desert
"indentation intelligente suivant les langages
set et
set smarttab
"Affiche lors de la recherche les mots correspondant en les surlignant
set hlsearch
"affiche la parenthèse correspondante
set sm
set incsearch
set nocompatible
augroup Koha
au!
au BufRead,BufNewFile *.tt setlocal ft=tt2html
au FileType perl setlocal et sw=4 ts=4 sts=4
au FileType perl vnoremap <buffer> <F8> :!perltidy -q --noprofile<CR>
au FileType perl setlocal tw=80
au FileType perl setlocal fo=croqlj
augroup END
"Show non-printable character
set list listchars=tab:\ø\ ,trail:°,nbsp:␣
"No end of line
set binary
set noendofline
" autocomplete files path
set wildmenu
set wildmode=list:longest
set backspace=indent,eol,start