diff --git a/plugin/magit.vim b/plugin/magit.vim index 3de06e9227e2bc6583fc4476fa8621a6d34bc4ba..0cd91303448055ea1ba06b0f318fe16a1915c41b 100644 --- a/plugin/magit.vim +++ b/plugin/magit.vim @@ -40,7 +40,7 @@ let g:magit_folding_close_mapping = get(g:, 'magit_folding_close_mapping', " user options let g:magit_enabled = get(g:, 'magit_enabled', 1) -let g:magit_show_help = get(g:, 'magit_show_help', 1) +let g:magit_show_help = get(g:, 'magit_show_help', 0) let g:magit_default_show_all_files = get(g:, 'magit_default_show_all_files', 1) let g:magit_default_fold_level = get(g:, 'magit_default_fold_level', 1) let g:magit_default_sections = get(g:, 'magit_default_sections', ['info', 'global_help', 'commit', 'staged', 'unstaged']) @@ -82,9 +82,6 @@ let s:magit_inline_help = { \'R refresh magit buffer', \'q close magit buffer', \'h toggle help showing in magit buffer', -\'', -\'To disable inline default appearance, add "let g:magit_show_help=0" to .vimrc', -\'You will still be able to toggle inline help with h', \], \ 'commit': [ \'CC commit all staged changes with commit mode previously set (normal or', @@ -126,6 +123,7 @@ function! s:mg_get_info() silent put ='Current branch: ' . branch silent put ='Last commit: ' . commit silent put ='' + silent put ='Press h to display help' endfunction " s:mg_display_files: display in current buffer files, filtered by some