emacs - correct M-s mapping, perldoc alias
[dotfiles.git] / emacs.d / config.org
index bbef0d1..2025281 100644 (file)
@@ -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-s" . isearch-forward-regexp)
+                    ("\M-s" . isearch-forward-regexp)
                     ("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
-
 [[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
-
   (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)
@@ -1888,10 +1885,7 @@ bindings in =lispy-mode-map= after loaded. see [[http://stackoverflow.com/questi
             '(lambda ()
                (cperl-set-style "C++")))
 
-  ;(require 'template)
-  ;(template-initialize)
-  ;(require 'perlnow)
-
+  (defalias 'perldoc 'cperl-perldoc)
 #+END_SRC
 
 - auto insert
@@ -2277,7 +2271,7 @@ To fix some issue that =toolbar-make-button-list= is void, see the [[https://git
 #+END_SRC
 
 Use =gnuplot= on =Org-mode= file, see [[http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html][ob-doc-gnuplot]]
-#+BEGIN_SRC gnuplot :exports code :file file.png
+#+BEGIN_SRC gnuplot :exports code :file ./temp/file.png
   reset
 
   set title "Putting it All Together"
@@ -2299,7 +2293,7 @@ Use =gnuplot= on =Org-mode= file, see [[http://orgmode.org/worg/org-contrib/babe
 #+END_SRC
 
 #+RESULTS:
-[[file:file.png]]
+[[file:./temp/file.png]]
 
 * Blog
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent