*sum.txt* Sum							Nov 13, 2018

Author:  Charles E. Campbell  <NdrOchip@ScampbellPfamily.AbizM>
Copyright: (c) 2010-2014 by Charles E. Campbell			*Sum-copyright*
           The VIM LICENSE applies to Sum.vim.
           (see |copyright|) except use "Sum" instead of "Vim".
           NO WARRANTY, EXPRESS OR IMPLIED.  USE AT-YOUR-OWN-RISK.

==============================================================================
1. Contents						*Sum* *Sum-contents*

   1. Contents..........................................|sum-contents|
   2. Usage.............................................|sum-usage|
   4. History...........................................|sum-history|

==============================================================================
2. Usage						*Sum-usage*

Select a column using |visual-block| mode and type >

	:Sum
<
The result will show up on the message line.

For :Sum to work with floating point numbers, your vim first needs to support
floating point operations (see |+float|).

==============================================================================
3. Options							*Sum-options*

	*g:Sum_ignorepat* default value: ","
		This option specifies a pattern to be ignored in floating
		point numbers; by default, Sum will ignore commas.  One
		may specify any pattern to be ignored (see |regexp|).
		Letting g:Sum_ignorepat="" means no characters will be ignored.

	*g:Sum_yank* default value: 0
		If non-zero, this option causes Sum to also save the result
		in the unnamed register (see |quotequote| and |registers|)


==============================================================================
4. History							*Sum-history*

	v1	Mar 22, 2010	* First released to my website
		Feb 28, 2014	* Modified to permit ignoring any pattern, not
				  just commas (which is the default).
		Nov 13, 2018	* added capability to add numbers on a single
				  line


==============================================================================
Modelines: {{{1
vim:tw=78:ts=8:ft=help:fdm=marker: