aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-10-30 15:00:05 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-10-30 15:00:05 +0000
commit1a52aaddc8897ecc22c58efa51e642494ca0fbfc (patch)
treec160184834346800609901778fb0bceb063e34b9 /emacs
parent9ecfa7248814e8d7aa9d1976474a5a0ebd4a3c7a (diff)
downloaddotfiles-1a52aaddc8897ecc22c58efa51e642494ca0fbfc.tar.gz
dotfiles-1a52aaddc8897ecc22c58efa51e642494ca0fbfc.zip
Remove diff from commit
Diffstat (limited to 'emacs')
-rw-r--r--emacs/loader.org22
1 files changed, 18 insertions, 4 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index e9c4955..65dd6a7 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -86,7 +86,8 @@ Disable UI that starts when starting emacs and also set the y or n
instead of yes or no. Also stop the start up message from popping up
and enter the scratch buffer instead.
#+BEGIN_SRC emacs-lisp
- (setq inhibit-startup-message t)
+ (setq inhibit-startup-message t
+ confirm-nonexistent-file-or-buffer nil)
(tool-bar-mode 0)
(menu-bar-mode 0)
(fset 'yes-or-no-p 'y-or-n-p)
@@ -112,6 +113,11 @@ Splitting of windows made more deterministic
(display-buffer-same-window))))
#+END_SRC
+#+RESULTS:
+| \*cider-repl .* | (display-buffer-reuse-window display-buffer-in-side-window) | (reusable-frames . visible) | (side . bottom) | (window-height . 0.2) |
+| \*compilation\* | (display-buffer-reuse-window display-buffer-same-window) | | | |
+| .* | (display-buffer-same-window) | | | |
+
*** Custom modeline
Editing the modeline. ~%c~ might be a bit slow though, so that could
@@ -544,7 +550,9 @@ incrementally selecting more and more of the text.
#+BEGIN_SRC emacs-lisp
(add-hook 'dired-load-hook
- (function (lambda () (load "dired-x"))))
+ (function (lambda () (load "dired-x"))))
+
+ (setq dired-dwim-target t)
#+END_SRC
* Writing
@@ -670,7 +678,8 @@ Set up ob for executing code blocks
(org . t)
(matlab . t)
(ditaa . t)
- (clojure . t))))
+ (clojure . t)
+ (dot . t))))
#+END_SRC
Exporting to html needs htmlize.
@@ -749,9 +758,14 @@ lot of different language support.
*** Magit
#+BEGIN_SRC emacs-lisp
(use-package magit
- :bind (("C-x g" . magit-status)))
+ :bind (("C-x g" . magit-status))
+ :config
+ (setq server-switch-hook nil))
#+END_SRC
+#+RESULTS:
+: magit-status
+
*** Projectile
#+BEGIN_SRC emacs-lisp
(use-package projectile