t9md / atom-vim-mode-plus

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

Scroll cursor commands failing intermittently #896

Closed dcalhoun closed 6 years ago

dcalhoun commented 6 years ago

The scroll cursor to top commands fail if the cursor is towards the end of buffer and within the bottom 50% of the viewport.

Steps to Reproduce

  1. Open a file with a buffer longer than your viewport's height
  2. Move cursor to bottom of buffer (G)
  3. Scroll cursor to top and leave (zt)

Expected Result

The buffer scrolls to place the cursor at the top of the viewport.

Actual Result

The buffer does not scroll.


Notes

Environment