File: vim.sh

package info (click to toggle)
vte2.91 0.83.90-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,864 kB
  • sloc: cpp: 97,071; ansic: 9,083; python: 3,224; sh: 996; perl: 100; makefile: 93; xml: 27; javascript: 4
file content (12 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

cd "`dirname "$0"`"
# rudimentary Vim performance benchmark

# scrolling (just the cursor)
\time vim -u scroll.vim -c ':quit' UTF-8-demo.txt
\time vim -u scroll.vim -c ':call AutoScroll(100)' UTF-8-demo.txt
\time vim -u scroll.vim -c ':call AutoWindowScroll(10)' UTF-8-demo.txt

echo press enter to close
read