Bug 482583

Summary: Vi folding commands
Product: [Applications] kate Reporter: Quinten Kock <quinten>
Component: Vi Input ModeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: christoph
Priority: NOR Keywords: qt6
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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).