Closed stardiviner closed 12 years ago
There was undocumented g:vim_addon_manager.silent_shell_commands
setting. I now replaced it with g:vim_addon_manager.shell_commands_run_method
documented it. With this you should add
let g:vim_addon_manager.shell_commands_run_method='system'
to your .vimrc
.
=> On [2012-02-19 04:12:59 -0800]: ZyX-I Said:
There was undocumented
g:vim_addon_manager.silent_shell_commands
setting. I now replaced it withg:vim_addon_manager.shell_commands_run_method
documented it. With this you should addlet g:vim_addon_manager.shell_commands_run_method='system'
to your
.vimrc
. aftergit pull
in vim-addon-manager, and add upper line to my vimrc. I still get need to press a lot of ENTER. like this:
~ > vim .vimrc
Already up-to-date.
Press ENTER or type command to continue Already up-to-date.
Press ENTER or type command to continue Already up-to-date.
Press ENTER or type command to continue
Reply to this email directly or view it on GitHub: https://github.com/MarcWeber/vim-addon-manager/issues/58#issuecomment-4041525
stardiviner << =>GPG: 5D9F64D8 Twitter: @numbchild http://stardiviner.dyndns-blog.com/author.html
Works for me. Where did you add it? It must go before any other VAM call.
http://paste.ubuntu.com/848533/ here is my vimrc VAM setting example.
It must go before any other VAM call.
Fix this, though it does not matter here. But it makes you able to purge out all {'auto_install': 1}
arguments.
3. shell_commands_run_method='system'
does not silence shell commands.
If I move options before VAM call, then vim notice me that no g:vim_addon_manager
variable.
If I move options before VAM call, then vim notice me that no g:vim_addon_manager variable.
What’s the problem here?
let g:vim_addon_manager={}
" Options go here
or even
let g:vim_addon_manager={'shell_commands_run_method': 'system', 'auto_install': 1, 'do_diff': 1}
So can not silence shell command. I do not know Vundle how to implement this, it's update command with ! can silence update all plugins. maybe they are different update ways.
So can not silence shell command.
It avoids Hit-Enter prompts instead.
I do not know Vundle how to implement this, it's update command with ! can silence update all plugins. maybe they are different update ways.
Understood nothing.
I want to avoid the "Press ENTER or type command to continue", but would like the downloading process to be shown, can you help add another mode rather than "bang" and "system" to help with that?
I think the implementation would be changing this into:
if s:c.shell_commands_run_method[-4:] is# 'bang'
execute '!'.a:cmd
elseif s:c.shell_commands_run_method is# 'progress'
execute 'silent !'.a:cmd
elseif s:c.shell_commands_run_method is# 'system'
call vam#Log(system(a:cmd), 'None')
else
throw 'Unknown run method: '.s:c.shell_commands_run_method
endif
I don't have time to work on it. Consider giving vundle or NeoBundle a try if this is too annoying. If you proivde a patch we'll apply it.
In the long run installation code should eventually moved into a full blown package manager instead.
I have many plugins. If I execute command :UpdateAddons, Then I will need to press a lot of key to continue update. Can you let VAM automatically update next addon if no error occurs. Or save all error in buffer. the press some key to check out all errors. And I found :UninstallUnloadedAddons has same issus too.