From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Somelauw ." Subject: Re: Evil-mode keymapping being overridden by org-mode (Brandon Amos) Date: Fri, 7 Apr 2017 19:17:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwXVq-0000z6-9q for emacs-orgmode@gnu.org; Fri, 07 Apr 2017 13:17:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwXVp-0002vP-1U for emacs-orgmode@gnu.org; Fri, 07 Apr 2017 13:17:30 -0400 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]:35008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwXVo-0002vH-SD for emacs-orgmode@gnu.org; Fri, 07 Apr 2017 13:17:28 -0400 Received: by mail-it0-x230.google.com with SMTP id y18so123271230itc.0 for ; Fri, 07 Apr 2017 10:17:28 -0700 (PDT) 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: implementations-list@lists.ourproject.org, emacs-orgmode@gnu.org > Date: Thu, 6 Apr 2017 13:40:40 -0400 > From: Brandon Amos > To: implementations-list@lists.ourproject.org, emacs-orgmode@gnu.org > Subject: [O] Evil-mode keymapping being overridden by org-mode > Message-ID: <20170406174040.GA7347@gmail.com> > Content-Type: text/plain; charset=us-ascii > > Hi, I am mapping the "t" character in evil normal/motion modes to > `evil-next-line` with the following. I am doing this mapping > for reasonable navigation with the Dvorak layout. > > (define-key evil-normal-state-map "t" 'evil-next-line) > (define-key evil-motion-state-map "t" 'evil-next-line) > > -Brandon. Dear Brandon, The easiest solution is to put these lines in your config. You can modify these lines to the way you want. (evil-define-key 'normal evil-org-mode-map (kbd "t") 'evil-find-char-to (kbd "T") 'evil-find-char-to-backward (kbd "C-t") 'org-todo (kbd "O") 'evil-open-above (kbd "H") 'org-shiftleft (kbd "L") 'org-shiftright) If you are experimental you can also try this unofficial fork of evil-org-mode by me, which doesn't bind t to 'org-todo by default: https://github.com/Somelauw/evil-org-improved/tree/develop As a Dvorak user, you may want to customize the evil-org-movement-bindings variable to get some bindings right.