terrychou / iVim

A vim port to iOS.
599 stars 34 forks source link

iplug options: add folder option #125

Closed suliveevil closed 4 years ago

suliveevil commented 4 years ago

Let’s say there is a cmd like this:

iplug add -f completion https://github.com/preservim/nerdcommenter

it add nerdcommenter under

~/.vim/pack/completion/start/

with multi options


iplug add -f completion -t opt https://github.com/preservim/nerdcommenter

it add nerdcommenter under

~/.vim/pack/completion/opt/
terrychou commented 4 years ago

iplug will puts vim 8 packages (which has sub-directory start or opt) under ~/.vim/pack/; puts plugins (which is not a package) under ~/.vim/pack/ivim/start or ~/.vim/pack/ivim/opt, for better management. A folder option seems not necessary since iVim tries to abstract this structure from users.

suliveevil commented 4 years ago

Yeah,I rethought about it, classify by folder may not be a good idea. I wlll recognize my rc files instead.