[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kate] [Bug 334399] Vi Insert mode same as regular kate editing
From:       <pablo.speciale () gmail ! com>
Date:       2014-05-31 23:47:42
Message-ID: bug-334399-17878-PLHyu1uVjT () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=334399

--- Comment #5 from pablo.speciale@gmail.com ---
Hi Michal,

Thanks for the answer!

When I turn off "Let Vi commands override Kate shortcuts" option, it is almost
what I am looking (for insert mode) except that some shortcuts doesn't work,
e.g.: "shift+left" (char selection) and "ctrl+shift+left" (word selection).
This might be a different bug. So, even with this option off, there are some
differences with the regular kate editing.

And the real problem with this option is that I want to have the vim navigation
like "ctrl+d" and "ctrl+u". I would rather prefer to have two different
options:
   1. "Let Vi commands override Kate shortcuts" (in normal mode)
   2. "Let Vi commands override Kate shortcuts" (in insert mode). Or another
text like: "Vi insert mode as regular kate editing."

I've tried to "fix" this request myself, but I couldn't figure out where the
vi-mode "eats" the keys. I think it is in 'KateView::deactivateEditActions()'.
Another place I was looking at is:
    part/view/kateviewinternal.cpp:2337:    if (
getViInputModeManager()->getCurrentViMode() == InsertMode

but then... I don't know what to do :P

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic