Updated vimrc and place it as cody

This commit is contained in:
2017-06-16 08:27:04 -04:00
parent 918543ca69
commit 6590e27367
2 changed files with 19 additions and 1 deletions

View File

@@ -47,16 +47,24 @@
- name: Create vim autoload directory
file: path=/home/cody/.vim/autoload state=directory
become: yes
become_user: cody
- name: Create vim bundle directory
file: path=/home/cody/.vim/bundle state=directory
become: yes
become_user: cody
- name: Install pathogen
shell: curl -LSso /home/cody/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
when: not pathogen_installed.stat.exists
become: yes
become_user: cody
- name: Replace .vimrc
template: src=../roles/developer-machine/templates/vimrc.j2 dest=/home/cody/.vimrc
become: yes
become_user: cody
- name: Nerdtree installed
stat: path=/home/cody/.vim/bundle/nerdtree
@@ -66,4 +74,6 @@
git: repo=https://github.com/scrooloose/nerdtree.git
dest=/home/cody/.vim/bundle/nerdtree
when: not nerdtree_installed.stat.exists
become: yes
become_user: cody

View File

@@ -1,4 +1,12 @@
execute pathogen#infect()
syntax on
filetype plugin indent on
let g:NERDTreeDirArrows=0
set number
set noautoindent
set nocindent
set nosmartindent
set tabstop=2
set shiftwidth=2
set expandtab
colorscheme elflord