startscreen.vim : Customize Vim's start screen.
script karma |
Rating 34/10,
Downloaded by 829 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Martin Tournoij |
|
script type |
utility |
|
description |
Homepage: http://arp242.net/code/startscreen.vim
-----------------------------------------------------------------------------
Introduction
============
Customize Vim's start screen.
This is a much simpler version of vim-startify (which has a lot more
features): https://github.com/mhinz/vim-startify
By default it displays a random fortune(6), but this can be configured. Many
Linux systems don't ship with fortune(6) by default any more (shame on them!)
so you may get errors if you don't have it installed.
Options
=======
`g:Startscreen_function` (Funcref, default: `startscreen#fortune`)
The function to run; this expects a `Funcref`. Note the capital S!
Example:
function! T()
" Read on our TODO file
read ~/TODO
" Some margin for readability
:silent %>>
" Go to line 1
:1
endfun
let g:Startscreen_function = function('T')
|
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 35.170.81.33
|