+10

Implement Ctrl-U and Ctrl-D in Vintage mode

David Baumgold 13 років тому оновлено Seth Alexander Bird 12 років тому 3

Vintage mode is amazing, but two of the commands I use most often in Vim to get around aren't implemented: Ctrl-U to scroll half a page up, and Ctrl-D to scroll half a page down. Here's the official vimdoc, so you can see what I mean:


http://vimdoc.sourceforge.net/htmldoc/usr_03.html#03.7


Could these scroll motions be implemented?

CTRL-e and CTRL-y are also really useful.

+1
This is mostly how I navigate in Vim, essential really.
+3

Try this:

{"keys": ["ctrl+u"], "command": "scroll_lines", "args": {"amount": 40.0}, "context": [{ "key": "setting.command_mode" }]},
   {"keys": ["ctrl+d"], "command": "scroll_lines", "args": {"amount": -40.0}, "context": [{"key": "setting.command_mode"}]}


source: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=2908