VSCodeVim / VSCodeVim/Vim

allow zoomvim-like feature (zoom in / zoom out of splits)

Open
#4,742 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using splits in vim, it is very convenient to be able to zoom in and out. Using zoomvim ( https://www.vim.org/scripts/script.php?script_id=508 ) for example it is possible to:

    Press <c-w>o : the current window zooms into a full screen
    Press <c-w>o again: the previous set of windows is restored 

This makes splits much more useful.

At current it looks like Ctrl-W o only closes all splits except the current one, and there is no way to go back to the previous splits configuration.

Could a zoom-like behavior be implemented?

(note: sometimes people use tmux for obtaining this behavior, i.e. have tmux splits with vim in each. the result is the same, though it is more cumbersome. Of course in VSC case using tmux for this is not an option).

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 searching the repository for the existing Ctrl-W o split handling and the code that manages VS Code editor groups. Determine how the prior split configuration can be restored after zooming, then verify that repeating the command toggles between the zoomed and restored layouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.