Layervim

From kangssu
Jump to: navigation, search

Layervim Introduce

Layervim.png


Basically, vim has a lot of plugin managers.

Each plug-in is easy to manage, but as the number increases, managing the config files and plug-ins is very difficult.

So I created a vim framework to solve it.

I want that I have minimal vim-configuration to categorize configuration-files. Thus I had used spacevim, ... stuff like that.

However I can't find vim-configuration-framework for me. spacevim is very huge, It is difficult to categorize vim-configuration-files for me.

I maked minimal vim-configuration-framework called layervim.

LayerVim help you to categorize your vim-configuration. LayerVim also can recognite any directory-name though, your vim must support python2 or python3.

I also referenced spacevim codes.

Installation

You must install git.

Vim Plug Requirement

https://github.com/junegunn/vim-Plug

LayerVim Structure

▸ backup_files/
▾ layers/
  ▾ etc/ -- category1
      config.vim
      packages.vim
      README.md
  ▾ syntax/ -- category2
      config.vim
      packages.vim
  ▾ ui/ -- category3
      config.vim
      packages.vim
▸ swap_files/
▸ undo_files/
  basic.vim -- basic configration
  layer.vim -- core logic [do not edit this file]

windows

cd %USERPROFILE%
git clone https://github.com/hsnks100/layervim.git

linux

cd ~/
git clone https://github.com/hsnks100/layervim.git

step1

create ~/.vimrc put this at the top of your ~/.vimrc

set rtp+=~/layervim  
source ~/layervim/layer.vim

step2

execute vim, type ':PlugInstall[enter]'