projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3df5e86
)
emacs - remap C-SPC to expand hydra
author
Peng Li
<seudut@gmail.com>
Mon, 25 Jul 2016 06:19:10 +0000
(14:19 +0800)
committer
Peng Li
<seudut@gmail.com>
Mon, 25 Jul 2016 06:19:10 +0000
(14:19 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
06baf8c
..
16841b9
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-2566,10
+2566,11
@@
stolen from [[https://github.com/mariolong/emacs.d/blob/f6a061594ef1b5d1f4750e9d
("C-SPC" nil "quit" :exit t)
("q" nil "quit" :exit t))
("C-SPC" nil "quit" :exit t)
("q" nil "quit" :exit t))
- (global-set-key (kbd "M-SPC") (lambda ()
- (interactive)
- (er/mark-word)
- (sd/expand-selected/body)))
+ (global-set-key (kbd "C-SPC") (lambda ()
+ (interactive)
+ (set-mark-command nil)
+ (er/mark-word)
+ (sd/expand-selected/body)))
#+END_SRC
*** TODO make expand-region hydra work with lispy selected
#+END_SRC
*** TODO make expand-region hydra work with lispy selected