1 set nocompatible " Use Vim defaults instead of 100% vi compatibility
2 set backspace=indent,eol,start " more powerful backspacing
3 set textwidth=0 " Don't wrap lines by default
5 set history=50 " keep 50 lines of command line history
6 set ruler " show the cursor position all the time
12 function Scroll(dir, windiv)
15 while i < wh / a:windiv
22 " insert a character to force vim to update!
29 function WindowScroll(dir, windiv)
32 while i < wh * a:windiv
39 " insert a character to force vim to update!
46 function AutoScroll(count)
60 function AutoWindowScroll(count)
64 call WindowScroll("d", 10)
65 call WindowScroll("u", 10)