Commit Graph

3800 Commits

Author SHA1 Message Date
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
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
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
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
Henrik Lissner
ab4052b8dc
Refactor completion/ivy & optimize projectile-find-file
counsel-projectile-find-file fontifies visited files and sorts the
resulting file list from projectile-find-file, adding considerable
overhead. Then, ivy-prescient performs a frecency sort and filter,
adding more overhead.

Altogether, this makes projectile-find-file unusable for larger projects
when fuzzy search is on (and in some extreme cases, when it's off). This
change disables both features specifically for projectile-find-file.

Fixes #774, hopefully
2018-08-03 16:35:42 +02:00
Henrik Lissner
3673067736
Fix projectile-find-file locking up Emacs
This occurs when invoking it from the root of massive file trees, like
$HOME or certain non-project folders. It's better that it defer to a
different command altogether (counsel-find-file) if invoked from $HOME,
and counsel-file-jump from anywhere else, which offers approximately
what we want, but at a fraction of the performance cost in those cases.
2018-08-03 16:10:20 +02:00
Henrik Lissner
31c8c0c033
lang/cc: rewrite C/C++/OBJC header file detection 2018-08-03 03:41:31 +02:00
Henrik Lissner
639349d0ed
feature/spellcheck: add hunspell/aspell support 2018-08-02 21:44:09 +02:00
Henrik Lissner
5772ace0ff
Update +spellcheck-immediately docstring
It won't work on LaTeX-mode-hook because flyspell-mode is added to
TeX-mode-hook, which runs before the former.
2018-08-02 16:46:04 +02:00
Henrik Lissner
5f1618e7a1
feature/spellcheck: minor reformatting 2018-08-02 16:40:47 +02:00
Henrik Lissner
7c4a353228
lang/latex: remove redundant visual-line-mode hook 2018-08-02 16:32:39 +02:00
Henrik Lissner
128eb611e0
lang/latex: remove +preview-pane flag
Reported by @UndeadKernel
2018-08-02 16:15:10 +02:00
Henrik Lissner
14816ef173
lang/latex: fix detection for other viewers
Incorrect use of cl-block/cl-return meant latex-preview-pane would
always be used as the default pdf viewer.

Reported by @UndeadKernel
2018-08-02 16:12:53 +02:00
Henrik Lissner
cf4ea445a1
lang/latex: don't reverse +latex-viewers
This incorrectly reversed the priority ordering of +latex-viewers. This
is an artifact from a rejected approach at short-circuiting
+latex-viewer, which was replaced with cl-block->cl-return.

Reported by @UndeadKernel
2018-08-02 15:48:32 +02:00
Henrik Lissner
0b8f3e29d5
Remove rg/pt ivy-re-builders-alist entries
Both counsel-(rg|pt) identify themselves as counsel-ag, so these extra
entries are necessary.
2018-08-02 03:51:15 +02:00
Henrik Lissner
4731f82766
ui/modeline: disable no-checker flycheck indicator 2018-08-02 03:50:51 +02:00
Henrik Lissner
cfebed96db
lang/cc: cull unnecessary def-package! blocks
rtags loads these packages for us, so long as
rtags-display-result-backend is properly set.
2018-08-02 03:47:29 +02:00
Henrik Lissner
d2ecd87739
Fix ivy completion when treemacs is open
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
Henrik Lissner
baf400b736
completion/ivy: add ivy-prescient #774
Better fuzzy support versus flx; hopefully faster. Also brings frecency
sorting to ivy commands.
2018-08-02 01:53:29 +02:00
Henrik Lissner
59bc7653d5
completion/ivy: remove flx #774
flx is much too slow with large lists of candidates (i.e.
counsel-projectile-find-file).
2018-08-02 00:29:26 +02:00
Henrik Lissner
a18541851e
lang/python/doctor: check pyenv, conda & ipython 2018-08-02 00:13:00 +02:00
Henrik Lissner
9b11f8e76d
lang/python: remove +python-conda-env (unused) 2018-08-01 22:32:29 +02:00
Henrik Lissner
7ffa3c8d8d
lang/python: register ANACONDA_HOME envvar 2018-08-01 22:30:30 +02:00
Henrik Lissner
e053234992
lang/python: fix anaconda ignoring conda envs 2018-08-01 22:29:51 +02:00