add buffer switch
This commit is contained in:
parent
6502f03f72
commit
0e52a119c3
7
conf.el
7
conf.el
|
@ -294,6 +294,12 @@ event of an error or nonlocal exit."
|
||||||
(insert region)
|
(insert region)
|
||||||
(setq end (point))))))
|
(setq end (point))))))
|
||||||
|
|
||||||
|
(defun nd/switch-to-previous-buffer ()
|
||||||
|
(interactive)
|
||||||
|
(switch-to-buffer (other-buffer (current-buffer) 1)))
|
||||||
|
|
||||||
|
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
|
||||||
|
|
||||||
(setq inferior-R-args "--quiet --no-save")
|
(setq inferior-R-args "--quiet --no-save")
|
||||||
(load "ess-site")
|
(load "ess-site")
|
||||||
(setq ess-history-file "session.Rhistory")
|
(setq ess-history-file "session.Rhistory")
|
||||||
|
@ -524,7 +530,6 @@ event of an error or nonlocal exit."
|
||||||
|
|
||||||
(setq org-refile-use-outline-path t)
|
(setq org-refile-use-outline-path t)
|
||||||
(setq org-outline-path-complete-in-steps nil)
|
(setq org-outline-path-complete-in-steps nil)
|
||||||
;; (setq org-completion-use-ido t)
|
|
||||||
|
|
||||||
(setq org-refile-allow-creating-parent-nodes 'confirm)
|
(setq org-refile-allow-creating-parent-nodes 'confirm)
|
||||||
|
|
||||||
|
|
8
conf.org
8
conf.org
|
@ -397,6 +397,14 @@ event of an error or nonlocal exit."
|
||||||
(setq end (point))))))
|
(setq end (point))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
(goto-char (+ origin (* (length region) arg) arg)))))
|
(goto-char (+ origin (* (length region) arg) arg)))))
|
||||||
|
** previous buffer
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defun nd/switch-to-previous-buffer ()
|
||||||
|
(interactive)
|
||||||
|
(switch-to-buffer (other-buffer (current-buffer) 1)))
|
||||||
|
|
||||||
|
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
|
||||||
|
#+END_SRC
|
||||||
* ess
|
* ess
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq inferior-R-args "--quiet --no-save")
|
(setq inferior-R-args "--quiet --no-save")
|
||||||
|
|
Loading…
Reference in New Issue