summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
commit7fc904b610d5739dd7b72fb2f6b0e4b330c97179 (patch)
treea7ea75d0ab26a753f13949e25e08e2c875b37d69 /src/edit.c
parent18144c84231aee36ae1d11b74941c9b318f1706a (diff)
downloadvim-git-7fc904b610d5739dd7b72fb2f6b0e4b330c97179.tar.gz
updated for version 7.0d03v7.0d03
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index f2a5cdacd..a57787a98 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -8494,6 +8494,16 @@ ins_pageup()
pos_T tpos;
undisplay_dollar();
+
+#ifdef FEAT_WINDOWS
+ if (mod_mask & MOD_MASK_CTRL)
+ {
+ /* <C-PageUp>: tab page back */
+ goto_tabpage(-1);
+ return;
+ }
+#endif
+
tpos = curwin->w_cursor;
if (onepage(BACKWARD, 1L) == OK)
{
@@ -8543,6 +8553,16 @@ ins_pagedown()
pos_T tpos;
undisplay_dollar();
+
+#ifdef FEAT_WINDOWS
+ if (mod_mask & MOD_MASK_CTRL)
+ {
+ /* <C-PageDown>: tab page forward */
+ goto_tabpage(0);
+ return;
+ }
+#endif
+
tpos = curwin->w_cursor;
if (onepage(FORWARD, 1L) == OK)
{