From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guido Van Hoecke Subject: Re: evil-mode and org Date: Thu, 30 Mar 2017 12:14:07 +0200 Message-ID: References: <1a0d15aafd944fa3864394d8e212046f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87y3vom81v.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11497acee44934054beff5d3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctX6H-0000FR-9q for emacs-orgmode@gnu.org; Thu, 30 Mar 2017 06:14:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctX6G-0008NN-0H for emacs-orgmode@gnu.org; Thu, 30 Mar 2017 06:14:41 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:36005) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ctX6F-0008Mq-MD for emacs-orgmode@gnu.org; Thu, 30 Mar 2017 06:14:39 -0400 Received: by mail-wr0-x22b.google.com with SMTP id w11so52352475wrc.3 for ; Thu, 30 Mar 2017 03:14:39 -0700 (PDT) In-Reply-To: <87y3vom81v.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: orgmode --001a11497acee44934054beff5d3 Content-Type: text/plain; charset=UTF-8 Eric, Care to share your org-evil mappings? One 'conflict' which bites me every time is this: I hit /blabla to locate a heading directly under which I want to insert a text line. I then hit enter to acknowledge the find. The display shows the heading line followed by its body lines (which all start with a hyphen) I then hit o to insert a line directly under the heading and before the first existing detail line. The result is however that the heading body closes, and that a line is added before the next header line, so under all existing detail lines of this header line. This undesired behavior only happens if the heading was closed at the time of the find. If the find locates an open heading, hitting enter and than o behaves as expected. Any suggestions on how this can be fixed would be most welcome :) TIA, Guido On 29 March 2017 at 17:11, Eric S Fraga wrote: > On Tuesday, 28 Mar 2017 at 12:57, Matt Price wrote: > > I've never used Vim but I see a lot of people online raving about evil > > mode and how much they love it. I'm considering giving it a whirl > > after the semester ends & I get some free time. I just wondered > > whether any heavy org users here on the list use evil, and if so, > > whether you see pain points within org-mode -- my setup is pretty > > heavily customized, for instance, and I wonder whether that means it > > will be quite painful to use evil. > > I use evil and org all day long. Basically, there is very little clash > between them so they co-exist very nicely. One of the best things about > evil is that it is almost orthogonal to emacs and you can continue using > most C-x and C-c keymap bindings. > > In my case, I did add a number of bindings to evil's normal and motion > keymaps to avoid typing C-c etc. as my motivation in using evil is to > avoid exacerbating my RSI. Almost all my commands are non-chorded key > sequences. I barely use the control, shift and meta keys in normal > use. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.1.1, Org release_9.0.5-391-g36c7cf > --001a11497acee44934054beff5d3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eric,
<= br>
Care to share your org-evil mappings?

One 'confli= ct' which bites me every time is this:

I hit /blabla to lo= cate a heading directly under which I want to insert a text line.
=
I then hit enter to acknowledge the find.

The display show= s the heading line followed by its body lines (which all start with a hyphe= n)

I then hit o to insert a line directly under the heading an= d before the first existing detail line.

The result is however= that the heading body closes, and that a line is added before the next hea= der line, so under all existing detail lines of this header line.
=
This undesired behavior only happens if the heading was closed at the t= ime of the find. If the find locates an open heading, hitting enter and tha= n o behaves as expected.

Any suggestions on how this can be fixed would be most wel= come :)

TIA,

Guido

On 29 March 2017 at 17:11, Eric S Fraga = <e.fraga@ucl.ac.u= k> wrote:
On Tuesday, 28 Ma= r 2017 at 12:57, Matt Price wrote:
> I've never used Vim but I see a lot of people online raving about = evil
> mode and how much they love it. I'm considering giving it a whirl<= br> > after the semester ends & I get some free time. I just wondered > whether any heavy org users here on the list use evil, and if so,
> whether you see pain points within org-mode -- my setup is pretty
> heavily customized, for instance, and I wonder whether that means it > will be quite painful to use evil.

I use evil and org all day long.=C2=A0 Basically, there is very little clas= h
between them so they co-exist very nicely.=C2=A0 One of the best things abo= ut
evil is that it is almost orthogonal to emacs and you can continue using most C-x and C-c keymap bindings.

In my case, I did add a number of bindings to evil's normal and motion<= br> keymaps to avoid typing C-c etc. as my motivation in using evil is to
avoid exacerbating my RSI.=C2=A0 Almost all my commands are non-chorded key=
sequences.=C2=A0 I barely use the control, shift and meta keys in normal use.

--
: Eric S Fraga (0xFFFCF67D), Emacs 25.1.1, Org release_9.0.5-391-g36c7cf

--001a11497acee44934054beff5d3--