projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
254309c
)
emacs - add lispy mode
author
Peng Li
<seudut@gmail.com>
Tue, 7 Jun 2016 16:43:08 +0000
(
00:43
+0800)
committer
Peng Li
<seudut@gmail.com>
Tue, 7 Jun 2016 16:43:08 +0000
(
00:43
+0800)
emacs.d_2/config.org
patch
|
blob
|
history
diff --git
a/emacs.d_2/config.org
b/emacs.d_2/config.org
index
ea05da6
..
5255e6f
100644
(file)
--- a/
emacs.d_2/config.org
+++ b/
emacs.d_2/config.org
@@
-395,6
+395,7
@@
cause we cannot input =[= and =]=, so here I unset this mappings. And redifined
* Misc Settings
* Misc Settings
+
** [[https://github.com/abo-abo/hydra][Hydra]]
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
** [[https://github.com/abo-abo/hydra][Hydra]]
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
@@
-490,8
+491,10
@@
Refer [[https://github.com/abo-abo/hydra/blob/master/hydra-examples.el][hydra-ex
("m" headlong-bookmark-jump "bmk")
("q" nil "cancel")
("u" (progn (winner-undo) (setq this-command 'winner-undo)) "undo")
("m" headlong-bookmark-jump "bmk")
("q" nil "cancel")
("u" (progn (winner-undo) (setq this-command 'winner-undo)) "undo")
+ ("r" (progn (winner-redo) (setq this-command 'winner-redo)) "redo")
("f" nil))
("f" nil))
+ (global-unset-key (kbd "M-o"))
(global-set-key (kbd "M-o") 'sd/hydra-window/body)
#+END_SRC
(global-set-key (kbd "M-o") 'sd/hydra-window/body)
#+END_SRC
@@
-627,6
+630,17
@@
Type =o= to go to the link
#+END_SRC
#+END_SRC
+**** Lispy Mode
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+ (use-package lispy
+ :ensure t)
+
+ ;(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1)))
+
+#+END_SRC
+
*** Perl
[[https://www.emacswiki.org/emacs/CPerlMode][CPerl mode]] has more features than =PerlMode= for perl programming. Alias this to =CPerlMode=
*** Perl
[[https://www.emacswiki.org/emacs/CPerlMode][CPerl mode]] has more features than =PerlMode= for perl programming. Alias this to =CPerlMode=