aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-03-02 01:48:21 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-03-02 01:48:21 -0500
commit576c5f7b74bfa46ba4c7290b5e5b951d3ee2d0bc (patch)
treefa804260b5057ee60e01ed31986105fd7c4fffcd /src/nvim/normal.c
parentbadf227e6ff377a2673f4c4b0b711b91d93a30bf (diff)
parent63606bb4099c3df049a24fd31907553682e6fd09 (diff)
downloadrneovim-576c5f7b74bfa46ba4c7290b5e5b951d3ee2d0bc.tar.gz
rneovim-576c5f7b74bfa46ba4c7290b5e5b951d3ee2d0bc.tar.bz2
rneovim-576c5f7b74bfa46ba4c7290b5e5b951d3ee2d0bc.zip
Merge pull request #4323 from watiko/vim-7.4.961
vim-patch:7.4.961
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index f5fb47568e..2895816b8f 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -4099,6 +4099,7 @@ dozet:
case 't': scroll_cursor_top(0, true);
redraw_later(VALID);
+ set_fraction(curwin);
break;
/* "z." and "zz": put cursor in middle of screen */
@@ -4107,6 +4108,7 @@ dozet:
case 'z': scroll_cursor_halfway(true);
redraw_later(VALID);
+ set_fraction(curwin);
break;
/* "z^", "z-" and "zb": put cursor at bottom of screen */
@@ -4127,6 +4129,7 @@ dozet:
case 'b': scroll_cursor_bot(0, true);
redraw_later(VALID);
+ set_fraction(curwin);
break;
/* "zH" - scroll screen right half-page */