Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.
/ vim-cottidie Public archive

cottidie.vim – Your quotidian Vim tip in 78 characters

Notifications You must be signed in to change notification settings

glts/vim-cottidie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cottidie.vim

This Vim plugin brings friendly, syntax-highlighted Vim tips to your messages area. At 78 characters these have enough substance to inspire but not enough to distract. Try it out:

:CottidieTip

The location of the tips file is configurable, so this plugin may also serve you as a "daily tip" engine which draws from your own notes. (Not actually daily though, it doesn't include any timing mechanism.)

The target audience is intermediate level. Contributions are welcome!

Demo

This is what a tip looks like on my Vim when hooked to the VimEnter event (and 'cmdheight' is set to 2).

tip

Installation

Move the files into their respective directories inside your ~/.vim directory (or your $HOME\vimfiles directory if you're on Windows).

With pathogen.vim the installation is as simple as:

cd ~/.vim/bundle
git clone https://github.com/glts/vim-cottidie.git cottidie

FQA

The tips appear truncated/incomplete/otherwise mangled in the messages area.

I'm aware of the issues with :echo. Hopefully I can find the time to look into this, but until then refer to this report on the vim_dev mailing list.

Vim errors out with E484 when it tries to load my remote tips file.

Try adding "nested" to the VimEnter autocommand so that it reads

autocmd VimEnter * nested CottidieTip

About

cottidie.vim – Your quotidian Vim tip in 78 characters

Resources

Stars

Watchers

Forks

Packages

No packages published