ruby / ruby/reline

Implement mark of emacs mode

Open
#9 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

Implemented by https://github.com/ruby/reline/commit/d1d4ac6b089057f8a4fe6f958329483f9504e424.

I should also implement kill-region and copy-region-as-kill (em-kill-region and em-copy-region in Editline). I think vi-set-mark by ` and vi-goto-mark by m in vi command mode should be also implemented.

ref. http://www.mit.edu/afs.new/sipb/project/sipbsrc/src/zsh2.2/help/zle

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

Start by inspecting commit d1d4ac6b089057f8a4fe6f958329483f9504e424, which implemented the emacs mark mode. Compare the remaining kill-region and copy-region-as-kill items, plus vi-set-mark and vi-goto-mark, with Editline and the referenced zle documentation; done means the applicable commands are implemented and working.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.