Spacevim: Could we change or add `SPC c l` with `SPC c c` to comment lines?

Created on 14 Jan 2018  路  5Comments  路  Source: SpaceVim/SpaceVim

As I see that commenting lines is the most common use actions in the SPC c menus, except for the SPC c l. I recommend that change SPC c l to SPC c l when c is still unused in SPC c menus.

Or ,how could I add my own mapping (in to init.vim) SPC c c to implement the comment lines feature?

Most helpful comment

I do not like press same key twice, it will hurt your fingers.

All 5 comments

I recommend that change SPC c l to SPC c l when c is still unused in SPC c menus.

what do you mean?

you can use:

call SpaceVim#custom#SPC('nmap', ['c', 'c'], '<Plug>NERDCommenterInvert', 'comment or uncomment lines', 0)

Thanks

SPC c c is still not mapped by any actions. haha . I think it is the best key for comment lines.

I do not like press same key twice, it will hurt your fingers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wsdjeg picture wsdjeg  路  3Comments

shabegom picture shabegom  路  3Comments

fmind picture fmind  路  3Comments

rivalak picture rivalak  路  3Comments

eperfect picture eperfect  路  4Comments