Simplify tasks by moving let over to vimrc.local, also fix Debian
This commit is contained in:
parent
4868144e69
commit
ca09628ea8
@ -1,3 +1,5 @@
|
|||||||
|
let skip_defaults_vim=1
|
||||||
|
|
||||||
" -- General Settings
|
" -- General Settings
|
||||||
set mouse-=a " No mouse, see https://github.com/vim/vim/issues/12621
|
set mouse-=a " No mouse, see https://github.com/vim/vim/issues/12621
|
||||||
set encoding=utf-8 " Necessary to show Unicode glyphs
|
set encoding=utf-8 " Necessary to show Unicode glyphs
|
||||||
|
@ -13,6 +13,13 @@
|
|||||||
- /etc/skel
|
- /etc/skel
|
||||||
- /root
|
- /root
|
||||||
|
|
||||||
|
- name: Ensure Arch Linux sources bash_aliases
|
||||||
|
lineinfile:
|
||||||
|
path: /root/.bashrc
|
||||||
|
line: '[ -f ~/.bash_aliases ] && source ~/.bash_aliases'
|
||||||
|
create: yes
|
||||||
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
- name: Copy shell configuration
|
- name: Copy shell configuration
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: inputrc
|
src: inputrc
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
path: /etc/vimrc
|
path: /etc/vimrc
|
||||||
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
||||||
block: |
|
block: |
|
||||||
let skip_defaults_vim=1
|
|
||||||
set runtimepath+=/var/lib/vim/addons
|
set runtimepath+=/var/lib/vim/addons
|
||||||
if filereadable("/etc/vimrc.local")
|
if filereadable("/etc/vimrc.local")
|
||||||
source /etc/vimrc.local
|
source /etc/vimrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user