Skip to content

Commit a9072fb

Browse files
committed
Merge branch 'master' of github.com:michaelb/vim-tips
2 parents 8ff7058 + ccd1618 commit a9072fb

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,19 @@ echo tip
2828
Don't forget to load vim-tips beforehand if necessary (you need it at startup) by preceding calls to GetTip() by a
2929
`runtime plugin/vim-tips.vim`
3030

31-
Tips must not contain single quotes or exceed 70 characters
31+
## Add tips to vim-startify (courtesy of R0LA1mRifcF8yAkk)
32+
To display a tip (and not a quote) in your vim-startify you can include the following in your config file:
33+
34+
`let g:startify_custom_header = 'startify#pad([GetTip()])'`
35+
36+
You'll probably also want to deactivate the basic tip display at startup.
37+
38+
## Add your own tips
39+
40+
If you want, you can add your own tips by modifying the files in the tips folder.
41+
You may find them on your own system (probably in your plugin manager's files), but to simplify that I suggest forking my repo and adding your own changes in a version controlled repo.
42+
43+
Tips must not exceed 70 characters
3244

3345
## Important note
3446

0 commit comments

Comments
 (0)