From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan A Subject: Re: emacs Date: Tue, 15 May 2018 13:21:10 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIgRc-0003Z5-Bb for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIgRb-0005P0-Ne for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:21:12 -0400 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:55948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIgRb-0005Op-IC for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:21:11 -0400 Received: by mail-it0-x22a.google.com with SMTP id 144-v6so4805584iti.5 for ; Tue, 15 May 2018 13:21:11 -0700 (PDT) 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 Previous email was sent my mistake, sorry about that. On Tue, May 15, 2018 at 1:20 PM, Nathan A wrote: > evil go to center when using G > > > (defun scroll-to-center-advice (&rest args) > (evil-scroll-line-to-center (line-number-at-pos))) > > (advice-add #'evil-goto-line :after #'scroll-to-center-advice)