emacs - mapping isearch
authorPeng Li <seudut@gmail.com>
Fri, 10 Jun 2016 18:46:57 +0000 (02:46 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 10 Jun 2016 18:46:57 +0000 (02:46 +0800)
emacs.d_2/config.org

index 8a07bec..aa1c91b 100644 (file)
@@ -439,7 +439,7 @@ Remove prefix =ESC=, refer [[http://emacs.stackexchange.com/questions/14755/how-
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
 
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
 
-  (define-key key-translation-map (kbd "ESC") (kbd "C-g"))
+  ;; (define-key key-translation-map (kbd "ESC") (kbd "C-g"))
 
 #+END_SRC
 
 
 #+END_SRC
 
@@ -464,6 +464,7 @@ Use =ESC= to exit minibuffer. Also I map =Super-h= the same as =C-g=
 
 #+END_SRC
 
 
 #+END_SRC
 
+
 ** =Super= bindings for file, buffer and windows
 
 Some global bindings on =Super=, on Mac, it is =Command=
 ** =Super= bindings for file, buffer and windows
 
 Some global bindings on =Super=, on Mac, it is =Command=
@@ -555,12 +556,17 @@ I use the prefix =M-s= for searching in buffers
     (global-set-key key keymap))
 
   (global-set-key (kbd "M-s M-s") 'isearch-forward-regexp)
     (global-set-key key keymap))
 
   (global-set-key (kbd "M-s M-s") 'isearch-forward-regexp)
-  (global-set-key (kbd "M-s M-r") 'isearch-forward-regexp)
+  (global-set-key (kbd "M-s M-r") 'isearch-backward-regexp)
+
+  (define-key isearch-mode-map "\M-s" 'isearch-repeat-forward)
+  (define-key isearch-mode-map "\M-r" 'isearch-repeat-backward)
 
 
-  (define-key isearch-mode-map (kbd "M-s") 'isearch-forward-regexp)
+  ;; (global-set-key (kbd "M-s M-r") 'isearch-backward-regexp)
 
 #+END_SRC
 
 
 #+END_SRC
 
+
+
 * Misc Settings
 
 
 * Misc Settings
 
 
@@ -855,9 +861,7 @@ We can use [[https://www.gnu.org/software/emms/quickstart.html][Emms]] for multi
 
 ** GnoGo
 
 
 ** GnoGo
 
-Play Go in Emacs
-
-gnugo xpm refert [[https://github.com/okanotor/dotemacs/blob/f95b774cb292d1169748bc0a62ba647bbd8c0652/etc/my-inits/my-inits-gnugo.el][to here]]
+Play Go in Emacs, gnugo xpm refert [[https://github.com/okanotor/dotemacs/blob/f95b774cb292d1169748bc0a62ba647bbd8c0652/etc/my-inits/my-inits-gnugo.el][to here]]. start at image display mode and grid mode
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
 
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
 
@@ -874,6 +878,7 @@ gnugo xpm refert [[https://github.com/okanotor/dotemacs/blob/f95b774cb292d116974
     (add-to-list 'gnugo-option-history (format "--boardsize 19 --color black --level 1")))
 
 #+END_SRC
     (add-to-list 'gnugo-option-history (format "--boardsize 19 --color black --level 1")))
 
 #+END_SRC
+
 * Programming
 
 ** Languages
 * Programming
 
 ** Languages