Commit Graph

7694 Commits

Author SHA1 Message Date
4f41a3080d Merge pull request #2307 from bennyyip/develop
editor/evil: fix outdated readme
2020-01-05 20:09:25 -05:00
35f739a013 Merge pull request #2309 from dsdshcym/org-popup-hacks-suppress-delete-window
Suppress delete-window in org related functions
2020-01-05 20:08:48 -05:00
40a35392d1 Make evil backspace/DEL respect delete-selection-mode
Perhaps this should be fixed upstream?
2020-01-05 19:15:08 -05:00
cd3f1399af Fontify latex blocks natively 2020-01-05 19:08:11 -05:00
ee4358a243 Simplify org-format-latex-options setting
Due to changes upstream, all that isn't necessary anymore.
2020-01-05 17:47:29 -05:00
02a4f6b573 Suppress delete-window in org related functions
- If there's only one other window, delete-window would be called,
  instead of delete-other-windows
- when there is only one window other than the popup, this other window
  is the main window in this frame, delete it would raise an error:
  `delete-window: Attempt to delete main window of frame <frame name>`
2020-01-05 11:52:39 +08:00
e6638b82a1 Autoload forge-create-{pullreq,issue} 2020-01-04 15:42:04 -05:00
61f6e7f430 editor/evil: fix: outdated log 2020-01-05 03:40:41 +08:00
8bed16eb72 fix message 2020-01-04 12:49:43 +01:00
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
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
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
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
b825c399a3 Merge pull request #2296 from Foldex/develop
ui/doom-dashboard: de-hardcode dashboard faces
2020-01-03 05:08:35 -05:00
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
760aa50c44 ui/doom-dashboard: De-hardcode dashboard faces 2020-01-02 23:18:19 -05:00
d426349f21 ui/zen: add +zen-text-scale variable 2020-01-02 21:54:28 -05:00
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
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
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
7f654f1566 Bind SPC s {t,T} for dictionary/thesaurus lookups 2020-01-02 21:16:01 -05:00
8f6161f480 Generalize lookup thing-at-pt fn; fix dict/synonym commands 2020-01-02 21:16:01 -05:00
6938f8b97d Fix references to old dictionary/thesaurus lookup commands
And pass word explicitly to powerthesaurus.
2020-01-02 20:04:20 -05:00
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
7f8ad38372 Merge pull request #2295 from seanfarley/patch-1
irc: fix logic for creating a workspace
2020-01-02 19:56:29 -05:00
5fe658e583 Rename synonym/dictionary definition lookup commands 2020-01-02 19:53:49 -05:00
56ef4d8800 Use powerthesaurus-lookup-word-dwim in +lookup/word-synonyms 2020-01-02 19:52:10 -05:00
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
a9763fe76b Fix vestigial reference to +org-attach/uri 2020-01-02 16:22:52 -05:00
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
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
647750c18c Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
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
3661406e74 Add evil binding to lsp-execute-code-action 2020-01-02 11:36:10 +02:00
369a304f7a Merge pull request #2276 from brettlyons/patch-1
tools/flyspell: fix flyspell-correct
2020-01-02 00:03:16 -05:00
e98e1f464f Merge pull request #2285 from RBckmnn/patch-1
editor/file-templates: fix typo in docstring
2020-01-02 00:02:51 -05:00
f0abb3264c Fix #2014: +shell/here doesn't execute COMMAND 2020-01-01 22:47:59 -05:00
d84df72364 Dumb indent on TAB when in middle of subtree 2020-01-01 21:19:22 -05:00
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
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
ab994627bc Add counsel-find-file's actions to counsel-file-jump 2020-01-01 21:19:21 -05:00
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
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
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
00c087be89 Fix typo 2020-01-01 17:19:44 +01:00
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
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
33701ea407 Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
69a7c60c3a Update text objects list in evil readme 2019-12-31 17:46:53 -05:00
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