Commit Graph

6535 Commits

Author SHA1 Message Date
5738e39fea Disable proof general's splash screen 2019-11-17 00:33:52 +09:00
b7044b5f32 Fix #2064: partially revert bd4755123
A change unintentionally snuck into bd4755123.
2019-11-15 23:56:08 -05:00
449ddb986c Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
bd4755123f Replace */tasks commands w/ magit-todos-list
If we want ivy/helm interfaces to it, we should use magit-todos as a
backend.
2019-11-15 22:17:31 -05:00
03e9dc1daf Follow up on 64222c69c
To fix cases where comment-line-break-function's first argument isn't
optional.
2019-11-15 22:17:31 -05:00
7192a686a2 Use swiper-isearch instead of swiper
Much faster to start up
2019-11-15 22:17:30 -05:00
3d26befd47 Move 'SPC /' to 'SPC s'
/ is harder to reach than s, more so on certain keyboard layouts, so
'SPC /' has been moved to 'SPC s'. Similar has been done to other / and
. leader keybinds. Whats more, 'SPC s' for snippets is seldomly used and
available through other means, so it was removed.

Summary:
- 'SPC /' moved to 'SPC s'
- 'SPC f .' and 'SPC f /' moved to 'SPC f f' and 'SPC f F', respectively
- 'SPC p /' removed (already on 'SPC p f')
- 'SPC p ?' moved to 'SPC p F' (doom/find-file-in-other-projects)
- 'SPC n /' moved to 'SPC n s' (+default/org-notes-search)
- 'SPC n .' removed (already on 'SPC n N')
- Remove 'SPC s' prefix for snippets. Was seldomly used and most of its
  commands are available on other keys or through `M-x`, which is
  enough.
2019-11-15 22:17:30 -05:00
21eeb5c1a5 Bind 'SPC i {f,F}' to insert current file name/path 2019-11-15 22:17:30 -05:00
46bea60ad3 Add :Read ex command & 'SPC i p' keybind
This can be used to extract paths from evil-ex style paths. e.g. the
following inserts the stdout into the current buffer (assuming we're in
~/some/project/filename.c):

  :R!echo %:P      ~/some/project
  :R!echo %:t      filename.c
  :R!echo %:e      c
  :R!echo %:r      filename
  :R!echo ~/another/project/%:t:r.h
    ~/another/project/filename.h
  :R %             contents of current file

http://vimdoc.sourceforge.net/htmldoc/cmdline.html#filename-modifiers
has a full list of vim filename modifiers. Doom doesn't support all of
them, but it does support most of them.
2019-11-15 22:17:30 -05:00
ad2b905330 editor/evil: fix gr/gR in notmuch & elfeed 2019-11-15 22:17:30 -05:00
ab0a90cd21 Merge pull request #2061 from rgrinberg/set-effort
lang/org: bind <localleader> c E to org-set-effort
2019-11-15 02:17:08 -05:00
2b36740325 lang/web: fix duplicate closing delimiters 2019-11-15 02:14:06 -05:00
3353727452 Add binding for setting effort
The org-clock-modify-effort-estimate is only useful after we've clocked
in a task.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-15 16:04:01 +09:00
c2db4a8708 tools/eval: add REPL support for +eval/buffer 2019-11-15 00:17:10 -05:00
2a01a9dcdf tools/ein: fix +ein/hydra autoload #2054 2019-11-14 01:45:40 -05:00
2dd27260bb lang/python: move pipenv keybinds to pipenv config
Why was it under pyvenv?
2019-11-12 20:35:14 -05:00
d0a7cac3ad Fix +eval:region sending whole buffer to REPL #1941 2019-11-12 20:22:38 -05:00
5498b17de2 Bind 'gr' to revert-buffer in dired-mode 2019-11-12 16:24:51 -05:00
a383293530 Merge pull request #2017 from bennofs/fix-jumplist-empty-buffer
Fix nil error in +ivy/jump-list for empty buffers
2019-11-12 16:19:44 -05:00
254be475ad Merge pull request #2009 from bennofs/fix-hydra-flash
Avoid nav-flash after each hydra action
2019-11-12 16:19:22 -05:00
62e6e7d81f lang/org: fix tests to reflect f70f788df 2019-11-12 16:15:42 -05:00
64222c69c8 Fix wrong-number-of-arguments on newline-and-indent
And ensure all custom comment-line-break-function functions its
argument requirements.
2019-11-12 15:24:02 -05:00
7879a93081 lang/org: preserve TODO keyword on C-RET
Rather than reverting to first TODO keyword.
2019-11-12 15:24:02 -05:00
f70f788df3 lang/org: don't auto-demote headings on C-RET
This can be harder to predict. Instead, use TAB and S-TAB after-the-fact
to adjust heading level.
2019-11-12 15:24:01 -05:00
781238f986 lang/org: alphabetize localleader keys 2019-11-12 15:24:01 -05:00
e19c73843d Display empty string instead of magic EMPTY BUFFER 2019-11-11 22:03:48 +01:00
e0d9ef80e0 Fix coding style 2019-11-11 22:02:45 +01:00
d2d079877c lang/org: reformat packages.el 2019-11-10 20:50:01 -05:00
af63b0eb7a lang/swift: activate lsp on swift-mode-local-vars-hook 2019-11-10 16:45:33 -05:00
89893719dc lang/org: bind <localleader>cr -> org-clock-report 2019-11-10 13:53:26 -05:00
f5d651eae7 Merge pull request #2044 from rgrinberg/add-agenda-clock
lang/org: add org-agenda clock keybinds
2019-11-10 13:44:56 -05:00
69c4964e3b Move org-agenda-clock-cancel to <localleader>cx
To match lang/org's <localleader>cx keybind
2019-11-10 13:44:23 -05:00
396b433ae0 Add clock bindings to org agenda
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-10 19:10:49 +09:00
58e674d8fb tools/lsp: fix LSP prompting for project too often 2019-11-10 05:05:42 -05:00
ba01e7a4f1 Merge pull request #2020 from rgrinberg/rst-module
Add lang/rst module
2019-11-10 04:35:47 -05:00
6625ef7177 [lang/javascript] Add prefix names to JavaScript bindings (#1991)
* add prefix names to javascript bindings
* move prefixes into respective package declarations
2019-11-10 04:33:06 -05:00
30a5cb2f1a Merge pull request #2012 from jdnavarro/develop
lang/org: add org-archive-subtree keybind
2019-11-10 04:32:24 -05:00
d3d51e32a2 lang/org: remove unusable localleader keybinds #2042
These commands only make sense in org-agenda-mode, specifically.
2019-11-10 01:23:27 -05:00
7034b22e0d remove extra level of parens
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-10 14:14:23 +09:00
2edafcb3ac Merge pull request #2022 from babariviere/go-tag
lang/go: replace go-add-tags with go-tag
2019-11-08 16:05:02 -05:00
021a36179d Merge pull request #2025 from vikigenius/develop
Fix #2023: enable racket-smart-open-bracket-mode
2019-11-08 16:04:20 -05:00
8e394ba3f0 tools/lookup: lazy load dash-docs 2019-11-08 16:02:07 -05:00
bf8ee34c19 tools/lsp: fix +lsp-prompt-if-no-project-a #1928
Don't prompt for blacklisted folders, and don't refuse to recognize
$HOME (let the user decide whether to blacklist it or not).
2019-11-08 16:02:07 -05:00
fbf9010c80 Log benchmark whether or not dashboard is enabled 2019-11-08 16:02:06 -05:00
c37bdf71d1 Demote "no more buttons" error to warning
If the shortmenu or buttons were disabled, this error would break the
dashboard (and Doom).

Mentioned in #2024
2019-11-08 16:02:06 -05:00
44d5e097c9 shell-command-to-string -> doom-call-process #1887
Minor optimization to remove a layer of indirection when starting
processes.
2019-11-08 16:02:06 -05:00
99cd52e70f 💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
1f53ee92cb lazy load rst
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:56:14 +09:00
ba11f046bf Use ox-rst when :lang rst is enabled
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:54:10 +09:00
487b53ab5d remove unnecessary parens
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:51:57 +09:00