ruby / ruby/reline

Ring bell with unassigned commands in vi-mode

Open
#251 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
311
Forks
99
Avg merge
6d 4h
Merged PRs (30d)
1

Description

In vi-mode, readline and some implementations seem to
ring the bell with unassigned commands.
(readline can change the setting with bell-style of .inputrc)

I think Reline should follow them, so how about?

unassigned command ESC in command mode
readline 🔔 -
editline 🔔 🔔 (once every 2 times?)
vim 🔔 🔔
nvi warning message 🔔
Zsh 🔔 🔔

(I think it is useful for debug of Reline itself...)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating Reline's vi-mode command handling and the path for unassigned commands, then compare its behavior with the readline, editline, vim, nvi, and Zsh table. Done means unassigned commands ring the bell consistently with the intended vi-mode behavior, including ESC in command mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.