1
0
mirror of https://github.com/klmp200/vim-sync.git synced 2024-11-21 13:43:21 +00:00
vim-sync/vimrc

41 lines
1.0 KiB
VimL
Raw Permalink Normal View History

2016-07-17 23:38:56 +00:00
" Configuration file for vim
set modelines=0 " CVE-2007-2438
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=2 " more powerful backspacing
filetype off
" Ajout de Vundle au runtime path et initialisation
set rtp+=~/.vim/bundle/Vundle.vim
cal vundle#begin()
" On indique à Vundle de s'auto-gérer
2016-07-17 23:54:30 +00:00
Plugin 'VundleVim/Vundle.vim'
2016-07-17 23:38:56 +00:00
" Indique ce que doit gérer Vundle
exec "source ".syncdir."vimrc.plugins"
call vundle#end()
filetype plugin indent on
" Don't write backup file if vim is being called by "crontab -e"
au BufWrite /private/tmp/crontab.* set nowritebackup nobackup
" Don't write backup file if vim is being called by "chpass"
au BufWrite /private/etc/pw.* set nowritebackup nobackup
syntax on
colorscheme monokai
set relativenumber
2016-09-19 09:00:45 +00:00
set number
2016-07-17 23:38:56 +00:00
if has("gui_running")
set guifont=Roboto\ Mono\ for\ Powerline
set background=dark
colorscheme solarized
endif
2016-07-17 23:38:56 +00:00
exec "source ".syncdir."vimrc.plugin.conf"