vim-settings


Ⅰ. 插件描述

Neovim settings with vim-plug

Ⅱ. 基本信息

创建日期:  2013-12-23
使用用户:  1
Github星:  2
插件作者:  Phillip Lanclos

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'flipxfx/vim-settings'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'flipxfx/vim-settings'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'flipxfx/vim-settings'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/flipxfx/vim-settings

Ⅳ. 文档说明

# Vim Settings

The basic idea behind vim-settings is to sync Neovim settings in a git repository using vim-plug.
The solution is built with my settings embedded for others to use or fork and customize.
Once setup, any customizations and updates are synced via vim-plug.
In addition, as people fork the repo we can all take from each other and have a nice place to see what others are doing.

Install

  • If you want to customize the settings then fork this repository first
  • Install python 3 with Homebrew using brew install python3
  • Install python Neovim client with pip3 install neovim
  • Create/replace init.vim file, updating settings_username to your GitHub username if you forked the repository

    • Open Neovim and run :e $MYVIMRC
  • Open Neovim and it should install everything automatically

Notes

Make Update

  • You will need to have forked vim-settings to do this
  • Make changes to vim-settings

    • You can open the vim-settings settings file with <leader>rc
  • Run <leader>rC to refresh with any changes you make
  • If you add/remove plugins run :PlugInstall or :PlugClean respectively, and <leader>rC again to refresh
  • Commit and push the changes via git

Pull Update

  • Run :PlugUpdate
  • Run <leader>rC to refresh with changes
  • If new plugins are added to settings.vim, then run :PlugInstall, and <leader>rC.

添加新评论