From 1b5b806cc3ed758ff53e38ff0695b824e84d84c3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 4 Jul 2017 09:57:55 +0200 Subject: Emacs: Remove column and line number from modeline --- emacs/.emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index a6474799..406c15f3 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -286,7 +286,8 @@ correct, at least for Liberation Mono. ** Modeline #+BEGIN_SRC emacs-lisp -(column-number-mode t) +(column-number-mode -1) +(line-number-mode -1) (size-indication-mode t) (setq frame-title-format '("%f" (dired-directory dired-directory))) -- cgit 1.4.1 From 46d1b3c01050695d04055490242427e845da4354 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 4 Jul 2017 09:58:42 +0200 Subject: Emacs: Diminish editorconfig mode --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 406c15f3..a3bd64fa 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -894,6 +894,7 @@ with spaces. Perfect! #+BEGIN_SRC emacs-lisp (use-package editorconfig + :diminish "EC" :config (editorconfig-mode 1)) #+END_SRC -- cgit 1.4.1 From 67259c20e4abc05c4df23afeab021358f0ef1566 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 4 Jul 2017 10:04:17 +0200 Subject: Emacs: Diminish flyspell mode --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index a3bd64fa..db0469f0 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2395,6 +2395,7 @@ Sometimes I might want to show off my emacs usage. #+BEGIN_SRC emacs-lisp (use-package flyspell + :diminish "﹏" :config (progn (defun flyspell-detect-ispell-args (&optional run-together) "If RUN-TOGETHER is true, spell check the CamelCase words. -- cgit 1.4.1 From 4d72527ee9f7ba3a5b9ee5b978987e13189a4b8f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 13:35:07 +0200 Subject: Emacs: Remove company-nixos-options It keeps breaking completion, which is annoying. --- emacs/.emacs.d/init.org | 7 ------- 1 file changed, 7 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index db0469f0..0441db4c 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1141,13 +1141,6 @@ seems to work perfectly well for me. :after company) #+END_SRC -#+BEGIN_SRC emacs-lisp -(use-package company-nixos-options - :defer 30 - :config (progn - (add-to-list 'company-backends 'company-nixos-options))) -#+END_SRC - * Dates & Times ** Calendar -- cgit 1.4.1 From 967d4abeb9be21ed2d9f7dcb4025cc8f0dc61a82 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 13:35:41 +0200 Subject: Emacs: Use mac-auto-operator-composition-mode on mac-port --- emacs/.emacs.d/init.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 0441db4c..97ddebc9 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -259,10 +259,13 @@ on the right things. #+END_SRC Make symbols prettier. Turns out, in many cases, this is already -configured, just not enabled. +configured, just not enabled. If using the mac-port version of Emacs, +it has it's own, more extensive version. #+BEGIN_SRC emacs-lisp -(global-prettify-symbols-mode +1) +(if (eq window-system 'mac) + (mac-auto-operator-composition-mode +1) + (global-prettify-symbols-mode +1)) #+END_SRC ** Page Breaks -- cgit 1.4.1 From 205ff22d5088491657d81c68942775f9b90d5ee0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 13:36:01 +0200 Subject: Emacs: Diminish some Javascript minor modes --- emacs/.emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 97ddebc9..7833ac50 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2225,6 +2225,7 @@ Instead, do this: #+BEGIN_SRC emacs-lisp (use-package indium + :diminish (indium-interaction-mode . "In") :config (progn (add-hook 'js2-mode-hook #'indium-interaction-mode))) #+END_SRC @@ -2245,7 +2246,7 @@ completions, besides other IDE-like things. #+BEGIN_SRC emacs-lisp (use-package tern - :commands ap/enable-tern + :diminish tern-mode :if (executable-find "tern") :defer 5 :config (progn -- cgit 1.4.1 From 2e755628ac5c22bf5ce799a41c7bc5f9acbd0e44 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 13:36:17 +0200 Subject: Emacs: Load avy on idle --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 7833ac50..61c7e0d8 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2618,6 +2618,7 @@ somehow I prefer it. #+BEGIN_SRC emacs-lisp (use-package avy + :defer 5 :bind (("M-g g" . avy-goto-line) ("M-g M-g" . avy-goto-line) ("C-|" . avy-goto-line) -- cgit 1.4.1