How to set multiple plug's code block of directory?
- Dominant language
- Vim Script
- Stars
- 35.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
How could I set multiple directory by `dir` option、`set rtp` etc ?
The example config file like as follow:
`~/.vimrc`
```viml
" The path of `/home/common/.vim/commons_dir` is just a common or soft link directory.
call plug#begin('/home/common/.vim/commons_dir')
" set common plugins
Plug 'majutsushi/tagbar',
call plug#end()
" source other files
source ~/.private.vimrc
```
`~/ .private.vimrc`
```viml
call plug#begin('~/.vim/private_dir')
" set private plugins
Plug 'mxw/vim-jsx',
call plug#end()
```
------------------------------
```
:version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 16 2019 18:46:24)
Included patches: 1-503, 505-680, 682-1312
Compiled by root@apple.com
Normal version without GUI. Features included (+) or not (-):
+acl +cmdline_compl -emacs_tags +insert_expand +modify_fname +netbeans_intg +ruby/dyn +terminfo +vreplace
-arabic +cmdline_hist +eval +job +mouse +num64 +scrollbind +termresponse +wildignore
+autocmd +cmdline_info +ex_extra +jumplist -mouseshape +packages +signs +textobjects +wildmenu
+autochdir +comments +extra_search -keymap -mouse_dec +path_extra +smartindent +textprop +windows
-autoservername -conceal -farsi +lambda -mouse_gpm -perl +startuptime +timers +writebackup
-balloon_eval +cryptv +file_in_path -langmap -mouse_jsbterm +persistent_undo +statusline +title -X11
-balloon_eval_term +cscope +find_in_path +libcall -mouse_netterm +postscript -sun_workshop -toolbar -xfontset
-browse +cursorbind +float +linebreak +mouse_sgr +printer +syntax +user_commands -xim
+builtin_terms +cursorshape +folding +lispindent -mouse_sysmouse -profile +tag_binary -vartabs -xpm
+byte_offset +dialog_con -footer +listcmds -mouse_urxvt +python/dyn -tag_old_static +vertsplit -xsmp
+channel +diff +fork() +localmap +mouse_xterm -python3 -tag_any_white +virtualedit -xterm_clipboard
+cindent +digraphs -gettext -lua +multi_byte +quickfix -tcl +visual -xterm_save
-clientserver -dnd -hangul_input +menu +multi_lang +reltime -termguicolors +visualextra
-clipboard -ebcdic +iconv +mksession -mzscheme -rightleft +terminal +viminfo
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lm -lncurses -liconv -framework Cocoa
```
- Type:
- [ ] Bug
- [ ] Enhancement
- [ ] Feature Request
- [x] Question
- OS:
- [ ] All/Other
- [ ] Linux
- [x] OS X
- [ ] Windows
- Vim:
- [x] Terminal Vim
- [ ] GVim
- [ ] Neovim
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.