Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vimagit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
jreybert
vimagit
Commits
b971b18f
Commit
b971b18f
authored
9 years ago
by
Jerome Reybert
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugin/magit.vim
+2
-4
2 additions, 4 deletions
plugin/magit.vim
with
2 additions
and
4 deletions
plugin/magit.vim
+
2
−
4
View file @
b971b18f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment