Nice. Thanks for all the tips. Especially the thinking behind evil. <div><br></div><div><br clear="all"><div>Tim </div>
<br><br><div class="gmail_quote">On Sat, Dec 17, 2011 at 9:34 AM, Frank Fischer <span dir="ltr"><<a href="mailto:frank.fischer@mathematik.tu-chemnitz.de">frank.fischer@mathematik.tu-chemnitz.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Dec 16, 2011 at 02:07:47PM -0500, Timothy Washington wrote:<br>
> Hey all,<br>
><br>
> I'm trying to figure out how to get these configurations done with evil. I<br>
> can't see how to do that with the documentation<br>
</div>> here<<a href="http://gitorious.org/evil/pages/Home" target="_blank">http://gitorious.org/evil/pages/Home</a>>.<br>
<br>
Yeah, the documentation is quite sparse, but writing a good one takes time ...<br>
<div class="im"><br>
> I'm trying to get these basic behaviours:<br>
><br>
</div>> - directional delete: d [up key]<br>
<br>
dk should work, see the discussion of issue #46 at [1]<br>
<br>
> - line numbers<br>
> - setting softtabstop: set sts=2<br>
<br>
Evil is not a full emulation of Vim in Emacs (and will never be). This<br>
means that especially (almost) everything that has to do with<br>
configuration will *not* be emulated by Evil. The reason is that the<br>
purpose of Evil is to combine the best of both world, Vim and Emacs.<br>
And this means Evil does not shadow (besides keybindings) or replace<br>
Emacs' own functions, configuration options, and so on.<br>
<br>
> - remap: : to ; (I want to avoid pressing shift to invoke a<br>
> vim command)<br>
> - remap: % to [tab] (I want to avoid pressing shift when<br>
> jumping between scopes)<br>
<br>
All evil bindings are ordinary Emacs keymaps, so there is no "remap"<br>
command. You should use Emacs function to change keybindings, e.g.,<br>
<br>
(define-key evil-motion-state-map ";" 'evil-ex-read-command)<br>
<br>
or<br>
<br>
(define-key evil-motion-state-map (kbd "TAB") "%")<br>
<br>
should do what you want (untested, by I hope you got the idea. Have a<br>
look at "evil-maps.el" for all default keybindings)<br>
<br>
Frank<br>
<br>
[1] <a href="https://bitbucket.org/lyro/evil/issue/46/d-d-behaves-different-from-dk-dj" target="_blank">https://bitbucket.org/lyro/evil/issue/46/d-d-behaves-different-from-dk-dj</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
</div></div></blockquote></div><br></div>