commit b52ec99788262909aceeefeb89a5cdd43d6b66d6
parent 93179588f3009c53886bfac1aac805ca91cf0e5d
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Sat, 12 Jan 2008 22:32:07 -0800
make column jumping go by 4 chars at a time instead of 2
This speeds up horizontal scrolling dramatically.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/scroll-mode.rb b/lib/sup/modes/scroll-mode.rb
@@ -12,7 +12,7 @@ class ScrollMode < Mode
attr_reader :status, :topline, :botline, :leftcol
- COL_JUMP = 2
+ COL_JUMP = 4
register_keymap do |k|
k.add :line_down, "Down one line", :down, 'j', 'J'