projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
82fd2d5
)
emacs: add some convenient bindings
author
Amin Bandali
<bandali@gnu.org>
Fri, 30 Aug 2019 22:54:26 +0000
(18:54 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Fri, 30 Aug 2019 22:54:26 +0000
(18:54 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
6210f90
..
b2c99f8
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-425,6
+425,7
@@
For disabling the behaviour for certain buffers and/or modes."
("C-c a i" . ielm)
("C-c e b" . eval-buffer)
("C-c a i" . ielm)
("C-c e b" . eval-buffer)
+ ("C-c e e" . eval-last-sexp)
("C-c e r" . eval-region)
("C-c e i" . emacs-init-time)
("C-c e r" . eval-region)
("C-c e i" . emacs-init-time)
@@
-440,6
+441,8
@@
For disabling the behaviour for certain buffers and/or modes."
("C-x k" . kill-this-buffer)
("C-x K" . kill-buffer)
("C-x k" . kill-this-buffer)
("C-x K" . kill-buffer)
+ ("C-x s" . save-buffer)
+ ("C-x S" . save-some-buffers)
:map emacs-lisp-mode-map
("<C-return>" . b/add-elisp-section))
:map emacs-lisp-mode-map
("<C-return>" . b/add-elisp-section))
@@
-559,8
+562,8
@@
For disabling the behaviour for certain buffers and/or modes."
;; *the* right way to do git
(use-package magit
:defer 0.5
;; *the* right way to do git
(use-package magit
:defer 0.5
- :bind (("C-
c g g"
. magit-status)
- ("C-c g
s
" . magit-status)
+ :bind (("C-
x g"
. magit-status)
+ ("C-c g
g
" . magit-status)
("C-c g b" . magit-blame-addition)
("C-c g l" . magit-log-buffer-file))
:config
("C-c g b" . magit-blame-addition)
("C-c g l" . magit-log-buffer-file))
:config
@@
-1293,8
+1296,7
@@
This function is intended for use with `ivy-ignore-buffers'."
(use-package crux ; results in Waiting for git... [2 times]
:defer 0.4
(use-package crux ; results in Waiting for git... [2 times]
:defer 0.4
- :bind (("C-c b k" . crux-kill-other-buffers)
- ("C-c d" . crux-duplicate-current-line-or-region)
+ :bind (("C-c d" . crux-duplicate-current-line-or-region)
("C-c D" . crux-duplicate-and-comment-current-line-or-region)
("C-c f c" . crux-copy-file-preserve-attributes)
("C-c f d" . crux-delete-file-and-buffer)
("C-c D" . crux-duplicate-and-comment-current-line-or-region)
("C-c f c" . crux-copy-file-preserve-attributes)
("C-c f d" . crux-delete-file-and-buffer)