Commit Graph

332 Commits

Author SHA1 Message Date
7fa4e67e39 Minor refactors 2019-12-14 20:42:55 -05:00
87f6dab424 completion/ivy: remove unused var; update config
...to reflect our dropping ag/grep support.
2019-12-13 23:00:01 -05:00
a24b750c6c completion/ivy: fix ivy-re-builders-alist delegates 2019-12-13 22:49:26 -05:00
e4477f02e3 completion/ivy: remove directory in buffer name
When switching buffers.
2019-12-12 15:11:24 -05:00
996188250b Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
c13b8df5df Minor refactors & reformatting 2019-12-05 14:56:16 -05:00
7f5f23bdc5 completion/ivy: update keybinds in readme 2019-12-03 22:56:59 -05:00
d41e4983ec Bind '<help> t' to load-theme
And remap load-theme to counsel-load-theme.

This replaces the keybind for help-with-tutorial, but `load-theme` is
useful enough to warrant a keybind. `help-with-tutorial` is not.
2019-11-21 14:46:00 -05:00
c2d66ccdcf ivy-posframe: ignore counsel-rg 2019-11-19 13:24:54 +01:00
263c82def1 Remove references to old ivy/helm search commands
And consolidate ex commands into :pg[rep][!] and :pg[rep]d[!].
2019-11-18 15:06:11 -05:00
d2092ae44e completion/ivy: load counsel earlier
Fixes an issue where counsel was being loaded later than ivy-prescient,
which requires that it be loaded earlier.
2019-11-17 17:56:25 -05:00
a66872fe25 Focus on ripgrep; remove ag, git-grep & grep support
We're focusing on ripgrep so we can iterate on search functionality in
Doom quicker. There is nothing the other search backends can do that
ripgrep can't. It is now a hard dependency for Doom.
2019-11-17 01:19:59 -05: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
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
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
e19c73843d Display empty string instead of magic EMPTY BUFFER 2019-11-11 22:03:48 +01: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
31b2a5a19e Fix nil error in +ivy/jump-list for empty buffers
For empty buffers which don't have any lines, `(thing-at-point 'line)`
will return `nil`. This broke `+ivy/jump-list`.
2019-11-04 11:57:52 +01:00
ecace01a36 completion/ivy: remove org-capture remapping
counsel-org-capture isn't very useful when there are so few options.
2019-10-31 23:57:18 -04:00
fd5b92e3f5 completion/ivy: remap evil-show-marks -> counsel-mark-ring 2019-10-27 14:03:45 -04:00
68f2ac4d8c completion/ivy: ivy-height = 17
20 was too tall!
2019-10-26 04:06:10 -04:00
a4aae9c3a7 completion/ivy: ivy-height = 20
Ivy is a bit cramped otherwise
2019-10-26 03:58:08 -04:00
cf21cdc68c completion/ivy: minor refactor 2019-10-25 20:25:21 -04:00
851094cdd3 Restore ./ & ../ entries in ivy
There are a number of commands where these options are useful.
2019-10-24 04:42:21 -04:00
f79d191701 completion/ivy: use region is active & fix regex quoting
Fixes #1930
2019-10-22 12:36:43 -04:00
9402a0e09d Bind 'SPC i u' to 'insert unicode character'
With a counsel remapping. We need a helm one too.
2019-10-20 19:57:28 -04:00
45a17c86ba Add +ivy/jump-list & bind 'SPC b j' to it
Falls back to evil-show-jumps for non-evil users.
2019-10-20 19:57:27 -04:00
e0469e14c0 Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
cbc7c2aaf0 completion/ivy: remove -S switch
If ivy-case-fold-search == 'auto, counsel-{ag,rg} does this for us.
2019-10-20 10:58:53 -04:00
182b8a3ba9 completion/ivy: ivy-extra-directories = nil
Removes the ./ and ../ entries from ivy file completion commands. These
can still be typed in to navigate buffers.
2019-10-20 10:58:53 -04:00
0e9596244d counsel-find-file-at-point = nil
This is disruptive when you use counsel-find-file to quickly jump to
another file in or near the current directory. There's already gf for
this sort of thing anyway.
2019-10-20 10:58:52 -04:00
19ec099e25 completion/ivy: swiper-action-recenter = t 2019-10-18 21:10:56 -04:00
ace4c4c782 completion/ivy: minor refactor 2019-10-18 21:10:55 -04:00
f2233b73cb Rename ivy-dispatching-done{-hydra,}
Based on this Ivy commit:

1ad457d8e7 (diff-59c8f3240a0249f3809ead0286a450b7)
2019-10-18 12:51:50 -04:00
323e0adf45 Minor refactors & reformatting across the board 2019-10-17 01:47:58 -04:00
d5d85d1b03 completion/ivy: make counsel-compile projectile-aware 2019-10-17 01:45:30 -04:00
1826421cba completion/ivy: persist counsel-compile-history 2019-10-17 01:43:37 -04:00
d5e6c8813e completion/ivy: use counsel-compile
Wrote wrappers to replace compile and projectile-compile-project.
2019-10-17 01:41:37 -04:00
46b7945015 completion/ivy: extend +ivy-task-tags
To support the new tag list used in ui/hl-todo. These were derived from
https://github.com/bbatsov/emacs-lisp-style-guide
2019-10-15 22:24:56 -04:00
9c548a60e3 completion/ivy: load counsel earlier 2019-10-12 19:31:05 -04:00
6ba7c97501 Remove the_platinum_searcher support
I'm reducing the scope of our project search so we can eventually focus
on ripgrep. By specializing I can extend Doom's features for project
searching.
2019-10-10 22:02:18 -04:00
de6afec944 Merge pull request #1851 from alexandergraul/add-openSUSE-prerequisites
Add openSUSE prerequisite instructions
2019-10-03 12:09:37 -04:00
b7a98cc788 Add openSUSE prerequisite instructions
These instructions were tested on openSUSE Tumbleweed and openSUSE Leap
15.1. There are some modules left that are not documented yet, but this
already improves the sitution for common openSUSE users.
2019-10-03 16:01:35 +02:00
5c76bfce75 Use mdfind for counsel-locate on a Mac
This is the more sensible option as locate isn't configured by default
and spotlight is turned on by default.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 00:35:57 +09:00
e10cd8cf2e Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
20eb5ce4f6 Bind SPC / f to locate/counsel-locate 2019-09-15 16:21:10 -04:00
2cd1c43217 Suppress errors in +ivy--set-jump-point-maybe-h 2019-08-17 16:04:26 -04:00