aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.org
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2017-06-01 18:01:05 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2017-06-01 18:01:05 +0200
commitc3d3a4efa460266897e54c797aed6a642a32efa7 (patch)
tree7e311cff946d0c3ddb559a2eef2f61f13a8b1155 /emacs/init.org
parentbcabd7921bacffd54296f38fcbaea6dcacafd529 (diff)
downloaddotfiles-c3d3a4efa460266897e54c797aed6a642a32efa7.tar.gz
dotfiles-c3d3a4efa460266897e54c797aed6a642a32efa7.zip
emacs: added the bool-flip package
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org12
1 files changed, 10 insertions, 2 deletions
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:<kbd>, h</kbd>@@ 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