]_ viper commands broken? \ maps to viper-escape-to-emacs
The viper command ]] should go to the next heading as defined here: http://www.gnu.org/software/emacs/manual/html_mono/viper.html#Move-Commands. However, it is undefined as is ]<a-z> to show contents of a register. There is the vimpulse \" command instead but \ binds to viper-escape-to-emacs for me. The ] behavior is caused by: (define-key viper-vi-basic-map "]" nil) ; delete `viper-ket-function' binding Not a big deal but would be nice for analogues to exist for the missing commands. -- [<a-z> to show contents of a text marker always complains with: "Text marker doesn't point anywhere". Not sure if its caused by vimpulse. -- I have an issue with macros where RET is not recorded. 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. -- On a side note, I would add to vimpulse-window-map: (define-key map "=" 'balance-windows) as thats the behavior in vim Any help is greatly appreciated! Thanks, Justin
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
Thanks for the fixes! On Wed, Mar 23, 2011 at 12:46 PM, Vegard Øye <[email protected]> wrote:
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
participants (2)
-
Justin Zhu -
Vegard Øye