Commit graph

7431 commits

Author SHA1 Message Date
Henrik Lissner
c45e563453
Fix advice for `undo-tree-make-history-save-file-name'
Inspired by #786: `:filter-return' expects a function to be given. If neither
"zstd" or "gzip" are found on the executable path, then it gets given nil
instead, which results in sadness when trying to save files.
2018-08-07 03:14:28 +02:00
Henrik Lissner
e266ec9eec
Add company-ispell to default text-mode backends 2018-08-06 23:03:02 +02:00
Henrik Lissner
2a8b3e674a
ui/modeline: refactor focus/unfocus logic
And improves integration with helm
2018-08-06 22:41:44 +02:00
Henrik Lissner
eaaf6751d3
Polish docstring for set-company-backend! 2018-08-06 22:41:44 +02:00
Henrik Lissner
4ab1bbbdba
Fix 'simple mode for +treemacs-use-git-mode
Due to pattern mismatch, 'simple mode was never activated.
2018-08-06 22:41:43 +02:00
Henrik Lissner
1d7f141e3d
Merge pull request #784 from duog/pr/fix-helm-execute-persistent-action
fix helm execute persistent action
2018-08-06 22:41:26 +02:00
Douglas Wilson
fd13df48a5 Fix helm-execute-persistent-action
With (helm +childframe) in doom! section, without this patch
execute-persistent-action opens an extra non-child frame. This
doesn't play nicely with my tiling window manager.

This patch is taken from helm-posframe, and seems to fix it.
2018-08-07 08:31:50 +12:00
Henrik Lissner
d5363a5a2e
Fix recursive helm error in helm-buffers-list 2018-08-06 11:56:50 +02:00
Henrik Lissner
d01926a7c3
Fix void-function treemacs--is-visible? error 2018-08-06 11:18:26 +02:00
Henrik Lissner
2aaea3a0d5
Use helpful for helm-apropos 2018-08-06 00:31:24 +02:00
Henrik Lissner
b56404f0ce
Correct docstring for +helm-project-search-engines
Re:git-grep/grep fallback
2018-08-06 00:31:24 +02:00
Henrik Lissner
bd0b7d2341
Remove wgrep from completion/helm (unused package) 2018-08-06 00:31:24 +02:00
Henrik Lissner
d04efc9774
helm-imenu: don't autojump to symbol at point 2018-08-06 00:31:23 +02:00
Henrik Lissner
a01aeb6daf
Make helm the default completion module for Doom
It's been a change a long time coming. Ivy's snappiness and simple API
was Ivy's selling point (as far as Doom is concerned). It helps that
much of helm's vast featureset has been ported over and its API is so
much simpler to grok, but its greatest weakness lies in its choice of
display mechanism: the minibuffer.

Ivy's performance suffers dramatically with large datasets because
mutating results in the minibuffer blocks the minibuffer, which also
happens to be where we type in our queries. This can make input feel
dreadfully sluggish in the best cases, locking up Emacs entirely in the
worst.

Helm updates a buffer asynchronously, so it suffers none of this (though
the overhead of maintaining this buffer is certainly overkill for tiny
datasets).

And Ivy's simple API, while easier to understand, is significantly less
powerful. That it takes so much effort to grok Helm is a huge turn
off (and of course, no fault of the dev). Still, there simply is no
excuse for power users like myself to not do so anyway. The more I learn
about it, the more I wonder why I stuck to ivy for so long (but also
reminds me exactly why I did)!
2018-08-06 00:31:23 +02:00
Henrik Lissner
9c11ee9eef
Fix workspace-restricted helm-buffers-list
Now SPC b b and SPC b B can both enjoy the power of helm-buffers-list,
while the former is restricted to the buffers in the current workspace.
2018-08-06 00:31:23 +02:00
Henrik Lissner
e05f3ec739
Add python & enh-ruby support to hes-mode 2018-08-06 00:31:23 +02:00
Henrik Lissner
8d26879f99
Add :editor multiple-cursors module
Moves evil-mc/evil-multiedit out of feature/evil.
2018-08-06 00:31:23 +02:00
Henrik Lissner
4dc5ef3879
Add highlight-escape-sequences 2018-08-06 00:31:23 +02:00
Henrik Lissner
0cfd35cfc0
Refactor how helm mode-line is hidden 2018-08-06 00:31:22 +02:00
Henrik Lissner
41697e4e6e
Move helm posframe up slightly
And display input line in posframe.
2018-08-06 00:31:22 +02:00
Henrik Lissner
ca6afcf3c7
Add +helm-posframe-border-width option
Controls posframe's internal-border-width
2018-08-06 00:31:18 +02:00
Henrik Lissner
a9357bb467
completion/helm: use hide-mode-line-mode 2018-08-05 00:39:54 +02:00
Henrik Lissner
860dff3e63
completion/helm: refactor posframe config 2018-08-05 00:39:54 +02:00
Henrik Lissner
7f5e778b0c
Replace helm-swoop with swiper-helm
Swiper is superior. The downside is it pulls in ivy as a dependency, but
that is acceptable considering how small it is.
2018-08-04 19:54:54 +02:00
Henrik Lissner
b180aceaa8
completion/helm: fix 'n refactor +fuzzy flag
Didn't properly disable fuzzy search when +fuzzy flag was absent.
2018-08-04 18:42:38 +02:00
Henrik Lissner
c1e2919294
completion/helm: set default window height = 22%
A little smaller than the default
2018-08-04 18:42:29 +02:00
Henrik Lissner
44472d3ee8
lang/org: use unicode separator for eldoc 2018-08-04 18:24:54 +02:00
Henrik Lissner
d504c4bafe
lang/org: respect inherited foreground in eldoc 2018-08-04 18:23:53 +02:00
Henrik Lissner
552b8b50c0
lang/python: pyvenv-mode -> pyvenv #777
Fixed incorrect package name.
2018-08-04 16:34:01 +02:00
Henrik Lissner
2c956593cf
completion/helm: don't index HOME
Invoke helm-find-files instead
2018-08-04 16:00:11 +02:00
Henrik Lissner
9a3e71731c
completion/ivy: bring back flx 2018-08-04 13:47:19 +02:00
Henrik Lissner
fbe4e94fbc
Mention restart when bin/doom is finished
It is preferrable to doom/reload.
2018-08-04 13:44:55 +02:00
Henrik Lissner
fa4b7502c2
lang/cc: add +cc/imenu command
Plus minor reformatting of autoloads file
2018-08-04 13:44:55 +02:00
Henrik Lissner
8248e80570
Improve web-mode + smartparens compatibility
This addresses two edge cases:

1. if web-mode-auto-close-style == 3, <'s behavior may insert an extra
   >
2. Some web-mode engines have pairs that end with smartparens pairs,
   which will result in web-mode inserting its closing pairs _and_
   smartparens inserting its closing pairs; resulting in extra
   characters.

Reported by @ar1a
2018-08-04 13:43:15 +02:00
Henrik Lissner
c4ec1413dc
ui/treemacs: update function name
Due to change upstream
2018-08-04 12:18:54 +02:00
Henrik Lissner
e916a4d6fe
Remove ivy-prescient
Doesn't bring enough to the table, slows down fuzzy searches too much,
and alters the way ivy highlights.
2018-08-04 02:42:32 +02:00
Henrik Lissner
41a641f53b
Disable counsel-projectile-find-file transformer 2018-08-04 02:30:26 +02:00
Henrik Lissner
c878314aa6
Refactor +ivy/projectile-find-file to use counsel
counsel-projectile-find-file has other capabilities (like actions and
sorting). So we conditionally use projectile-find-file only if the
project is large enough to warrant it.
2018-08-04 02:28:45 +02:00
Henrik Lissner
316a9f06b2
completion/company: add company-prescient 2018-08-04 02:14:43 +02:00
Henrik Lissner
4489ce6b81
ui/popup: refactor hacks 2018-08-04 00:00:16 +02:00
Henrik Lissner
1f1f2c3ebf
completion/ivy: fix ivy--regex-fuzzy typos 2018-08-03 21:57:47 +02:00
Henrik Lissner
35b88a597b
Activate ivy-prescient-mode on ivy-mode 2018-08-03 21:40:54 +02:00
Henrik Lissner
4db89a2fb4
Remove treemacs popup hack
Now that it is supported upstream.

Relevant to #766
2018-08-03 19:15:46 +02:00
Henrik Lissner
261aa7c944
Compress/compact undo-tree history (and shut up) 2018-08-03 19:09:06 +02:00
Henrik Lissner
b12944fddb
undo-tree-auto-save-history = t
Persistent undo history is great. I'm hoping that, with
undo-tree-enable-undo-in-region disabled, we can enable this feature
again safely.

Time will tell.
2018-08-03 18:25:24 +02:00
Henrik Lissner
417736ecf6
Move hideshow config from ui/doom->emacs/hideshow 2018-08-03 18:20:27 +02:00
Henrik Lissner
0c36b4450e
lang/ruby: update rspec-mode integration
Prompted by upstream updates.
2018-08-03 18:07:39 +02:00
Henrik Lissner
0b130d7b9a
ui/modeline: fix spacing issues with flycheck/vc 2018-08-03 18:07:06 +02:00
Henrik Lissner
76868fe48d
ui/modeline: allow more options for bar 2018-08-03 18:06:44 +02:00
Henrik Lissner
50a82e72f6
ui/doom: enable solaire-mode in doom-tomorrow-night 2018-08-03 16:35:42 +02:00