t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Avoid centering editor in editor #1014

Closed t9md closed 6 years ago

t9md commented 6 years ago

Red highlighted part is text-editor embedded into normal text-editor. Package git-diff-details or inline-git-diff(my fork of git-diff-details) embed another text-editor into normal text-editor by using block decoration.

Previously when maximizing pane by vim-mode-plus:maximize-pane(cmd-enter), this editor-in-editor was centered again. This PR avoid this unwanted centering.