Add vimrc file with plugin manager block and selected plugins in beween
This commit is contained in:
parent
ef0c7de0da
commit
963a164611
@ -46,5 +46,9 @@ class VimModule(IModule):
|
||||
|
||||
else:
|
||||
vimrc_file = open("testfile", "w+")
|
||||
vimrc_file.write(plugins[selection][1])
|
||||
vimrc_file.write("\n" + "call plug#begin('~/.vim/plugged')\n")
|
||||
for element in clean_plugin_list:
|
||||
selection = element -1
|
||||
vimrc_file.write(plugins[selection][1] + "\n")
|
||||
vimrc_file.write("call plug#end()\n")
|
||||
vimrc_file.close()
|
||||
|
Loading…
Reference in New Issue
Block a user