Commit Graph

8736 Commits

Author SHA1 Message Date
brotzeit
8bed16eb72 fix message 2020-01-04 12:49:43 +01:00
Henrik Lissner
e0b8b4f190 Fix set-pretty-symbols! not merging properties w/ old rules
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
Henrik Lissner
d1beb47e90 Fix invalid-function 116 when formatting with tidy
Due to refactor upstream: lassik/emacs-format-all-the-code@4f458bd
2020-01-04 03:33:42 -05:00
Sune Simonsen
580de0be1f Fix source code highlighting when using marked.js
I'm currently experiencing problems getting the source code highlighting to work with https://github.com/markedjs/marked

The reason is that Marked outputs the following structure:

```html
<pre><code class="language-js">const hello = 'world';</code></pre>
```

and the current selector expects the `pre` tag to have a `lang` attribute. 

This PR splits the forwarding of the `lang` attribute to a class and the code that initialise the highlighting for each block. It will try to initialise the highlighting for every `code` block that is inside a `pre` tag.
2020-01-03 17:19:44 +01:00
Henrik Lissner
6523f6a12e Move cpp-mode{,-map} aliases to autoloads
They don't need to be in config.el
2020-01-03 05:49:43 -05:00
Henrik Lissner
b825c399a3 Merge pull request #2296 from Foldex/develop
ui/doom-dashboard: de-hardcode dashboard faces
2020-01-03 05:08:35 -05:00
Henrik Lissner
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
Foldex
760aa50c44 ui/doom-dashboard: De-hardcode dashboard faces 2020-01-02 23:18:19 -05:00
Henrik Lissner
d426349f21 ui/zen: add +zen-text-scale variable 2020-01-02 21:54:28 -05:00
Henrik Lissner
ec7a067109 Enable ligatures on emacs-mac if pretty-code is enabled
No longer necessary to enable a font ligature flag for it.
2020-01-02 21:16:02 -05:00
Henrik Lissner
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
Henrik Lissner
10f7c9fbcc ispell-dictionary = en_US
Set a default so we at least don't get stringp errors on startup.
2020-01-02 21:16:02 -05:00
Henrik Lissner
7f654f1566 Bind SPC s {t,T} for dictionary/thesaurus lookups 2020-01-02 21:16:01 -05:00
Henrik Lissner
8f6161f480 Generalize lookup thing-at-pt fn; fix dict/synonym commands 2020-01-02 21:16:01 -05:00
Henrik Lissner
6938f8b97d Fix references to old dictionary/thesaurus lookup commands
And pass word explicitly to powerthesaurus.
2020-01-02 20:04:20 -05:00
Henrik Lissner
f313c77ac7 Merge pull request #2289 from r-darwish/lsp-code-action
Add evil binding to lsp-execute-code-action
2020-01-02 19:57:15 -05:00
Henrik Lissner
7f8ad38372 Merge pull request #2295 from seanfarley/patch-1
irc: fix logic for creating a workspace
2020-01-02 19:56:29 -05:00
Henrik Lissner
5fe658e583 Rename synonym/dictionary definition lookup commands 2020-01-02 19:53:49 -05:00
Henrik Lissner
56ef4d8800 Use powerthesaurus-lookup-word-dwim in +lookup/word-synonyms 2020-01-02 19:52:10 -05:00
Sean Farley
dca166f79c irc: fix logic for creating a workspace
The `+workspace-switch` logic takes care of the check, so let's remove
it.
2020-01-02 15:51:05 -08:00
Henrik Lissner
a9763fe76b Fix vestigial reference to +org-attach/uri 2020-01-02 16:22:52 -05:00
Undead Kernel
91665df40b bindings: default emacs up to the state of the art
Added `toggle` (C-c t), `code` (C-c c), `open` (C-c o) and `insert` (C-c i) bindings.
Moved org bindings from the `C-c o` to the `C-c n` prefix.
Updated the `file` (C-c f) and `quit` (C-c q) bindings.
Removed the `terminal` bindings, now under `open` (C-c o).
Removed standalone bindings for the REPL (now under `open` (C-c o)).
2020-01-02 18:32:20 +01:00
Henrik Lissner
37ba1d8864 Bind 'SPC b {m,M}' & 'SPC s m' to bookmarks
And move former 'SPC s m' (evil-show-marks) to 'SPC s r', since it is
slightly less useful do to evil having native keys for jumping to marks:
` ' and :marks
2020-01-02 04:52:30 -05:00
Henrik Lissner
647750c18c Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
Henrik Lissner
13e2eefae1 Move org-id-locations-file to org-directory
It makes more sense to store this file where you keep your org files,
rather than in Doom's .local files, which could be deleted for
debugging, or local only to a specific machine.

Also make ID links relative to org-directory, in case you use the same
org library on a different system with different filesystem
layout/system of symlinks.
2020-01-02 04:52:30 -05:00
Roey Darwish Dror
3661406e74 Add evil binding to lsp-execute-code-action 2020-01-02 11:36:10 +02:00
Henrik Lissner
369a304f7a Merge pull request #2276 from brettlyons/patch-1
tools/flyspell: fix flyspell-correct
2020-01-02 00:03:16 -05:00
Henrik Lissner
e98e1f464f Merge pull request #2285 from RBckmnn/patch-1
editor/file-templates: fix typo in docstring
2020-01-02 00:02:51 -05:00
Henrik Lissner
f0abb3264c Fix #2014: +shell/here doesn't execute COMMAND 2020-01-01 22:47:59 -05:00
Henrik Lissner
d84df72364 Dumb indent on TAB when in middle of subtree 2020-01-01 21:19:22 -05:00
Henrik Lissner
07823d00a7 Fix yasnippet expansion in org src blocks
This is hacky, and causes weirdness with org-bullets-mode, but it works.
2020-01-01 21:19:22 -05:00
Henrik Lissner
d0380c42e7 Rename face: +modeline-bar -> +modeline-bar-active
It shared the name of a variable, which could be confusing.
2020-01-01 21:19:21 -05:00
Henrik Lissner
ab994627bc Add counsel-find-file's actions to counsel-file-jump 2020-01-01 21:19:21 -05:00
Henrik Lissner
f0e05c1a44 Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
Henrik Lissner
a332885d33 Remove M-ret binds; make C-ret binds less aggressive
They were a tad too aggressive. Our C-ret keybinds are more than enough.
I've removed them from insert state maps, however, so that those
keybinds won't override new C-ret keybinds on non-evilified minor mode
keymaps (for evil users).
2020-01-01 19:34:33 -05:00
Henrik Lissner
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
RBckmnn
00c087be89 Fix typo 2020-01-01 17:19:44 +01:00
Henrik Lissner
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
Henrik Lissner
d1b597fde4 Remove redundant evil keybinds for neotree
Some of these were already bound by evil-collection-neotree.
2019-12-31 19:14:43 -05:00
Henrik Lissner
33701ea407 Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
Henrik Lissner
69a7c60c3a Update text objects list in evil readme 2019-12-31 17:46:53 -05:00
Henrik Lissner
d7d873e11b Fix counsel-projectile-find-file from occur buffers #2268
counsel-projectile-find-file-action would open the candidate from wrong
buffer.

This is an experimental fix.
2019-12-31 00:04:07 -05:00
Henrik Lissner
fb261a9c65 Fix extra ivy actions for counsel-{rg,find-file} 2019-12-31 00:02:00 -05:00
Henrik Lissner
a947f64ff2 Replace ace-link with link-hint
Better link support, easier to extend, and maintained more actively.
2019-12-31 00:00:10 -05:00
Henrik Lissner
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
Henrik Lissner
3271cd3a54 Remove unused ui/tabs/autoload.el 2019-12-30 18:08:11 -05:00
Brett Lyons
20a9beadf8 updated commands to flyspell-correct
version bump on flyspell-correct to 0.6.1. brings deletion of old aliases.
2019-12-30 15:06:44 -07:00
Brett Lyons
7a2f4bddea flyspell-correct-word-generic -> flyspell-correct-at-point
New release of flyspell-correct yesterday, removed the word-generic aliases.
(Also in tools/flyspell/config.el)
2019-12-30 15:00:33 -07:00
Henrik Lissner
eba070d8ba Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
Henrik Lissner
8c0561df93 Fix ui/tabs module
Remove all my custom hacks because none of them work anymore.
2019-12-30 00:50:18 -05:00