I basically want to add something like
source ~/.vim/source.开发者_如何学Pythond/*.vim
to vimrc.
Is it possible to loop over a set of globbed files?
Why don't you put them into your ~/.vim/plugin/ directory? It will get the job done, and transparently furthermore.
Use the :runtime! command (including the !).
:runtime! source.d/*.vim
This is how the plugin folder is loaded.
Got the following answer on #vim:
exe join(map(split(glob("~/.vim/source.d/*.vim"), "\n"), '"source " . v:val'), "\n")
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论