From 481df5a3855ccd5ea3bf4d5f41ae780f4773b7b4 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 13 Jan 2019 14:33:17 -0500 Subject: Remove Emacs spam My inconsistent git history-keeping is coming to bite me here. At the moment, I can only speculate about what went wrong here. The gist is this: I unintentionally committed files that were supposed to be ignored This commit removes those files which includes: - auto-save-list - elpa packages - quelpa packages - misc --- .../emacs/.emacs.d/wpc/packages/wpc-keybindings.el | 53 ++++++++++------------ 1 file changed, 24 insertions(+), 29 deletions(-) (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el') diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el index a20a803a43..dee4dee128 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el @@ -3,45 +3,42 @@ ;;; Commentary: ;; This module hosts my Evil preferences +;; +;; Wish List: +;; - drop support for `evil-leader' library in favor of `general.el' +;; - restore support for concise (n ) instead of `general-mmap' +;; - restore support for `general-unbind' ;;; Code: -(quelpa - '(general - :repo "noctuid/general.el" - :fetcher github)) -(general-evil-setup t) - -;; vim... (use-package evil - :general - (m - "RET" 'evil-goto-line - "H" 'evil-first-non-blank - "L" 'evil-end-of-line - "-" 'dired-jump - "sl" 'wpc/evil-window-vsplit-right - "sh" 'evil-window-vsplit - "sk" 'evil-window-split - "sj" 'wpc/evil-window-split-down - "sj" 'wpc/evil-window-split-down) - (n - "gd" 'xref-find-definitions) - (general-unbind m "M-." "C-p") - (general-unbind n "s" "M-.") - (general-unbind i "C-d" "C-a" "C-e" "C-n" "C-p" "C-k") - (evil-ex-map - "M-p" 'previous-complete-history-element - "M-n" 'next-complete-history-element) :init (setq evil-want-integration nil) + (general-evil-setup) :config + (general-mmap + :keymaps 'override + "RET" #'evil-goto-line + "H" #'evil-first-non-blank + "L" #'evil-end-of-line + "-" #'dired-jump + "sl" #'wpc/evil-window-vsplit-right + "sh" #'evil-window-vsplit + "sk" #'evil-window-split + "sj" #'wpc/evil-window-split-down + "sj" #'wpc/evil-window-split-down) + (general-nmap + :keymaps 'override + "gd" #'xref-find-definitions) + (general-unbind 'motion "M-." "C-p") + (general-unbind 'normal "s" "M-.") + (general-unbind 'insert "C-d" "C-a" "C-e" "C-n" "C-p" "C-k") (setq evil-symbol-word-search t) (evil-mode 1)) ;; evil keybindings (use-package evil-collection - :after evil + :after (evil) :config (evil-collection-init)) @@ -63,8 +60,6 @@ "n" #'flycheck-next-error "N" #'smerge-next "P" #'smerge-prev - "s" #'slack-send-code-snippet - "S" #'slack-select-unread-rooms "b" #'ivy-switch-buffer "gs" #'magit-status "es" #'wpc/create-snippet -- cgit 1.4.1