projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
206558f
)
emacs - correct M-s mapping, perldoc alias
author
Peng Li
<seudut@gmail.com>
Sun, 17 Jul 2016 04:10:55 +0000
(12:10 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 17 Jul 2016 04:10:55 +0000
(12:10 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
32f376a
..
2025281
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-903,7
+903,7
@@
use the prefix =M-s= for searching in buffers
;; ("\M-w" . save-buffer)
("e" . revert-buffer)
("s" . isearch-forward-regexp)
;; ("\M-w" . save-buffer)
("e" . revert-buffer)
("s" . isearch-forward-regexp)
- ("M-s" . isearch-forward-regexp)
+ ("
\
M-s" . isearch-forward-regexp)
("r" . isearch-backward-regexp)
("." . isearch-forward-symbol-at-point)
("o" . occur)
("r" . isearch-backward-regexp)
("." . isearch-forward-symbol-at-point)
("o" . occur)
@@
-1867,14
+1867,11
@@
bindings in =lispy-mode-map= after loaded. see [[http://stackoverflow.com/questi
#+END_SRC
*** Perl
#+END_SRC
*** Perl
-
[[https://www.emacswiki.org/emacs/CPerlMode][CPerl mode]] has more features than =PerlMode= for perl programming. Alias this to =CPerlMode=
[[https://www.emacswiki.org/emacs/CPerlMode][CPerl mode]] has more features than =PerlMode= for perl programming. Alias this to =CPerlMode=
-
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-
(defalias 'perl-mode 'cperl-mode)
(defalias 'perl-mode 'cperl-mode)
-
;
(setq cperl-hairy t) ;; Turns on most of the CPerlMode options
+ (setq cperl-hairy t) ;; Turns on most of the CPerlMode options
(setq cperl-auto-newline t)
(setq cperl-highlight-variables-indiscriminately t)
;(setq cperl-indent-level 4)
(setq cperl-auto-newline t)
(setq cperl-highlight-variables-indiscriminately t)
;(setq cperl-indent-level 4)
@@
-1888,10
+1885,7
@@
bindings in =lispy-mode-map= after loaded. see [[http://stackoverflow.com/questi
'(lambda ()
(cperl-set-style "C++")))
'(lambda ()
(cperl-set-style "C++")))
- ;(require 'template)
- ;(template-initialize)
- ;(require 'perlnow)
-
+ (defalias 'perldoc 'cperl-perldoc)
#+END_SRC
- auto insert
#+END_SRC
- auto insert