From 84fb463326379d14af4944a5b0d9c926980c022d Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 15 Jan 2019 08:49:08 +0100 Subject: emacs: bringing back C-a and C-e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm bringing back the default Emacs' bindings for C-a and C-e. The idea is that these bindings actually make more sense than the Vim ones. These caused two conflicts: 1. The `expand-region` package was already using the C-e binding. I've simply removed this package, because in these years I've never used it, so I guess it's not for me. 2. The `evil-numbers/inc-at-pt` package was already using the C-a binding. I do use this one, but I moved it into C-c +, which is similar to what I already use for `evil-numbers/dec-at-pt`. It's not too bad if I have to do it once (and if I have to repeat it there's always `.`). Signed-off-by: Miquel Sabaté Solà --- emacs/custom.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/custom.el') diff --git a/emacs/custom.el b/emacs/custom.el index f78663f..02bb485 100644 --- a/emacs/custom.el +++ b/emacs/custom.el @@ -15,7 +15,7 @@ '(markdown-command "/usr/bin/markdown-calibre") '(package-selected-packages (quote - (emojify auctex diminish bats-mode bool-flip salt-mode flycheck-rust rust-playground rust-mode vue-mode coffee-mode json-reformat erc-hl-nicks emoji-cheat-sheet-plus helm-circe htmlize cmake-mode websocket markdown-mode go-mode magit evil-leader evil helm projectile writeroom-mode org-eldoc evil-commentary yasnippet yaml-mode which-key web-mode wc-mode use-package terraform-mode smart-tabs-mode slim-mode scss-mode rainbow-delimiters php-mode org-evil olivetti mu4e-alert mmm-jinja2 markdown-preview-mode helm-projectile helm-ag go-eldoc go-add-tags flycheck expand-region evil-surround evil-org evil-numbers evil-mu4e evil-magit evil-args dockerfile-mode disable-mouse default-text-scale crux cmake-font-lock ag)))) + (debbugs async-await request emojify auctex diminish bats-mode bool-flip salt-mode flycheck-rust rust-playground rust-mode vue-mode coffee-mode json-reformat erc-hl-nicks emoji-cheat-sheet-plus helm-circe htmlize cmake-mode websocket markdown-mode go-mode magit evil-leader evil helm projectile writeroom-mode org-eldoc evil-commentary yasnippet yaml-mode which-key web-mode wc-mode use-package terraform-mode smart-tabs-mode slim-mode scss-mode rainbow-delimiters php-mode org-evil olivetti mu4e-alert mmm-jinja2 markdown-preview-mode helm-projectile helm-ag go-eldoc go-add-tags flycheck evil-surround evil-org evil-numbers evil-mu4e evil-magit evil-args dockerfile-mode disable-mouse default-text-scale crux cmake-font-lock ag)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- cgit v1.2.3