Permalink
Browse files

vimpager-nfo: turn off list and number/rnu

  • Loading branch information...
1 parent eecf50c commit eac9f6bf79cbf65b717e9a025fbfdf4b6496b7ef @trapd00r committed Nov 16, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 vimpager-nfo
View
5 vimpager-nfo
@@ -7,14 +7,15 @@ file="$@"
if [ -z "$file" ]; then file="-"; fi
less_vim() {
+ # the number hack avoids setting nornu which needs >= 7.3
/usr/bin/vim -pR \
-c 'let no_plugin_maps = 1' \
-c 'set scrolloff=999' \
-c 'runtime! macros/less.vim' \
-c 'set foldlevel=999' \
- -c 'set nonumber' \
+ -c 'set number | set nonumber' \
-c 'set laststatus=2' \
- -c 'set colorcolumn=0 ft=b cursorline tw=80' \
+ -c 'set colorcolumn=0 ft=b cursorline tw=80 nolist' \
"$@"
}

0 comments on commit eac9f6b

Please sign in to comment.