summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r--.emacs.d/init.org39
1 files changed, 36 insertions, 3 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index d71f2eb..1031ae2 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -113,14 +113,13 @@
(blink-cursor-mode -1)
#+END_SRC
-** Column and line numbers
+** Line numbers
As I'm currently using svg-mode-line-themes[fn:2] for my ~mode-line~ I
don't need to show these. Also I didn't really use them much, I
don't often need to know what line I'm on.
#+BEGIN_SRC emacs-lisp
- (column-number-mode -1)
(line-number-mode -1)
#+END_SRC
@@ -293,6 +292,20 @@
(setq scroll-preserve-screen-position t)
#+END_SRC
+** Don't show a mode line for completions
+
+ One of the things I dislike about Emacs is its rigidity concerning
+ windows and other UI elements. One very simple way to make it
+ /feel/ less so is to show less of it where possible. A mode line for
+ completion buffers creates more separation than necessary, and I
+ can't recall a single time where I've used the completion's mode
+ line for anything.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'completion-list-mode-hook
+ (lambda () (setq mode-line-format nil)))
+ #+END_SRC
+
* Add org-mode appointments to the diary
Diary offers reminders, which can be useful when scheduling
@@ -582,7 +595,8 @@
'("~/.emacs.d/site-lisp"
"~/.emacs.d/vendor-lisp/mozrepl"
"~/.emacs.d/vendor-lisp/eap" "/usr/share/emacs/site-lisp"
- "/usr/lib/node_modules/tern/emacs/")))
+ "/usr/lib/node_modules/tern/emacs/"
+ "~/.emacs.d/vendor-lisp/habitrpg.el")))
#+END_SRC
* Some unconditional settings
@@ -859,10 +873,29 @@
highly annoying.
#+BEGIN_SRC emacs-lisp
+ (defvar scss-compile-at-save)
+
(with-eval-after-load 'scss-mode
(setq scss-compile-at-save nil))
#+END_SRC
+* Change listings in dired
+
+ The number of bytes a file is doesn't usually tell me much when it's
+ something like ~292837~. I prefer seeing just how many Kb or Mb a
+ certain file is. I also don't need to see the ~.~ and ~..~ directories
+ when I insert directories into the current dired buffer, as there is
+ a great chance that the current and parent directory are already
+ shown in the buffer.
+
+ #+BEGIN_SRC emacs-lisp
+ (defvar dired-subdir-switches)
+
+ (with-eval-after-load 'dired
+ (setq dired-listing-switches "-alh"
+ dired-subdir-switches "-Alh"))
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I