Open krishnakumarg1984 opened 4 years ago
Did you mean gcic? tcomment doesn't use the cic map.
Anyway, you could redefine g:tcomment_opleader1. Please see :h tcomment-operator
.
HTH
I think this is referring to the 'ic' mapping (g:tcomment_textobject_inlinecomment and
You can disable it by adding:
let g:tcomment_textobject_inlinecomment = ''
to your .vimrc. I also think it's broken: the string concatenation will generate e.g. exec 'omapic <Plug>TComment_ic'
rather than exec 'omap ic <Plug>TComment_ic'
. You can fix that for now with:
let let g:tcomment_textobject_inlinecomment = ' ic'
But I'll also try sending a pull request.
Thank you for the excellent plugin. Here's a small issue/request.
For writing latex documents, I am using the
vimtex
plugin. The mappingcic
of vimtex stands forchange in command
and is quite helpful to change the command being writtenFor eg., if
^
points to the current cursor locationcic
in normal mode shall put the cursor in the correct location & switching to insert modewhich is super helpful , eg. to make the text
bold
.This conflicts with the
inline comment
mapping oftcomment
.Can you please provide some documentation to
tcomments
inline mapping functionality?