Commit Graph

6039 Commits

Author SHA1 Message Date
ece174d9ed tools/pdf: document pdf-tools-install hackery 2019-09-26 14:26:47 -04:00
5385ee4f35 lang/latex: +pdf-viewers ordering and hook type-o
Previously, the last viewer set in `+latex-viewers` would take
precedence. The list is now reversed before applying changes so that the
first set has precedence.

The wrong hook variable was used to revert view buffers after compilation.
2019-09-26 14:35:44 +02:00
2dfa690f83 Autoload new locate-command default
This makes it much easier to customize, since it will always be set early in the startup process, rather than unpredictably, whenever this autoloads file is loaded.
2019-09-23 13:39:53 -04:00
212bdf8ae5 Set locate-command in tools macos
It should be mdfind since spot light is on by default

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 17:47:58 +09:00
30f15189e4 Merge pull request #1810 from rgrinberg/use-mdfind-counsel-locate-mac
Use mdfind for counsel-locate on a Mac
2019-09-22 14:29:13 -04:00
7a1c8bd582 ui/popup: fix buffer cleanup ignoring kill-buffer-hook 2019-09-22 14:25:10 -04:00
4d910accc9 lang/python: revise comments in conda config 2019-09-22 14:05:03 -04:00
19ef103392 completion/helm: add mdfind support to helm-locate 2019-09-22 13:33:26 -04:00
87c6e8900c Fix org-insert-link desc prompt for helm users #1710
A change upstream causes the prompt to be suppressed if the current
command wasn't run interactively. The check for interactivity gets
tricky when advice are involved.
2019-09-22 13:06:16 -04:00
bc1c16605f config/default: move SPC g o . to SPC g o o 2019-09-22 12:10:13 -04:00
f4d17707e7 config/default: bind SPC f l to locate
This will be remapped to counsel-locate or helm-locate if the ivy/helm
modules are enabled.
2019-09-22 12:09:51 -04:00
342d7f8f12 Minor reformatting & comment revision 2019-09-22 11:59:53 -04:00
799e822a19 ui/popup: move help buffers to new vslot
So *Messages* and help buffers get stacked instead of opened side by
side.
2019-09-22 11:58:42 -04:00
efbc57a519 tools/direnv: update lorri overlay #1808 2019-09-22 11:57:40 -04:00
db0846f502 ui/popup: don't catch ibuffer windows
They're your problem now.
2019-09-22 11:56:00 -04:00
bdd51cdee9 lang/org: fix promotion/demotion ctrl keys 2019-09-22 11:39:28 -04:00
5c76bfce75 Use mdfind for counsel-locate on a Mac
This is the more sensible option as locate isn't configured by default
and spotlight is turned on by default.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 00:35:57 +09:00
86928e425b lang/pdf: fix wrong-num-of-args error for MacOS users 2019-09-21 14:19:56 -04:00
6bc9a58ad4 config/default: bind SPC g {y,Y} to git-link 2019-09-21 13:59:15 -04:00
6f9b7a2889 lang/nix: add ivy version of helm-nixos-options
And make it nix-mode's lookup-documentation handler, so pressing `K` on
an option will prefill the ivy search.
2019-09-21 13:57:26 -04:00
f93d3ca596 editor/evil: evil-escape-delay = 0.15 2019-09-20 23:55:25 -04:00
06a8384f77 ui/treemacs: remove unnecessary hack
Due to changes upstream.
2019-09-20 23:54:53 -04:00
2de198e749 Fix +popup/raise not raising some windows
The command now raises the popup into the previously selected window,
unless the prefix argument is used.
2019-09-20 23:54:17 -04:00
e10cd8cf2e Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
bd93682de5 config/default: tramp-default-method = ssh 2019-09-20 17:18:16 -04:00
bad0dba1fc tools/magit: refactor magit-version advice
Not strictly necessary, but more correct.
2019-09-20 17:18:16 -04:00
de43b499da Add .svelte to web-mode
With the merge of https://github.com/fxbois/web-mode/pull/1074, web-mode now supports Svelte templates. This change activates web mode when opening a `.svelte` file.
2019-09-20 13:50:43 -07:00
f05512c2e5 lang/rust: restore advice redefs
Update package-installed-p redefinition to use a safe `require`, so that rustic-setup-rls will fail gracefully if lsp/eglot aren't available.

And restore rustic-install-rls-client-p redefinition to prevent rustic from trying to install packages.
2019-09-20 14:49:39 -04:00
8e9d3fdc5d Fix package-installed-p hack for rustic 2019-09-20 21:49:44 +10:00
8a634bc04d Fix evil-collection-pdf not loading #1789
And prevents evil-collection-pdf from loading pdf-tools' eval-after-load
blocks twice.
2019-09-20 01:22:25 -04:00
fccafff291 tools/pdf: install epdfinfo on load #1788
Reverses 4f7bf8b
2019-09-20 01:19:40 -04:00
7f2c7e7ae3 lang/rust: prevent rustic from installing packages 2019-09-20 00:11:02 -04:00
d5ecfd3429 Move pdf-tools popup rules to tools/pdf 2019-09-19 18:55:44 -04:00
a0826447f5 tools/pdf: refactor retina support advice #1667 2019-09-19 18:39:09 -04:00
4aff103770 Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
2019-09-19 12:57:48 -04:00
1ffaa699f8 Fix naming convention
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 23:01:08 +09:00
46c0ec0f11 [emacs lisp] Add bindings for debugging defuns
`, d f` - turn on debugging for defun
`, d F` - turn off debugging for defun

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 13:58:16 +09:00
baf9b3bc87 Use cookie for journal feature check
The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:30:26 +09:00
aa1d2f5d51 org-journal: defer config
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:51 +09:00
594e38fd47 Move org-journal config to contrib
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:06 +09:00
42df2eaf8e Merge pull request #1786 from cnsunyour/develop
Fix variable misspelling (lv-use-separator)
2019-09-15 19:24:51 -04:00
06328840c3 lang/org: split compound condition into two :when's 2019-09-15 19:23:06 -04:00
0d719d6773 Move SPC b o to SPC b O
To make kill-commands a little harder to press accidentally.
2019-09-15 16:22:02 -04:00
20eb5ce4f6 Bind SPC / f to locate/counsel-locate 2019-09-15 16:21:10 -04:00
dc15d471da Bind zn to +evil:narrow-buffer 2019-09-15 16:19:47 -04:00
fdeb1aa45d Prevent evil-collection from loading packages twice
Triggering eval-after-load blocks (and after!/use-package!) twice.
2019-09-15 16:18:31 -04:00
4f7bf8b976 tools/pdf: don't install pdf-tools on load
Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
2019-09-15 16:16:46 -04:00
e956c0dc5a lang/rust: enable rainbow-delimiters-mode #1787 2019-09-15 12:06:40 -04:00
97b32bec15 Fixes wrong variable name: lv-use-seperator 2019-09-15 18:50:46 +08:00
7886138f5b Add support for org-journal
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-15 13:56:43 +09:00