Control-/ is broken in vim-gtk and vim-gnome
Bug #534124 reported by
Scott Bronson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vim
vim-gtk and vim-gnome mistakenly convert Control-/ to plain "/", making it impossible to map Control-/ to anything.
console vim, vim-lesstif, and most other platforms treat Control-/ as the same as Control-_ (due to terminal legacy). The all other platforms just pass through Control-/ unmolested.
Here's how to test, expected behavior first, actual behavior second:
- fire up console vim
- hit "i" to enter insert mode
- hit Control-V Control-/. Notice how "^_" is printed. Excellent!
- fire up gvim
- hit "i" to enter insert mode
- hit Control-V Control-/. Notice how "/" is printed. Not good.
This is on stock Karmic, Vim 7.2 patches 1-245.
To post a comment you must log in.
Well, ctrl-/ isn't a real character. The fact that your terminal sends a ctrl-_ when pressing ctrl-/ is not vim's problem. However, gvim does interpret ctrl-7 as a ctrl-_, so use that instead.