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

            Bug ID: 489936
           Summary: <Ctrl-[> (Control-Left Bracket) should behave as
                    Escape in vi mode
    Classification: Applications
           Product: kate
           Version: 24.05.1
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Vi Input Mode
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: siege...@gmail.com
  Target Milestone: ---

SUMMARY

Typing <C-[> (^[, Ctrl-[, Control-Left Bracket) should behave as Escape in vi
mode. In particular, it should enter Normal mode when in Insert mode. Other
instances are less crucial, but should still behave as Escape for consistency.

STEPS TO REPRODUCE
1. Open Kate. Set Default Input Mode to VI Input Mode.
2. Type "ifoo" to enter insert mode and add "foo" to the buffer.
3. Type <Ctrl-[>, notice that nothing happens. Nothing is added to the buffer,
and the editor remains in "VI: INSERT MODE".
4. Type <Escape>, notice that the editor switches to "VI: NORMAL MODE".

OBSERVED RESULT

Ctrl-[ does nothing

EXPECTED RESULT

Ctrl-[ behaves as Escape

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.6.36 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION

This behavior is standard in the terminal since at least the late '80s (I don't
know the full history). I searched for a similar bug report or discussion, but
could not find any prior mentions of this problem.

Additionally, I could not figure out how to add a key mapping in Kate to
accomplish this as a workaround.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to