diff --git a/gitconfig b/gitconfig index 8847e56..4da780c 100644 --- a/gitconfig +++ b/gitconfig @@ -23,3 +23,5 @@ [core] editor = vim autocrlf = false +[push] + default = simple diff --git a/vim/config/parametrage-vim.vim b/vim/config/parametrage-vim.vim index 15dbada..ddb0cac 100644 --- a/vim/config/parametrage-vim.vim +++ b/vim/config/parametrage-vim.vim @@ -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 diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index a6fb262..4af3b50 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -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' diff --git a/vim/config/shorcuts.vim b/vim/config/shorcuts.vim index 88344b6..1ca4e02 100644 --- a/vim/config/shorcuts.vim +++ b/vim/config/shorcuts.vim @@ -13,6 +13,9 @@ if has('x11') && has('clipboard') :imap "+pi endif +:nmap :echo "id : '".synID(line("."), col("."), 0)."' - group : '".synIDattr(synID(line("."), col("."), 0), "name")."' - color : '".synIDattr(synIDtrans(synID(line("."), col("."), 0)), "name")."'" +:nmap :echo "id : '".synID(line("."), col("."), 1)."' - group : '".synIDattr(synID(line("."), col("."), 1), "name")."' - color : '".synIDattr(synIDtrans(synID(line("."), col("."), 1)), "name")."'" + " Opérations standards :nmap :w " Sauvegarder :nmap :q " Ferme le fichier actuel