! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
I can't use the Vim text editor effectively with xfce4-terminal
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description MaG 2013-11-06 05:25:48 CET
xfce4-terminal implements intrusive keyboard shortcuts that spoil the proper function of some applications like Vim, moreover seems xfce4-terminal does not provide the means to change default keyboard shortcuts.

alt+h, alt+j, alt+k, alt+k, alt+l are well known ways to exit from +Insert Mode+ in the Vim text editor, although doing alt+h makes the xfce4-terminal show the help menu, making the programming process somehow more tedious.
Comment 1 MaG 2013-11-06 13:27:58 CET
Correction, It does provide means to change some defaults shortcuts but does not for those used to open the menus (it seems).

menus shortcuts:
alt+f, alt+e, alt+t, alt+g, alt+h
Comment 2 Andrew Kelley 2015-06-16 08:48:50 CEST
Another example of this: ctrl+pagedown and ctrl+pageup to switch tabs in vim, this keyboard shortcut is eaten by xfce4-terminal to switch terminal tabs, even when there are not more than one tab.
Comment 3 Landry Breuil editbugs 2016-07-04 09:21:34 CEST
In the preferences, theres 'Disable all menu access keys (such as Alt+f)' and 'Disable menu shortcut key (F10 by default)' - doesnt that partly fixes your issue?
Comment 4 Igor editbugs 2016-07-22 14:38:55 CEST
I've also added an option to disable F1 hotkey.
I think I will also disable tabs-related shortcuts (Ctrl+PgUp/PgDn, Ctrl+Shift+PgUp/PgDn) for cases when there is a single tab only - this could mitigate the issue.
Comment 5 Igor editbugs 2016-07-22 15:09:00 CEST
Unfortunately, the idea of disabling shortcuts for 1-tab case contradicts to one of the previously closed bugs - bug 3715. That commit intentionally suppresses passing of key presses to the terminal, even if a shortcut is disabled; and this prevents Ctrl+PgUp/PgDn from working in the apps running in the terminal.

What do you guys think? I believe we cannot have both bug 3715 and this one resolved; we would need to choose one of them. Please discuss.

Bug #10469

Reported by:
MaG
Reported on: 2013-11-06
Last modified on: 2017-06-01

People

CC List:
3 users

Version

Attachments

Additional information