templier-ansible/roles/vim/templates/vimrc.j2
Yohann D'ANELLO 1d1b31c461
Remove some bash aliases on servers
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-08 10:34:52 +02:00

47 lines
706 B
Django/Jinja

{{ ansible_header | comment(decoration='"') }}
if has('autocmd')
filetype plugin indent on
endif
if has('syntax') && !exists('g:syntax_on')
syntax enable
endif
set viminfo=
set autoindent
set backspace=indent,eol,start
set complete-=i
set smarttab
set tabstop=2
set shiftwidth=2
set expandtab
set laststatus=2
set ruler
set showcmd
set wildmenu
set incsearch
set encoding=utf-8
if &listchars ==# 'eol:$'
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
endif
set formatoptions+=j
set autoread
if &tabpagemax < 50
set tabpagemax=50
endif
set whichwrap+=<,>,h,l,[,]
colorscheme elflord
highlight ExtraWhitespace ctermbg=lightgreen guibg=lightgreen
match ExtraWhitespace /\s\+$/