Bug 482583 - Vi folding commands
Summary: Vi folding commands
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (other bugs)
Version First Reported In: Git
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-06 20:48 UTC by Quinten Kock
Modified: 2024-04-04 01:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quinten Kock 2024-03-06 20:48:24 UTC
SUMMARY
Kate folding does not seem to be supported by corresponding vi commands in the vi input mode (e.g. zc/zo commands)

STEPS TO REPRODUCE
1. Open a document with folds
2. See that it can be folded with the arrows in the left sidebar
3. Ensure you are in vi mode (normal)
4. Put cursor inside foldable block
5. Type zc (for example)

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Block folds up

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 24.04.70
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 2 Quinten Kock 2024-04-04 01:30:19 UTC
PR was merged, so this is fixed in KTextEditor (although it's not very complete, and probably mismatches vim behavior in some ways).