Skip to content

In Vim mode escape both returns to normal mode and cancels requests. #13503

@geekmdtravis

Description

@geekmdtravis

What happened?

While in Vim mode entering normal mode from insert mode will cancel an active request simultaneously.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Enter Vim mode
  2. Inter insert mode
  3. Submit query
  4. Hit escape to enter normal mode during active query

Environment

What did you expect to happen?

Enter normal mode from insert mode while an LLM request is being fulfilled without cancelling the active request.

Client information

Client Information

gemini-cli version 0.16 (latest)

                  -`                     user@pc
                 .o+`                    -----------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: N155L (Version 1.0)
              `+oooooo:                  Kernel: Linux 6.17.8-arch1-1
              -+oooooo+:                 Uptime: 2 hours, 22 mins
            `/:-:++oooo+:                Packages: 1119 (pacman)
           `/++++/+++++++:               Shell: zsh 5.9
          `/++++++++++++++:              Display (BOE0C4E): 1920x1080 in 15", 60 Hz [Built-in]
         `/+++ooooooooooooo/`            WM: Hyprland 0.52.1 (Wayland)
        ./ooosssso++osssssso+`           Cursor: Adwaita
       .oossssso-````/ossssss+`          Terminal: tmux 3.5a
      -osssssso.      :ssssssso.         CPU: AMD Ryzen 7 6800H (16) @ 4.79 GHz
     :osssssss/        osssso+++.        GPU: AMD Radeon 680M [Integrated]
    /ossssssss/        +ssssooo/-        Memory: 7.29 GiB / 30.59 GiB (24%)
  `/ossssso+/:-        -:/+osssso+-      Swap: 0 B / 10.00 GiB (0%)
 `+sso+:-`                 `.-/+oso:     Disk (/): 230.64 GiB / 904.97 GiB (25%) - ext4
`++:.                           `-/+/    Local IP (wlp1s0): 192.168.0.8/24
.`                                 `/    Battery (SR Real Battery): 15% (17 mins remaining) [Discharging]
                                         Locale: en_US.UTF-8
Image

Login information

Google Account

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p2Important but can be addressed in a future release.

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions