Summary: | [wish] gc to toggle comments | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Diego Gangl <diego> |
Component: | Vi Input Mode | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | christoph, kdedev |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/-/commit/4b9b8c5f9085c398ed52a05a2a99e79c06484913 | Version Fixed In: | 6.12 |
Sentry Crash Report: |
Description
Diego Gangl
2024-07-12 19:27:03 UTC
This seems like it wouldn't be too much work to implement If somebody wants to add it, merge requests welcome. Git commit 4b9b8c5f9085c398ed52a05a2a99e79c06484913 by Waqar Ahmed, on behalf of Kshetrimayum Abo. Committed on 04/03/2025 at 08:40. Pushed by waqar into branch 'master'. Add "gc" motion for vim to Toggle Comment Used similar code for toggle comment by pressing shortcut "Ctrl+/" and mapped it to "gc" in vim visual mode to toggle comment FIXED-IN: 6.12 M +10 -0 autotests/src/vimode/modes.cpp M +6 -0 src/vimode/modes/normalvimode.cpp M +2 -0 src/vimode/modes/normalvimode.h M +1 -0 src/vimode/modes/visualvimode.cpp https://invent.kde.org/frameworks/ktexteditor/-/commit/4b9b8c5f9085c398ed52a05a2a99e79c06484913 |