Henrik Lissner
9c96feba56
Fix wrong-type-arg stringp error on +default/dired
...
When selecting a directory.
2020-07-27 18:09:57 -04:00
Henrik Lissner
87199113bd
SPC f d -> +default/dired
...
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
Henrik Lissner
83faa84591
Fix backspace advice with multi-character sp pairs
2020-07-23 01:26:03 -04:00
Henrik Lissner
2cedf150ec
Fix #3268 : overeager deletion of closing parens
...
Close #3566
2020-07-15 15:17:55 -04:00
Henrik Lissner
c0b7ff0f9d
Merge pull request #3347 from leoalekseyev/mygithub/develop
...
Don't set prefix-arg when delegating to ivy/helm from +default/search-project
2020-06-10 20:57:57 -04:00
Leo Alekseyev
8dd55901c3
Don't set prefix-arg when delegating to ivy/helm from +default/search-project
...
The prefix arg for +default/search-project is intended to enable the
user to pick search location, however when it propagates to the ivy
search function it turns on the "search ignored files" functionality,
which us typically not intended and, furthermore, can be (if desired)
turned on simply by typing the search command in, for exampe,
counsel-rg's case as `-uu -- mysearchterm`
2020-06-10 03:50:25 -07:00
Henrik Lissner
9f00dd4920
Warn if projectile-project-search-path is empty
...
When using +default/discover-projects
2020-06-10 02:55:59 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Henrik Lissner
776663cb45
Fix #3217 : backspace noops if tab-width=1
2020-05-28 05:51:56 -04:00
Henrik Lissner
77a4e8f8a7
Fix switch-project completion defaulting to current project
...
Affects doom/browse-in-other-project, doom/find-file-in-other-project,
+default/search-other-project and
+default/search-project-for-symbol-at-point.
When performing a text or file search in "another project", prior to
this update the current project would be the first highlighted
candidate, which doesn't make much sense when you're invoking a command
for searching *other* projects.
2020-05-26 14:06:19 -04:00
Henrik Lissner
85fb59acca
Fix wrong-type-arg symbolp error from notes commands
2020-05-14 15:17:01 -04:00
Henrik Lissner
06b3439627
Load org on +default/{browse,find-in}-notes if org-directory isn't set
2020-05-13 19:33:23 -04:00
Henrik Lissner
82ddc86335
Move RET & backspace fixes out of +smartparens feature
...
Neither of these are tied to smartparens, and should be available to
folks that have disabled +smartparens.
2020-05-12 19:42:03 -04:00
Henrik Lissner
bae9f91636
Speed up +default/{find-in,browse}-notes
...
This removes the 2-3s wait when using these two commands when the user
has defined `org-directory` early.
2020-05-11 03:00:08 -04:00
Henrik Lissner
da2247e3d6
Remove redundant +default/lsp-format-region-or-buffer command
2020-05-06 15:14:16 -04:00
Henrik Lissner
ba8892d7e9
Fix #3004 : stale root cache on project search
2020-04-30 19:02:20 -04:00
Henrik Lissner
798b5bdaea
Add +default-want-RET-continue-comments option
...
For disabling comment continuation on RET.
2020-04-30 16:29:12 -04:00
Henrik Lissner
6cb1390fac
Fix #2968 : refactor how org-directory default is set
2020-04-25 15:43:05 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board
2020-04-08 15:30:10 -04:00
Henrik Lissner
b72e00b6ca
Bind SPC p D
to +default/discover-projects
...
Closes #2601
2020-02-25 11:11:24 -05:00
Henrik Lissner
493b85c396
Wait a second before restarting server
...
sit-for doesn't necessarily do so if emacs recieves input during.
2020-02-11 03:21:44 -05:00
Henrik Lissner
27bf3c85b5
Generalize thing-at-point & region functions
2020-01-03 02:39:47 -05:00
Henrik Lissner
adc8cba14b
Revise docstrings & minor reformatting
2019-12-26 01:41:44 -05:00
Henrik Lissner
d1becfce89
config/default: reorganize autoloads
2019-12-23 17:20:19 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting
2019-12-20 00:59:52 -05:00
Henrik Lissner
a999a0ddd6
General refactors & comment revision
2019-12-19 14:51:34 -05:00
Henrik Lissner
6f1665563c
Error if +default/lsp-format-region-or-buffer in non-lsp buffer
2019-12-04 23:32:13 -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
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
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
f4e641950c
Minor, general refactors
2019-11-05 18:46:07 -05:00
Henrik Lissner
e47d357e56
Fix regexp quoting in +default/search-notes-for-symbol-at-point
2019-11-05 18:44:19 -05:00
Henrik Lissner
3d21f4ef5e
Add +default/restart-server command
...
Its keybind on 'SPC q d' was already pushed in ace1eceab
2019-10-26 23:44:29 -04:00
Henrik Lissner
d246307f87
config/default: bind SPC c {F,i,r} to LSP commands
...
These are experimental keybinds. I'm looking for a way to integrate
LSP's formatter commands (and lsp-organize-imports) into the :editor
format module. And a way to unify refactoring commands (perhaps with emr
or erefactor), including lsp-rename.
- 'SPC c F' -> format region or buffer
- 'SPC c i' -> organize imports
- 'SPC c r' -> rename symbol at point
Addresses #1417
2019-10-22 19:55:50 -04:00
Henrik Lissner
f79d191701
completion/ivy: use region is active & fix regex quoting
...
Fixes #1930
2019-10-22 12:36:43 -04:00
Henrik Lissner
9634a3860e
config/default: invoke magit-todos-list on SPC p t
...
Before falling back to +ivy/tasks and helm/tasks (not implemented yet).
2019-10-20 19:57:27 -04:00
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
...
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board
2019-09-13 22:00:34 -04:00
Henrik Lissner
f90cf1f974
Fix +default/org-notes-headlines
2019-08-28 22:08:13 -04:00
Henrik Lissner
f4a11fd437
Fix #1679 : newline-and-indent advice not deleting trailing whitespace
2019-08-21 00:29:12 -04:00
Henrik Lissner
b330728032
Fix #1575 : SPC * error when no symbol at point
2019-08-07 18:37:02 -04:00
Henrik Lissner
9ffb740b0f
Add SPC / D and SPC / P keybinds #1531
...
For searching from another directory/project (prompted)
2019-07-02 14:13:30 +02:00
Henrik Lissner
65efbc4204
Fix prompts for search-{cwd,project} commands
2019-07-02 14:06:31 +02:00
Henrik Lissner
57bd7a385e
Fix typo in +default/org-notes-headlines
2019-05-20 21:09:10 -04:00
Henrik Lissner
2e6d8be6fc
Rethink SPC n keybinds and add new ones
...
Adds the following keybinds:
SPC n . Browses org-directory
SPC n / Text search in org-directory
SPC n * Text search in org-directory with symbol at point
SPC n h Jump to org headline in org-agenda-files
2019-05-17 23:57:24 -04:00
Henrik Lissner
b821bfca1f
Fix newline-and-indent advice forgetting indentation
...
e.g. in python-mode docstrings. The point-in-string case is no longer
handled, because indent-according-to-mode handles it properly already.
2019-05-15 15:22:08 -04:00
Henrik Lissner
3c01de8876
Fix #1320 : generalize SPC *
...
Was formerly using ripgrep, and only ripgrep.
2019-04-10 20:14:50 -04:00
Henrik Lissner
3f751c1179
Correctly regexp-quote symbol on SPC *
2019-04-10 20:11:41 -04:00
Henrik Lissner
5e8687cd45
Add SPC * for project-searching symbol at point
2019-04-10 18:57:57 -04:00