Change tab to spaces of 4

master
Julien Rosset 11 years ago
parent 67ceb4fa78
commit 7812c95446

@ -23,3 +23,5 @@
[core]
editor = vim
autocrlf = false
[push]
default = simple

@ -2,7 +2,7 @@ set encoding=utf-8 " Encodage par défaut
set tabstop=4 " Tabulation de 8 caractères
set shiftwidth=4 " Idem
set noexpandtab " Utilise le caractère tabulation, pas des espaces
set expandtab " Utilise le caractère tabulation, pas des espaces
set nostartofline " Conserve le caractère sur la même colonne quand on change de ligne
set autoindent " Indentation automatique
set smartindent " Idem

@ -22,7 +22,8 @@ Plugin 'ChrisYip/Better-CSS-Syntax-for-Vim'
Plugin 'noprompt/vim-yardoc'
Plugin 'php.vim--Hodge'
Plugin 'darkelfe/vim-highlight'
"Plugin 'darkelfe/vim-highlight'
"Plugin 'file:///home/darkelfe/Git/vim-highlight'
" Thème
Plugin 'tomasr/molokai'

@ -13,6 +13,9 @@ if has('x11') && has('clipboard')
:imap <silent> <F10> <Esc>"+pi
endif
:nmap <C-y> :echo "id : '".synID(line("."), col("."), 0)."' - group : '".synIDattr(synID(line("."), col("."), 0), "name")."' - color : '".synIDattr(synIDtrans(synID(line("."), col("."), 0)), "name")."'"<CR>
:nmap <S-y> :echo "id : '".synID(line("."), col("."), 1)."' - group : '".synIDattr(synID(line("."), col("."), 1), "name")."' - color : '".synIDattr(synIDtrans(synID(line("."), col("."), 1)), "name")."'"<CR>
" Opérations standards
:nmap <silent> <C-s> :w<CR> " Sauvegarder
:nmap <silent> <C-q> :q<CR> " Ferme le fichier actuel

Loading…
Cancel
Save