Send in your Vim scripts for review through our contact form or @vimnews.
pb.vim (GitHub: troydm / pb.vim, License: Vim) by Dmitry Geurkov is a wrapper around the standard Mac OS X pbcopy and pbpaste…
pbcopy
pbpaste
Vim can run commands when reading or writing files, and this is known as an autocommand. Automatic commands can be combined with FileType and set to apply settings that only apply to a certain type of file. This takes the form au FileType type set commands. For example, to ensure…
autocommand
FileType
set
au FileType type set commands