From 68b707764c636f3a2fe48df83572960943852637 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Thu, 30 Jan 2020 14:14:15 -0500 Subject: [PATCH] emacs: add ialign configuration --- emacs/auto/-keys.el | 2 ++ emacs/auto/-packages.el | 2 ++ emacs/custom.el | 5 ++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/emacs/auto/-keys.el b/emacs/auto/-keys.el index e9a159d..dca9275 100644 --- a/emacs/auto/-keys.el +++ b/emacs/auto/-keys.el @@ -25,6 +25,8 @@ (agw-key-map) +(evil-global-set-key 'visual (kbd "g a") #'ialign) + ; just in case - bind for disabling key map mode (global-set-key (kbd "C-x C-") #'agw-key-map) diff --git a/emacs/auto/-packages.el b/emacs/auto/-packages.el index 27ff0bd..07a28f9 100644 --- a/emacs/auto/-packages.el +++ b/emacs/auto/-packages.el @@ -38,4 +38,6 @@ (require 'mozc) (setq default-input-method "japanese-mozc") +(require 'ialign) + ;; EOF diff --git a/emacs/custom.el b/emacs/custom.el index 3f13c84..d3b0334 100644 --- a/emacs/custom.el +++ b/emacs/custom.el @@ -17,9 +17,6 @@ '(diredfl-global-mode t nil (diredfl)) '(evil-cjk-emacs-word-boundary t) '(evil-cross-lines t) - '(evil-lion-left-align-key "ga") - '(evil-lion-mode t) - '(evil-lion-right-align-key "gA") '(evil-lookup-func (quote man)) '(evil-mode t) '(evil-shift-width 3) @@ -31,6 +28,8 @@ '(global-whitespace-mode nil) '(horizontal-scroll-bar-mode nil) '(hscroll-step 1) + '(ialign-default-spacing 2) + '(ialign-initial-repeat t) '(indent-tabs-mode t) '(inhibit-startup-screen t) '(initial-buffer-choice "~/org/init.org")