Re: Character count in current paragraph

2011-11-24 Thread Ben Schmidt
On 24/11/11 5:32 PM, Christian Brabandt wrote: On Thu, November 24, 2011 5:56 am, Ben Schmidt wrote: Hi, guys! Looking for some Vim voodoo a little bit outside my areas of expertise! I'd like to put the number of characters in the current paragraph (i.e. area between empty lines) in my ruler,

Re: Character count in current paragraph

2011-11-24 Thread Tim Chase
On 11/24/11 03:12, Ben Schmidt wrote: :echo line2byte(line('})) - line2byte(line('{)+1) I'm using the last one, as I like the linebreaks counted (at least for now) as they will be turned into spaces when the lines are joined (which is what will happen before they are pasted into a textbox with

Character count in current paragraph

2011-11-23 Thread Ben Schmidt
Hi, guys! Looking for some Vim voodoo a little bit outside my areas of expertise! I'd like to put the number of characters in the current paragraph (i.e. area between empty lines) in my ruler, or have it displayed when I press a key (either will do). That will save me having to exit normal

Re: Character count in current paragraph

2011-11-23 Thread Christian Brabandt
On Thu, November 24, 2011 5:56 am, Ben Schmidt wrote: Hi, guys! Looking for some Vim voodoo a little bit outside my areas of expertise! I'd like to put the number of characters in the current paragraph (i.e. area between empty lines) in my ruler, or have it displayed when I press a key

Re: Character count in current paragraph

2011-11-23 Thread Jürgen Krämer
Hi, Christian Brabandt wrote: On Thu, November 24, 2011 5:56 am, Ben Schmidt wrote: Hi, guys! Looking for some Vim voodoo a little bit outside my areas of expertise! I'd like to put the number of characters in the current paragraph (i.e. area between empty lines) in my ruler, or have it