From b971b18f8e094bb857ab58590b2a240dacf9dc5d Mon Sep 17 00:00:00 2001 From: Jerome Reybert <jreybert@gmail.com> Date: Mon, 30 Nov 2015 20:58:39 +0100 Subject: [PATCH] plugin/magit.vim: disable inline help by default (fix #46) --- plugin/magit.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugin/magit.vim b/plugin/magit.vim index 3de06e9..0cd9130 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 -- GitLab