Giter VIP home page Giter VIP logo

vim-installer's Introduction

vim-installer

摘要

在Mac或者Ubuntu中自动安装Vim和Vim的主题以及Vim插件

如何使用

在新的系统中安装和配置Vim,首先使用Git克隆项目到任意目录,或者直接下载项目的zip包到任意目录。

git clone https://github.com/jiangfangxin/vim-installer.git

然后通过命令行进入项目根目录,运行install.sh文件

cd your_clone_directory/vim-installer
./install.sh

vim-installer会自动检测并安装Git,如果Mac系统没有安装Git,会自动安装HomeBrew,并用HomeBrew来帮助用户安装Git。

如果系统中已经安装了Vim,vim-installer会把之前Vim的.vimrc、主题以及插件用tar打包备份,然后再安装新的配置。如果要删除 自动备份的配置使用

./install.sh -c

如果只是想更新一下.vimrc而无需动主题和更新插件,那么直接使用-u命令,这个命令只会把config目录中的.vim配置文件合并到系统 的.vimrc中

./install.sh -u

如果你想编写自己的配置,那么可以在config目录中添加自己的.vim文件,然后在install.sh中加入你写的.vim文件就可以了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.