VSCodeVim / VSCodeVim/Vim

Support for `input()`?

Open
#6,591 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/vimrc
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Hellooo

I have a very simple vimscript function that I rely on quite often. but it relies on an input from the user at the start.

Is this currently supported via mappings or some other method?

If not would it be considered as a feature?

One way to implement it fairly easily might be to:

a) Allow referencing of functions defined in a vimrc (when enabled)
b) Support input() (i.e. open a dialogue in vscode and return the input)

Thanks for the great plugin :)

Contributor guide

Open the contributing guide

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 checking how mappings and Vimscript functions are currently supported in the extension. Determine whether vimrc-defined functions can be referenced and how a VS Code dialogue could provide input to input(). Done means a documented, working approach for invoking input() through a mapping or an explicit decision that it is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
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.