Skip to content

Install Pathogen, Solarized, Nerdtree, AutoComplPop, vim-fugitive and CtrlP for Vim. Copy my .vimrc

Notifications You must be signed in to change notification settings

ChengLong/ansible-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Vim

This role:

  • install Vim
  • copy my .vimrc to ~/.vimrc
  • install Pathogen
  • install Solarized
  • install Nerdtree
  • install AutoComplPop
  • install vim-fugitive
  • install CtrlP
  • install vim-better-whitespace

This role works for OS X, Debian and Ubuntu.

Requirements

  1. If you are provisioning Debian based OS, please note that the task Install Dependencies requires sudo. Please make that the user that your control machine ssh into has sudo access. I recommend using ansible_ssh_user in your inventory file, e.g.

    [test_server]
    xxx.xxx.xxx.xxx ansible_ssh_user=exampleuser
    

    You can use --ask-sudo-pass when running your playbook

    ansible-playbook playbook.yml -i inventory.ini --ask-sudo-pass

  2. If you are provisioning OSX, you should have homebrew already installed. You don`t need sudo

Role Variables

NONE

Dependencies

NONE

Example Playbook

- hosts: servers
  roles:
    - role: ChengLong.vim

License

WTFPL

Author Information

Cheng Long

About

Install Pathogen, Solarized, Nerdtree, AutoComplPop, vim-fugitive and CtrlP for Vim. Copy my .vimrc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published