From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Neilson" Subject: Re: evil-mode and org Date: Wed, 29 Mar 2017 13:36:14 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctHVa-0001wa-Eh for emacs-orgmode@gnu.org; Wed, 29 Mar 2017 13:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctHVX-0006Mh-BU for emacs-orgmode@gnu.org; Wed, 29 Mar 2017 13:35:46 -0400 Received: from pacmmta55.windstream.net ([162.39.147.221]:39596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ctHVX-0006Kh-4o for emacs-orgmode@gnu.org; Wed, 29 Mar 2017 13:35:43 -0400 In-Reply-To: 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: emacs-orgmode@gnu.org On Wed, 29 Mar 2017 11:12:22 -0400, John Kitchin wrote: > Using evil-mode is not "using vim" IMHO. I think this is a question of > do you want modal editing or not (I suppose it could also be do you want > emacs-lisp or vimscript, but that is not the impression I get these days > ;). With emacs you can have either traditional emacs editing (one-mode: > edit) or modal editing like vim (for the most part). And you can still > use emacs-lisp to customize the environment so you can have things like > org-mode. > > I have seen a growing movement towards modal editing in emacs, e.g. > evil-mode, spacemacs, hydra, avy/ivy, etc... and even do some things > modally myself with those tools. Thinking historically, I see modal editing in TECO, where everything between "i" and "$" (the ESC key) was insert mode, and everything else was a command. Woe unto the person who omitted the "i" or who inadvertently ended insert mode, because all other text was commands. For example, ihxhgh$ inserts "hxhgh" but just hxhgh$ duplicates the entire buffer. Here is a sample TECO session: *hkiHere is some text that I am inserting. Here is another line. $$ *ht$$ Here is some text that I am inserting. Here is another line. *zjiThis is a new bottom line. Next we try forgetting an "i" command. $$ *here is a forgotten i command $$ ?SYS No such file or directory ?UFI unable to open file e is a forgotten i command for input *