From c3d3a4efa460266897e54c797aed6a642a32efa7 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 1 Jun 2017 18:01:05 +0200 Subject: emacs: added the bool-flip package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.org | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'emacs/init.org') diff --git a/emacs/init.org b/emacs/init.org index 413b258..1c7c62d 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -732,6 +732,15 @@ remember some of these snippets, I've mapped @@html:, h@@ to (evil-leader/set-key "h" 'yas-describe-tables))) #+END_SRC +=bool-flip= is a very simple utility that toggles truthy/falsey values. + +#+BEGIN_SRC elisp +(use-package bool-flip + :ensure t + :config + (global-set-key (kbd "C-c b") 'bool-flip-do-flip)) +#+END_SRC + * Dired I use dired mode mainly for attaching document into emails. That being said, @@ -987,10 +996,9 @@ the rest. 'show))) #+END_SRC -Set a key binding for =magit-blame= and =magit-log-buffer-file=. +Set a key binding for =magit-log-buffer-file=. #+BEGIN_SRC elisp - (global-set-key (kbd "C-c b") 'magit-blame) (global-set-key (kbd "C-c l") 'magit-log-buffer-file) #+END_SRC -- cgit v1.2.3