prompt-toolkit / prompt-toolkit/python-prompt-toolkit

questions around vim functionalities

Open
#1,439 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have been redirected here from https://github.com/xonsh/xonsh/issues/4292 .

From the discussions there:

"

  • some vim commands are not available; for example, if I do 10 a - ESC, that only inserts one -, not 10
  • it is only possible to navigate the current prompt line, not what is above. For example, in a situation like:
$> some_command
some_interesting_output_1 some_interesting_output_2
$> my_prompt_is_here

I cannot navigate in vim-mode to copy some_interesting_output_2 as if the whole terminal was a single file that I navigate with vim; any idea if this is attainable? :)
"

I was wondering: are these limitations of the present repo (and if so, could the functionalities be added?), or is it a limitation of how Xonsh uses the prompt-toolkit? :)

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 with the linked xonsh issue 4292 and this discussion to separate missing Vim commands from terminal-history navigation. The issue names no files or tests, so define the desired behavior and identify the prompt-toolkit Vim-mode entry points before estimating implementation or verification work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.