emacs - ido-exit-target to open buffer on other window
authorPeng Li <seudut@gmail.com>
Sat, 11 Jun 2016 14:11:14 +0000 (22:11 +0800)
committerPeng Li <seudut@gmail.com>
Sat, 11 Jun 2016 14:11:14 +0000 (22:11 +0800)
emacs.d_2/config.org

index aa1c91b..2f055ea 100644 (file)
@@ -433,9 +433,22 @@ Use [[https://github.com/DarwinAwardWinner/ido-ubiquitous][ido-ubiquitous]] for
 
 #+END_SRC
 
-* File and Buffer Operation
+** Ido-exit-target
 
-Remove prefix =ESC=, refer [[http://emacs.stackexchange.com/questions/14755/how-to-remove-bindings-to-the-esc-prefix-key][here]]
+[[https://github.com/waymondo/ido-exit-target][ido-exit-target]] let you open file/buffer on =other-windows= when call =ido-switch-buffer=
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (use-package ido-exit-target
+    :ensure t
+    :init
+    (define-key ido-common-completion-map (kbd "C-j") #'ido-exit-target-other-window))
+
+#+END_SRC
+
+* Key bindings
+
+** Remove prefix =ESC=, refer [[http://emacs.stackexchange.com/questions/14755/how-to-remove-bindings-to-the-esc-prefix-key][here]]
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent