Tuesday, February 12, 2013

Re: Function to put full stop at the end of my sentences -> refining

Eric Smith wrote on Sun-10-Feb 13 1:55PM
> This works great for me, thanks Benjamin.
>
> E.
>
> Benjamin R. Haskell wrote on Thu-07-Feb 13 4:39PM
> > ino <expr> <CR> getline('.') =~ '\w$' ? ".\<CR>" : "\<CR>"

I am trying (and failing) to modify this so that with lines
commencing with certain words like;
Dear
Geachte
Foobar
... must not have a full stop inserted.

Tried using \@<!

How should I do this?

Eric

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: