diff --git a/plugin/indent_guides.vim b/plugin/indent_guides.vim index 910ef79..642553b 100644 --- a/plugin/indent_guides.vim +++ b/plugin/indent_guides.vim @@ -55,7 +55,7 @@ call s:InitVariable('g:indent_guides_debug', 0 ) call s:InitVariable('g:indent_guides_space_guides', 1 ) " Default mapping -if !hasmapto('IndentGuidesToggle') && maparg('ig', 'n') == '' +if !hasmapto('IndentGuidesToggle', 'n') && maparg('ig', 'n') == '' nmap ig IndentGuidesToggle endif