Tahvok.vim

vim

安装 vim 并使用 vundle 进行配置(提供 vimrc)

您应该查看 templates/vimrc.j2 并根据需要进行更改。 提供的 vimrc 已在远程 Debian/Ubuntu 和 RedHat/Centos 系统上进行了检查。

要求

此角色检查 git 和 vim,因此没有软件包要求,然而,它会在 templates/vimrc.j2 中安装此角色提供的 .vimrc 文件。您可能想要进行更改。

角色变量

defaults/main.yml:

# github vundle 仓库网址
vim_vundle_repo: "https://github.com/VundleVim/Vundle.vim.git" 

# 安装 vundle 包的位置
vim_vundle_dest: "{{ ansible_user_dir }}/.vim/bundle/Vundle.vim" 

# vimrc 模板文件
vim_vimrc_src: "vimrc.j2" 

# vimrc 应安装在目标位置
vim_vimrc_dest: "{{ ansible_user_dir }}/.vimrc" 

依赖关系

示例剧本

- hosts: servers
  roles:
     - Tahvok.vim

许可证

MIT

作者信息

Albert Mikaelyan http://tahvok.com

关于项目

Ansible role for vim and configuration with vundle

安装
ansible-galaxy install Tahvok.vim
许可证
Unknown
下载
875
拥有者