diff options
| author | Jakob L. Kreuze | 2019-02-23 14:11:16 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-02-23 14:11:16 -0500 |
| commit | a24867390655fd81157b1ad79ad2021917ac97e9 (patch) | |
| tree | 47818117b6e22e0ff10e3da578617094c1ff9c06 /jakob.org | |
| parent | 439d705715ddd432ecac785e581a47ba57ded388 (diff) | |
Attempt to resolve DAG issue
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 63 |
1 files changed, 35 insertions, 28 deletions
@@ -836,6 +836,15 @@ Transformer to highlight channels in the =completing-read= of 'irc-switch-buffer-transformer)) #+END_SRC +* Counsel + +#+BEGIN_SRC elisp +(use-package counsel + :bind + (:map org-mode-map + ("C-c C-q" . counsel-org-tag))) +#+END_SRC + * Dired Hide the targets of symbolic links in dired listings. This is just a visual @@ -951,19 +960,19 @@ simulation keys for tab switching. Simulation keys is also disabled for kitty because it gets in the way of readline. #+BEGIN_SRC elisp -:hook -(exwm-manage-finish . (lambda () - (when (and exwm-class-name - (string= exwm-class-name "Firefox")) - (exwm-input-set-local-simulation-keys - (concatenate 'list - exwm-input-simulation-keys - '(([?\C-q] . [?\C-w]))))) - (when (and exwm-class-name - (or - (string= exwm-class-name "kitty") - (string= exwm-class-name "mutt"))) - (exwm-input-set-local-simulation-keys nil)))) + :hook + (exwm-manage-finish . (lambda () + (when (and exwm-class-name + (string= exwm-class-name "Firefox")) + (exwm-input-set-local-simulation-keys + (concatenate 'list + exwm-input-simulation-keys + '(([?\C-q] . [?\C-w]))))) + (when (and exwm-class-name + (or + (string= exwm-class-name "kitty") + (string= exwm-class-name "mutt"))) + (exwm-input-set-local-simulation-keys nil)))) #+END_SRC EXWM's buffers are named =*EXWM*= upon creation, which makes switching between @@ -1058,8 +1067,7 @@ Scale up embedded LaTeX so that I can actually read it. Replace my [[Imenu]] binding with =org-goto=, as it allows me to select headings with subheadings. Keybindings for working with my Org workflow from anywhere are also -here, as are rebindings for [[Counsel]] because =use-package= doesn't like split =:bind= -declarations. +here, since =use-package= doesn't like split =:bind= declarations. #+BEGIN_SRC elisp :init @@ -1071,17 +1079,9 @@ declarations. ("C-c c" . (lambda () (interactive) (org-capture nil "c"))) ("C-c t" . (lambda () (interactive) (org-capture nil "t"))) :map org-mode-map - ("C-c C-q" . counsel-org-tag) ("C-c s" . org-goto)) #+END_SRC -Enable [[Yasnippet]]. - -#+BEGIN_SRC elisp - :hook - (org-mode . yas-minor-mode-on) -#+END_SRC - ** Personal Wiki I maintain somewhat of a "personal wiki" using Org and I like to link between @@ -1259,8 +1259,19 @@ closest thing I will ever have to an implementation of =ag= for my thoughts. * Yasnippet +Load all snippets when =yas-minor-mode= is enabled. + +#+BEGIN_SRC elisp +(use-package yasnippet + :hook + (yas-minor-mode . yas-reload-all) +#+END_SRC + +Enable Yasnippet for [[Org]]. + #+BEGIN_SRC elisp -(use-package yasnippet) + :hook + (org-mode . yas-minor-mode-on)) #+END_SRC * Elfeed @@ -1730,8 +1741,6 @@ Enable [[company]], ElDoc, and racer. #+BEGIN_SRC elisp (use-package racer - :after company - :init (setq racer-cmd "~/.cargo/bin/racer") (setq racer-rust-src-path "~/Code/rust/src") @@ -1741,8 +1750,6 @@ Enable [[company]], ElDoc, and racer. (racer-mode . company-mode)) (use-package rust-mode - :after racer - :hook (rust-mode . racer-mode)) #+END_SRC |