From bc6ae96e2d41be156b45ceef93cfb60967d80c5f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 11 Sep 2019 02:42:53 +0200 Subject: [PATCH] Improve plomvi-setup. --- buster/home_files/user/.emacs.d/init.el | 26 +++++++++++-------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/buster/home_files/user/.emacs.d/init.el b/buster/home_files/user/.emacs.d/init.el index f391483..3452126 100644 --- a/buster/home_files/user/.emacs.d/init.el +++ b/buster/home_files/user/.emacs.d/init.el @@ -29,6 +29,8 @@ ;; use as default browser what XDG offers (setq-default browse-url-browser-function 'browse-url-xdg-open) + + ;; general keybindings ;; =================== @@ -55,6 +57,7 @@ (setq shr-map (make-sparse-keymap)) ; got annoying in elfeed-show on URLs + ;; minibuffer ;; ========== @@ -149,6 +152,8 @@ (:name "gmail" :query "tag:unread and folder:maildir/gmail.com") (:name "mutter" :query "tag:unread and folder:maildir/mutter"))) + + ;; org mode ;; ======== @@ -217,14 +222,6 @@ -;;; plomvi mode -;;; =========== -(load "~/public_repos/plomvi.el/plomvi.el") -(global-set-key (kbd "C-c") 'plomvi-activate) -(plomvi-global-mode 1) - - - ;;; Info mode ;;; ========= @@ -299,10 +296,9 @@ -;; unset other maps so they don't disturb C-c keybinding -;; ===================================================== -;; TODO: saner solution would be a default-activated minor mode that binds -;; C-c -(setq conf-mode-map (make-sparse-keymap)) -(setq sh-mode-map (make-sparse-keymap)) -(setq python-mode-map (make-sparse-keymap)) +;;; plomvi mode +;;; =========== + +(defvar plomvi-return-combo (kbd "C-c")) +(load "~/public_repos/plomvi.el/plomvi.el") +(plomvi-global-mode 1) -- 2.30.2