Commit graph

165 commits

Author SHA1 Message Date
Henrik Lissner
c1bfdadc10
Bump :completion
DarwinAwardWinner/ido-completing-read-plus@74861ea -> DarwinAwardWinner/ido-completing-read-plus@98d3a6e
emacs-helm/helm@0181b7e -> emacs-helm/helm@d978f20
raxod502/prescient.el@a194852 -> raxod502/prescient.el@5330773
raxod502/prescient.el@a194852 -> raxod502/prescient.el@5330773
tumashu/ivy-posframe@6d697ff -> tumashu/ivy-posframe@ae9bafe
tumashu/posframe@c15800a -> tumashu/posframe@e62e584

Possibly fixes #2540
2020-04-12 17:53:55 -04:00
Henrik Lissner
2e6e191da3
Remove helm-descbinds remapping
helm-descbinds-mode overrides describe-bindings itself.
2020-04-11 00:36:17 -04:00
Brian McGillion
5a14dcd48e Add helm-descbinds
This package allows for easier navigation of the assigned bindings.
The inbuilt describe-bindings (C-h b b) feature is remapped to the helm
equivalent.

Signed-off-by: Brian McGillion <brian@ssrc.tii.ae>
2020-04-11 01:24:29 +04:00
Henrik Lissner
83b6f74d11
Minor refactors & reformatting 2020-03-27 21:39:27 -04:00
Henrik Lissner
07cde1ea70
Merge pull request #2723 from RBckmnn/helm-modifications
Minor changes to the helm module
2020-03-27 01:58:13 -04:00
Henrik Lissner
538bdf1387
Bump :completion
Yevgnen/ivy-rich@0f22aff -> Yevgnen/ivy-rich@596874d
abo-abo/swiper@5f1d9ce -> abo-abo/swiper@64f05f4
company-mode/company-mode@9de9905 -> company-mode/company-mode@61ddd9a
emacs-helm/helm-org@8457e1e) -> emacs-helm/helm-org@b7a18df
emacs-helm/helm@21e778b -> emacs-helm/helm@0181b7e
raxod502/prescient.el@7fd8c3b -> raxod502/prescient.el@a194852
tumashu/posframe@8a9af54) -> tumashu/posframe@c15800a
2020-03-27 01:09:33 -04:00
Ralf Beckmann
cf19fe739c Apply some minor changes to the helm module
Remove usage of the following variables, since they are no longer
present in helm's source code:

helm-M-x-fuzzy-match
helm-completion-in-region-fuzzy-match

Also remove the usage of the deprecated helm-mode-fuzzy-match variable.
Instead, modify completing-styles so that helmized commands will use
multi- or fuzzy-matching, respectively.
2020-03-14 20:52:33 +01:00
Henrik Lissner
a44df0b9c5
Bump :completion helm
emacs-helm/helm@8f56312 -> emacs-helm/helm@21e778b
tumashu/posframe@087a7fc -> tumashu/posframe@8a9af54
2020-02-29 11:47:12 -05:00
Henrik Lissner
9c6d614f31
Bump :completion helm
emacs-helm/helm@c17f1c76e4 -> emacs-helm/helm@8f56312053
tumashu/posframe@c250771589 -> tumashu/posframe@087a7fc3c8
2020-02-24 20:35:59 -05:00
Henrik Lissner
3b6fd1b360
Deactivate mark after successful file search
Fixes #2523
2020-02-11 13:36:23 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Jonas Møller
93ebe4a4bb Moved adding of helm-hide-minibuffer-maybe hook
From a racy when condition in the posframe autoload, into an
unconditional hook in the helm config.el file.
2020-01-23 12:58:39 +01:00
Jonas Møller
f6dc8d0202 Actually fix #2397
Added the setq to the wrong (when (featurep!)) initially.
2020-01-22 12:19:56 +01:00
Jonas Møller
dc8ad7896a Display header line in Helm posframe
But only if helm-echo-input-in-header-line is set to true.
2020-01-22 12:06:29 +01:00
Jonas Møller
73ad5ddc83 Fixes #2397 2020-01-22 12:06:02 +01:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
b5a279311c
Fix #2317: helm-mode-handle-completion-in-region = t
It turns out that helm can handle completing ex constructs (e.g. globs),
so this setting is no longer needed.
2020-01-07 00:14:46 -05:00
Henrik Lissner
b144a3862a
Bind 'SPC h d S' to text search; expand ivy/helm file-search API 2019-12-23 01:51:43 -05:00
Henrik Lissner
e6de13b4c9
Treat +ivy/project-search & +default/project-search as counsel-rg
This gives the former commands access to any actions (on C-o) or counsel
configuration meant for counsel-rg.
2019-12-17 23:31:10 -05:00
Henrik Lissner
996188250b
Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
Henrik Lissner
1a4add4630
ivy-height = 20 for swiper-isearch helm users 2019-12-05 16:11:19 -05:00
Henrik Lissner
c1e3e3cc04
Fix helm-project-* override advice 2019-12-05 16:10:57 -05:00
Henrik Lissner
6facc534ce
completion/helm: replace helm-ag with helm-rg 2019-12-05 16:10:46 -05:00
Henrik Lissner
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
Henrik Lissner
fd979d8e52
completion/helm: fix void variable refs #2071 2019-11-18 14:17:48 -05:00
Henrik Lissner
c44185168d
completion/helm: remove +helm-project-search-engines
No longer used as of a66872fe2
2019-11-17 23:57:45 -05:00
Henrik Lissner
dca4ff7887
completion/helm: remove redundant package cookies 2019-11-17 23:43:41 -05:00
Henrik Lissner
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
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
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
Henrik Lissner
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
Henrik Lissner
ad1a7fd1ad
completion/helm: conditionally install helm-org 2019-09-29 02:00:47 -04:00
Henrik Lissner
3a026c0a8c
completion/helm: fix void-variable helm-completing-read-handlers-alist error 2019-09-29 01:58:22 -04:00
Henrik Lissner
a8e7c4fd45
Move helm-org config to completion/helm 2019-09-28 23:08:44 -04:00
Henrik Lissner
19ef103392
completion/helm: add mdfind support to helm-locate 2019-09-22 13:33:26 -04:00
Henrik Lissner
f4d17707e7
config/default: bind SPC f l to locate
This will be remapped to counsel-locate or helm-locate if the ivy/helm
modules are enabled.
2019-09-22 12:09:51 -04:00
Henrik Lissner
6bd2eaf2c8
completion/helm: remove obsolete advice
Doesn't appear to be needed anymore.
2019-08-22 18:56:25 -04:00
Henrik Lissner
6a67572e1d
Fix 'no such live buffer' errors from helm +childframe 2019-08-22 18:54:30 -04:00
Henrik Lissner
40eb9cf17e
Replace helm-projectile-* commands with +helm/* #1589 2019-07-29 21:23:51 +02:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
b90dede1ab
💥 Replace package.el/quelpa with straight #374
There are a few kinks to iron out, but for the most part it's done. Doom
Emacs, powered by straight. Goodbye gnutls and elpa/quelpa issues.

This update doesn't come with rollback or lockfile support yet, but I
will eventually include one with Doom, and packages will be (by default,
anyway) updated in sync with Doom.

Relevant threads: #1577 #1566 #1473
2019-07-22 02:30:40 +02:00
Henrik Lissner
149b2617b0
💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
Henrik Lissner
51d3b1b424
💥 revise advice naming convention (1/2)
This is first of three big naming convention updates that have been a
long time coming. With 2.1 on the horizon, all the breaking updates will
batched together in preparation for the long haul.

In this commit, we do away with the asterix to communicate that a
function is an advice function, and we replace it with the '-a' suffix.
e.g.

  doom*shut-up -> doom-shut-up-a
  doom*recenter -> doom-recenter-a
  +evil*static-reindent -> +evil--static-reindent-a

The rationale behind this change is:

1. Elisp's own formatting/indenting tools would occasionally struggle
   with | and * (particularly pp and cl-prettyprint). They have no
   problem with / and :, fortunately.
2. External syntax highlighters (like pygmentize, discord markdown or
   github markdown) struggle with it, sometimes refusing to highlight
   code beyond these symbols.
3. * and | are less expressive than - and -- in communicating the
   intended visibility, versatility and stability of a function.
4. It complicated the regexps we must use to search for them.
5. They were arbitrary and over-complicated to begin with, decided
   on haphazardly way back when Doom was simply "my private config".

Anyhow, like how predicate functions have the -p suffix, we'll adopt the
-a suffix for advice functions, -h for hook functions and -fn for
variable functions.

Other noteable changes:
- Replaces advice-{add,remove}! macro with new def-advice!
  macro. The old pair weren't as useful. The new def-advice! saves on a
  lot of space.
- Removed "stage" assertions to make sure you were using the right
  macros in the right place. Turned out to not be necessary, we'll
  employ better checks later.
2019-07-22 02:27:45 +02:00
Henrik Lissner
750f45328a
Mark helm/ivy search engine autoloads interactive
Otherwise they don't show up in M-x
2019-07-02 23:17:19 +02:00
Henrik Lissner
9d5e8fdda4
completion/helm: use ;;;###package cookies 2019-05-20 21:09:11 -04:00
Henrik Lissner
a7069b93f2
Remove vestigial imenu-anywhere remappings 2019-05-20 21:09:10 -04:00
Henrik Lissner
a4c5396558
Add better-jumper
Replaces evil's jumplist; makes its functionality available for non evil
users.
2019-04-24 18:16:04 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00