Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit the age old "unfolded diff" issue #42

Closed
sodapopcan opened this issue Mar 20, 2018 · 2 comments
Closed

Revisit the age old "unfolded diff" issue #42

sodapopcan opened this issue Mar 20, 2018 · 2 comments

Comments

@sodapopcan
Copy link

sodapopcan commented Mar 20, 2018

Similar comments have been made on similar plugins (mostly fugitive itself) and twice here (#30 and #5).

I actually quite appreciate folds. Especially with the addition of the <C-N> and <C-P> mappings, I really like being able to scroll through the history and seeing only commit messages and affected file names. And it's perfect that my cursor stays in the browser window!

However, when I do want to see unfolded diffs, 100% of the time I am jumping to the diff window and unfolding it. While the stripped-down nature of this plugin is why I've settled on it over the alternatives, it would be nice if there was an included mapping that could accomplish this (I suggest go and its gO sibling). Even if its inclusion avoids this discussion ever coming up again, I'd say it's a win 😺

I'm currently solving this with: au FileType GV nnoremap go :normal o<cr><bar>:wincmd w<cr><bar>:normal! zR<cr>. It ain't winning any vim golf awards, but it works.

@sodapopcan
Copy link
Author

Upon further reflection, I might just be rocking the boat here and killing the spirit of the customization shruggy.

@sodapopcan
Copy link
Author

Imma close this. I just autocmd'd my own mapping for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant