Syntax context abbreviations : Abbreviations that only happen outside comments
script karma |
Rating 10/4,
Downloaded by 1981 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michael Geddes |
|
script type |
utility |
|
description |
Abbreviations in language files can sometimes be annoying if they are not intended for inside comments (capitalisation is a good example). Support for <buffer> is included.
This script allows you to create abbreviations that do not happen inside comments.
Synabbrev[!] [<buffer>] {lhs} {RHS}
eg
Synabbrev to To
|
|
install details |
Add to ~/vimfiles/plugin or ~/.vim/plugin
Add to ftplugin files as appropriate |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|