]_ viper commands broken? \ maps to viper-escape-to-emacs

Vegard Øye vegard_oye at hotmail.com
Wed Mar 23 20:46:11 CET 2011


On 2011-03-22 20:40 +0100, Justin Zhu wrote:

> The viper command ]] ... is undefined as is ]<a-z> to show contents
> of a register.

I added a quick fix in commit 779977e.

> [<a-z> to show contents of a text marker always complains with:
> "Text marker doesn't point anywhere".

Fixed in commit ea9d56f.

> I have RET bound to comment-indent-new-line which I though was the
> problem. So I instead tried binding RET to vimpulse-autoindent,
> which does not produce a newline on RET as I'd expect.

The behavior of `vimpulse-autoindent' depends on the variable
`viper-auto-indent'. Add this to .emacs to get auto-indent behavior:

    (setq-default viper-auto-indent t)

You don't need to bind `vimpulse-autoindent' yourself, it is bound
by default.

> On a side note, I would add to vimpulse-window-map:
>
> (define-key map "=" 'balance-windows)

Added in commit 229a12f.

Thanks for your suggestions, I'll keep them in mind.

-- 
Vegard



More information about the implementations-list mailing list