Closed dantezhu closed 2 years ago
it seems like, in gvim, when I type Ctrl -
, it will trigger Ctrl -
, not Ctrl _
.
but when I use macvim, it will trigger Ctrl _
.
it is very strange behavior
I try to solve it by config like these:
let g:tcomment_mapleader1 = '<C-->'
it works well now, but I don't think it is a good method, because I don't know why Ctlr -
behavior like this.
I think this is documented somewhere. VIM assumes the US keyboard layout for certain tasks. I agree this is weird but I don't know of a work around.
When I type
Ctrl -
, it just works like I type-
, the cursor move back. I am using gVim, version 8.2.5136, but other version does not work too.I am using the lastest version of tcomment.