I would like to use Ctrl; in insert mode for my vim keybind.
inoremap <C-;>
Registration with does not work.
I would like to use C-;
, so please let me know how to describe it.
gvim emulates the terminal character input.Therefore, the results indicate that CTRL-; is not available.
In terminal character input, SHIFT is assigned to a key that shifts -0x20 from the ASCII input code (drop the sixth bit).In other words, a(0x61) is (0x41)A.The CTRL is also assigned to a key to shift ASCII input code to -0x40 (drop the seventh bit).In other words, A (0x41) plus CTRL (0x01), and CTRL-H equals 0x08 or BS.
; (0x3B) is originally zero in the seventh bit, so CTRL does not change anything by combining CTRL- with a typical terminal emulator.For the same reason, you cannot use CTRL-; on gvim.
© 2024 OneMinuteCode. All rights reserved.