Commit Graph

11255 Commits

Author SHA1 Message Date
Rudi Grinberg
5738e39fea Disable proof general's splash screen 2019-11-17 00:33:52 +09:00
Henrik Lissner
b7044b5f32
Fix #2064: partially revert bd4755123
A change unintentionally snuck into bd4755123.
2019-11-15 23:56:08 -05:00
Henrik Lissner
449ddb986c
Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
7192a686a2
Use swiper-isearch instead of swiper
Much faster to start up
2019-11-15 22:17:30 -05:00
Henrik Lissner
b9e5059e3f
Ensure only one window after doom/kill-all-buffers 2019-11-15 22:17:30 -05:00
Henrik Lissner
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
Henrik Lissner
21eeb5c1a5
Bind 'SPC i {f,F}' to insert current file name/path 2019-11-15 22:17:30 -05:00
Henrik Lissner
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
Henrik Lissner
ad2b905330
editor/evil: fix gr/gR in notmuch & elfeed 2019-11-15 22:17:30 -05:00
Henrik Lissner
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
Henrik Lissner
9108f4780e
Clean up & refactor tests 2019-11-15 02:14:42 -05:00
Henrik Lissner
2b36740325
lang/web: fix duplicate closing delimiters 2019-11-15 02:14:06 -05:00
Rudi Grinberg
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
Henrik Lissner
3d4a51b4a9
Merge pull request #2006 from RBckmnn/FixSudoEdit
Fix doom/sudo-{find,this}-file on remote files
2019-11-15 01:34:00 -05:00
Henrik Lissner
287cc94cba
Fix doom-load-autoloads-file tests on macos
Since /var is symlinked to /private/var on macos, the tests -- which do
a simple string comparison between two paths -- won't correctly
determine the two paths are the same file.
2019-11-15 00:56:58 -05:00
Henrik Lissner
c2db4a8708
tools/eval: add REPL support for +eval/buffer 2019-11-15 00:17:10 -05:00
Henrik Lissner
6536eded02
docs/index: add github links warning 2019-11-14 15:47:42 -05:00
Henrik Lissner
031a68a36d
docs/faq: revise & remove redundancies 2019-11-14 15:47:29 -05:00
Henrik Lissner
8f793a387b
docs/api: expand map! example 2019-11-14 15:43:44 -05:00
Ralf Beckmann
12fcd3857d Avoid superfluous buffers when sudo-editing
When invoking 'doom/sudo-this-file', do not
keep the old buffer around, since it is most
likely no longer needed.
2019-11-14 20:48:21 +01:00
Henrik Lissner
6599388f00
Fix infinite loop on invalid answer to straight prompts 2019-11-14 02:37:24 -05:00
Henrik Lissner
2a01a9dcdf
tools/ein: fix +ein/hydra autoload #2054 2019-11-14 01:45:40 -05:00
Henrik Lissner
2dd27260bb
lang/python: move pipenv keybinds to pipenv config
Why was it under pyvenv?
2019-11-12 20:35:14 -05:00
Henrik Lissner
d0a7cac3ad
Fix +eval:region sending whole buffer to REPL #1941 2019-11-12 20:22:38 -05:00
Henrik Lissner
5498b17de2
Bind 'gr' to revert-buffer in dired-mode 2019-11-12 16:24:51 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
62e6e7d81f
lang/org: fix tests to reflect f70f788df 2019-11-12 16:15:42 -05:00
Henrik Lissner
27277c17e5
docs/getting_started: remove reddit link in windows instructions
The reddit post contains outdated information that shouldn't be used.

Mentioned in #2030
2019-11-12 15:24:02 -05:00
Henrik Lissner
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
Henrik Lissner
82c0fb6fc7
cli/doctor: ensure modules are fully loaded 2019-11-12 15:24:02 -05:00
Henrik Lissner
7879a93081
lang/org: preserve TODO keyword on C-RET
Rather than reverting to first TODO keyword.
2019-11-12 15:24:02 -05:00
Henrik Lissner
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
Henrik Lissner
781238f986
lang/org: alphabetize localleader keys 2019-11-12 15:24:01 -05:00
Benno Fünfstück
e19c73843d Display empty string instead of magic EMPTY BUFFER 2019-11-11 22:03:48 +01:00
Benno Fünfstück
e0d9ef80e0 Fix coding style 2019-11-11 22:02:45 +01:00
Henrik Lissner
89fad9986a
Merge pull request #2047 from alarsyo/rst-init
Add rst module to init.example.el
2019-11-11 13:45:21 -05:00
Antoine Martin
904ace43b6 Add rst module to init.example.el 2019-11-11 19:38:48 +01:00
Henrik Lissner
c297d091bd
Fix void-function doom-initialize-packages on 'doom upgrade' 2019-11-10 23:43:05 -05:00
Henrik Lissner
d2d079877c
lang/org: reformat packages.el 2019-11-10 20:50:01 -05:00
Henrik Lissner
8d112fdca8
Prevent void-variable errors on 'doom upgrade'
If Doom is up-to-date, certain Doom package state doesn't get
initialized for the 'doom update' that occurs directly after, causing
these errors.
2019-11-10 20:15:25 -05:00
Henrik Lissner
af63b0eb7a
lang/swift: activate lsp on swift-mode-local-vars-hook 2019-11-10 16:45:33 -05:00
Henrik Lissner
4ceb09c219
cli/upgrade: don't double-update packages
And don't initialize too much of Doom before updating it.
2019-11-10 16:44:53 -05:00
Henrik Lissner
89893719dc
lang/org: bind <localleader>cr -> org-clock-report 2019-11-10 13:53:26 -05:00
Henrik Lissner
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
Henrik Lissner
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
Rudi Grinberg
396b433ae0 Add clock bindings to org agenda
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-10 19:10:49 +09:00
Henrik Lissner
58e674d8fb
tools/lsp: fix LSP prompting for project too often 2019-11-10 05:05:42 -05:00