Commit Graph

12056 Commits

Author SHA1 Message Date
Henrik Lissner
11676b0153 Fix #2299: void-function sp-point-in-string during 'doom refresh'
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
Henrik Lissner
63d42c97bc Pass POS to sp-point-in-string
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
Henrik Lissner
5495922a20 Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -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
8ff15c2aeb Optimize doom-point-in-*-p functions
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00
Henrik Lissner
8857dc1a5e Add doom-point-in-{comment,string}-functions
Fixes #2297
2020-01-03 02:40:50 -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
39fcf6be78 Merge pull request #2292 from howsiwei/smartparens
Enable smartparens-mode in pp-eval-expression
2020-01-02 19:56:49 -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
How Si Wei
da8bce53bc Enable smartparens-mode during pp-eval-expression 2020-01-03 00:21:01 +08: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
4d64021980 Merge pull request #2270 from facelesspanda/patch-1
docs/core: fix typo in `featurep!` docstring
2020-01-02 00:04:39 -05: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
f78f71a74c Minor refactors & comment revision 2020-01-01 23:52:02 -05:00
Henrik Lissner
fd6def4d5a Fix letenv! macro
It didn't work due to over-aggressive quoting of the let-vars.
2020-01-01 23:48:36 -05:00
Henrik Lissner
f0abb3264c Fix #2014: +shell/here doesn't execute COMMAND 2020-01-01 22:47:59 -05:00
Henrik Lissner
8f5977d9b8 Fix #2282: save-interprogram-paste-before-kill = nil
Seems more problematic than helpful to manipulate Emacs' kill-ring more
than we have to.
2020-01-01 21:24:06 -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
29773baa55 Add 'doom sync' as an alias for 'doom refresh'
'sync' more accurately describes the purpose of the command. 'refresh'
is now soft-deprecated; but I will phase it out of the documentation
and promote 'sync' instead, but it won't be removed.
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
2ef0ed90a4 Fix C-a/C-e #1802
Fixes two issues:
1. Where C-e would throw the cursor somewhere on another line (or at
   BOF).
2. Fixes #1802; where the cursor would stop a character shy of true
   end-of-text.
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
Henrik Lissner
7a348f8784 Refactor how we indent straight's progress output
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
Henrik Lissner
4f676bd218 Refactor autoload generator bootstrappers 2020-01-01 13:31:40 -05:00
RBckmnn
00c087be89 Fix typo 2020-01-01 17:19:44 +01:00
Henrik Lissner
4a53f0818d Don't insert autoloads literally #2281
It causes encoding issues.
2020-01-01 03:02:05 -05: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