You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mode() ==# 'n':
current cursor is Comment:
detect comment type and uncomment
visualmode() ==# 'v':
current range is all included within Coment:
detect comment type and uncomment
else:
wrap comment (characterwise)
visualmode() ==# "\<C-v>":
current range is all included within Coment:
detect comment type and uncomment
else:
wrap comment (characterwise)
Currently
gcc
(by default, if<Plug>(caw:prefix)
is not mapped by user)is mapped to
<Plug>(caw:hatpos:toggle)
.caw.vim/plugin/caw.vim
Line 139 in 037fb8d
But I want
gcc
mapping to be smarter: Detect which comment action should current comment under cursor be handled by (exceptjump
andinput
):And dispatch invoked method to detected action:
Reference
About Emacs comment plugin (Japanese)
The text was updated successfully, but these errors were encountered: