Closed mandaputtra closed 4 years ago
I'm sorry, I'm noob in vim but how to comment with these plugins? Here the debug info and some videos.
TCOMMENT: &ft = javascript => javascript TCOMMENT: stx = jsString => javascriptString TCOMMENT: ct = {'rxmid': '', 'rxend': '', 'commentstring': '// %s', 'commentstring_rx': '\%%(// %s\|/* %s */\)', 'mode': '', 'filetype': 'javascript', 'replacements': {'*/': {'subst': '|)}>#', 'guard_rx': '^\s*/\?\*'}, '/*': {'subst': '#<{(|', 'guard_rx': '^\s*/\?\*'}}, 'rxbeg': '\*\+'}
Videos showing use of gcc on insert mode.
gcc
But if I use, :TComment on the vim-command-terminal it works like charm. Only the shortcut, I can't use it.
:TComment
vim-command-terminal
And the last one, what is {motion} ?
Thanks for your time and sorry for the question.
Sorry I just ask on the vi.stackexchange.com for better discussion related to question.
gcc doesn't work in insert mode. You can use (g:tcomment_mapleader1 twice) in insert mode instead.
g:tcomment_mapleader1
I'm sorry, I'm noob in vim but how to comment with these plugins? Here the debug info and some videos.
Videos showing use of
gcc
on insert mode.But if I use,
:TComment
on thevim-command-terminal
it works like charm. Only the shortcut, I can't use it.And the last one, what is {motion} ?
Thanks for your time and sorry for the question.