mhinz / mhinz/vim-signify

open all folds on disable signify folds

Open
#402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
2.7k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

https://github.com/mhinz/vim-signify/blob/master/autoload/sy/fold.vim#L64

I guess for already folded scenarios `zv` makes sense, but if you don't fold anything `zR` backs to the previous view.

Is it possible to remember the previous foldlevel to get back to it?

Contributor guide

Open the contributing guide

Research direction

Read autoload/sy/fold.vim at line 64 and compare the zR and zv behavior described in the issue. Trace what happens when signify is disabled, then determine how the prior foldlevel or view should be retained. Done means disabling signify no longer unexpectedly changes the user's fold state and restores the previous view when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
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.