Skip to content

Navigate by word in prompts #795

@StefanMich

Description

@StefanMich

Describe the bug
In prompts with text fields (commit, checkout, etc..), I would like to navigate by word, which is implemented in most textfields other places (text editors, browsers, etc.).
When I press ctrl + left arrow as I am used to, lazygit interprets the key combination as a shortcut which operates in the menu, and not in the text field

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Local branches'
  2. Press 'c' for checkout by name
  3. Type some text...
  4. Press ctrl + left arrow

Expected behavior
Cursor moves to the beginning of the word

Desktop (please complete the following information):

  • OS: Ubuntu 19.10
  • Lazygit Version: build date=2020-04-10, build source=debian, version=0.18, os=linux, arch=amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions