What line of code I could add to vimrc to make <leader>ig command run when vim starts?
vim
Solution
Sounds like something the plugin might support in its configuration. Vim plugins are generally configured by putting something like
let g:global_variable_for_plugin = 1
in your `~/.vimrc`.
Lo and behold, from the vim-indent-guides documentation:
Use this option to control whether the plugin is enabled on Vim startup.
Default: 0. Values: 0 or 1.
>
let g:indent_guides_enable_on_vim_startup = 0
<
Problem
I'm new to Vim, sorry for this newbie question. I'm using a vim plugin vim-indent-guides The default mapping to toggle the plugin is `<leader>ig`. What modification should be made to make it toggled on when vim-started