From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan A Subject: emacs Date: Tue, 15 May 2018 13:20:21 -0700 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]:50524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIgQq-00036e-EF for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIgQp-000554-Qh for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:20:24 -0400 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:54156) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIgQp-00054j-LS for emacs-orgmode@gnu.org; Tue, 15 May 2018 16:20:23 -0400 Received: by mail-it0-x22c.google.com with SMTP id n64-v6so4827144itb.3 for ; Tue, 15 May 2018 13:20:23 -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: emacs-orgmode@gnu.org 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)