jesseduffield / jesseduffield/lazygit

Navigate by word in prompts

Open
#795 12 comments 2 reactions 0 assignees View on GitHub
bug gocui usability
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.