Skip to content
Snippets Groups Projects
Commit c5c7e16d authored by shirenn's avatar shirenn 🌊
Browse files

[root-config] Rajoute un fichier de configuration pour vim

parent a82d7700
No related branches found
No related tags found
1 merge request!203[root-config] Rajoute un fichier de configuration pour vim
---
- name: Create or rewrite .nanorc for root
template:
src: nanorc.j2
dest: /root/.nanorc
src: '{{ item.src }}.j2'
dest: '/root/{{ item.dest }}'
loop:
- src: nanorc
dest: .nanorc
- src: vimrc
dest: .vimrc
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=4
set shiftwidth=4
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,[,]
highlight ExtraWhitespace ctermbg=lightgreen guibg=lightgreen
match ExtraWhitespace /\s\+$/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment