@@ -170,6 +170,15 @@ Default: ['help']. Values: list of strings.
170
170
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree']
171
171
<
172
172
173
+ ------------------------------------------------------------------------------
174
+ *'indent_guides_default_mapping'*
175
+ Use this option to control whether the default mapping (<Leader> ig) gets set.
176
+
177
+ Default: 1. Values: 0 or 1.
178
+ >
179
+ let g:indent_guides_default_mapping = 0
180
+ <
181
+
173
182
==============================================================================
174
183
4. MAPPINGS *indent-guides-mappings*
175
184
@@ -179,14 +188,6 @@ map it to other keys. For example:
179
188
:nmap <silent> <Leader>ig <Plug>IndentGuidesToggle
180
189
<
181
190
182
- The plugin will not provide the default mapping if either:
183
- * You already have something mapped to <Plug> IndentGuidesToggle.
184
- * You are already using the <Leader> ig key sequence.
185
- * You set to 0 the variable g:indent_guides_default_mapping:
186
- >
187
- let g:indent_guides_default_mapping=0
188
- <
189
-
190
191
You can also map some other commands that are not mapped by default. For
191
192
example:
192
193
>
@@ -257,6 +258,8 @@ Bug reports, feedback, suggestions etc are welcomed.
257
258
1.8 (pending release)~
258
259
* Added option g:| indent_guides_soft_pattern | to control the pattern for
259
260
soft indentation (thanks @sergey-vlasov).
261
+ * Added option g:| indent_guides_default_mapping | to control whether the
262
+ default mapping (<Leader> ig) gets set (thanks @suy).
260
263
261
264
1.7~
262
265
* Added way to override the default mapping (thanks xuhdev).
0 commit comments