Bug 174647

Summary: hope use HJKL to navigate PDF
Product: [Applications] okular Reporter: suxiaoge <magisu>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid, gladhorn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: hjkl navigation patch

Description suxiaoge 2008-11-08 19:28:24 UTC
Version:            (using KDE 4.1.2)
Installed from:    Ubuntu Packages

Hope we can use HJKL to navigate file, just like using VIM. So we do not need to move to mouse while typing something.
Comment 1 Albert Astals Cid 2008-11-08 19:48:50 UTC
Why not use arrow keys like normal people? ;-)
Comment 2 Brad Hards 2008-11-09 06:20:25 UTC
This kind of non-arrow key navigation doesn't seem like something that should be specific to one application. Perhaps would make more sense as a theme or setting in kdelibs or kdebase?

Maybe requires useability advice / analysis.
Comment 3 Frederik Gladhorn 2008-11-27 17:04:56 UTC
How about adding actions for that, so it becomes configurable?
I'd also like to be able to use jk since I'm editing a doc with vim and switch back and forth to okular.
Greetings
Frederik
Comment 4 Frederik Gladhorn 2008-11-27 18:30:58 UTC
Created attachment 28859 [details]
hjkl navigation patch

For the fun of it, here is a patch to implement HJKL navigation.
Comment 5 Pino Toscano 2008-11-29 14:27:09 UTC
SVN commit 890465 by pino:

Add VIM-like navigation (HJKL) in the content view.
Patch by Frederik Gladhorn, thanks!

BUG: 174647


 M  +7 -2      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=890465
Comment 6 Pino Toscano 2008-11-30 10:57:53 UTC
SVN commit 890790 by pino:

Backport:
Add VIM-like navigation (HJKL) in the content view.
Patch by Frederik Gladhorn, thanks!

CCBUG: 174647


 M  +7 -2      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=890790