VSCodeVim / VSCodeVim/Vim

FEATURE: Add `view` command for read-only modes

Open
#2,792 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature upstream/vscode
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

What happened:
Wanted to open a file in read-only mode for referencing it without making any accidental changes. Did not work.

did you expect to happen**:
Open file in read-only mode.

How to reproduce it (as minimally and precisely as possible):
Try :view file.txt

Environment:
Win 64

  • Extension (VsCodeVim) version: 0.14.0
  • VSCode version: 1.24.1
  • OS version: Win 10

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 tracing how the VSCodeVim command entry point handles :view file.txt and how read-only editor modes are represented. Confirm the expected behavior on the reported Windows and VS Code versions, then verify that opening a file with :view prevents accidental edits without changing normal file opening.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.