Skip to content
Snippets Groups Projects
Commit b971b18f authored by Jerome Reybert's avatar Jerome Reybert
Browse files

plugin/magit.vim: disable inline help by default (fix #46)

parent b8d94366
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment