Skip to content

goto_word behaviour in select mode #11762

@bogdanataffirm

Description

@bogdanataffirm

Summary

I have remapped the goto_word command to a single key like this:

[keys.normal]
h = "goto_word"

[keys.select]
h = "goto_word"

I can use both the default gw and the h remap in both normal and select modes.

The problem is that in select mode, using the h remap doesn't select everything until the target word, as I would expect. The default gw map behaves as expected.

Reproduction Steps

(included in the summary)

Helix log

No response

Platform

macOS

Terminal Emulator

wezterm 20240203-110809-5046fc22

Installation Method

brew

Helix Version

helix 24.7 (079f544)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions