Wednesday, November 23, 2011

Re: calling a function automatically and "mark not set"

On 2011-11-23, Chris Lott wrote:

> I have the following function defined in my .vimrc for use when
> writing prose (markdown text):

> function! Softwrap()
...
On Nov 24, 8:06 am, Gary Johnson <garyj...@spocom.com> wrote:
>
> I don't know why you're getting this error number.

The command @- was run. The results depend on what's in the "small
delete" register, which has the last text deleted that was less than
one line. Potentially nasty. With Gary's fix (excaping the |) sanity
is restored.

Regards, John

--
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

No comments: