<p>I have an entry in my .vimrc which makes it page down the viewport when I hit the spacebar. It looks like this:</p>

<pre><code>map &lt;Space&gt; &lt;PageDown&gt;
</code></pre>

<p>I want to create another key mapping which pages the viewport up when holding shift and hitting the spacebar. I have tried the following entries:</p>

<pre><code>map &lt;Shift&gt;&lt;Space&gt; &lt;PageUp&gt;
map &lt;S-Space&gt; &lt;PageUp&gt;
</code></pre>

<p>Neither work. Anybody know how to achieve this functionality?</p>

Use this:
```
```
map <Space> ^D   " Pagedown when press Space
map <S-Space> ^U " Page Up when press Shift Space
```
```
To get the ^D and ^U symbol correctly just press Control-V Control-D, and Control-V Control-U