[Linux-disciples] 'unset' in vim
Stephen R Laniel
steve at laniels.org
Mon Jun 27 15:26:38 EDT 2005
I'm used to using 'unset [variable name]' in mutt and, I believe, other
places, and I often end up accidentally using the same syntax in vim. In
vim, however, the appropriate syntax is 'set no[variable name]'. So,
e.g., the opposite of ':set paste' in vim is ':set nopaste' rather than
':unset paste'.
Not that it's really necessary, but just out of curiosity I'd like to
know: is there any way to program vim so that ':unset [variable name]'
will do the same thing as ':set no[variable name]'?
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050627/5aabe03d/attachment.pgp
More information about the Linux-disciples
mailing list