Bug 351929 - Vi Mode default shortcut key Meta + Ctrl + V not work
Summary: Vi Mode default shortcut key Meta + Ctrl + V not work
Status: RESOLVED DUPLICATE of bug 347769
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-29 09:48 UTC by julee
Modified: 2015-10-10 21:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description julee 2015-08-29 09:48:45 UTC
Toggling the default shortcut key  Meta+Ctrl+V for vi input mode doesn't work. Also no shortcut item for vi mode in shortcuts configuration dialog.
I also can't find any option to enable vi mode in settings( old version seems work).
Now I have to  “Edit” menu -> input mode -> vi mode to enable for every open file. It's make it very troublesome. Sad for this.

Platform: 
Kubuntu 15.04
KDE 5.9.0
Kate 4.14.12.3

Reproducible: Always
Comment 1 Kåre Särs 2015-08-31 05:50:00 UTC
There is a bug in Qt (also 5.4.1) xcb platform plugin that prevents all Meta-... shortcuts from functioning. 

https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1450808
https://bugreports.qt.io/browse/QTBUG-43572

The Qt bug does not say but the fix is included in 5.4.2 and 5.5.0
Comment 2 julee 2015-09-02 09:47:22 UTC
I have downloaed Qt 5.5 and installed it. Then with it's libs path adding to the env LD_LIBRARY_PATH ,  I started kate. However, Meta+Ctrl+V still not work!
 I try to asign other shortcuts with Meta key (such as Meta+b) to some other action, it successed triggle the action (with Qt 5.4.1 it doesn't ). So I think it doesn't the qt's issue now, with this qt version, asigning Meta+Ctrl+v to any other action all works well.
The import thing is I cann't find any Vi Input Mode item in the shortcuts configuration dialog.
Seems katepart is part of the kdelibs now, but old version isn't. Does this affect it ?
Comment 3 Kåre Särs 2015-09-02 13:26:05 UTC
You are right.

There is no default short-cut assigned nor is it added to the action-collection or katepartui.rc
The mode changing does not seem to be togglable either....
Comment 4 julee 2015-09-03 03:53:06 UTC
There's no way to enable Vi input mode defautly.
With old version, in configuratioon dialog,  Editor Component -> Editing -> Vi Input Mode, there is one option: Use Vi input mode. 
Expect this option could reback.
Comment 5 Michal Humpula 2015-10-10 21:35:42 UTC
Hi julee, the default option has moved to Editing->General->Input Mode. The shorcut is missing, but there is already a bug report about that.

*** This bug has been marked as a duplicate of bug 347769 ***