From: Christian Heller Date: Wed, 11 Sep 2019 00:42:53 +0000 (+0200) Subject: Improve plomvi-setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7Bitem_name%7D%7D?a=commitdiff_plain;h=bc6ae96e2d41be156b45ceef93cfb60967d80c5f;p=config Improve plomvi-setup. --- 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)