Commit Graph

27 Commits

Author SHA1 Message Date
Henrik Lissner
b72764c6ea
fixup! Refactor ivy project-search functionality 2018-06-02 20:31:50 +02:00
Henrik Lissner
ded6526eee
completion/ivy: fix void-variable error in +ivy:{pt,grep} 2018-05-17 17:00:20 +02:00
Henrik Lissner
5a746f3da8
completion/ivy: fix wrong number of args error in rg/ag/pt/grep ex commands 2018-03-26 00:29:55 -04:00
Henrik Lissner
9e62898d92
completion/ivy: major refactor of file-search commands 2018-03-26 00:02:22 -04:00
Henrik Lissner
83211cd74c
completion/ivy: fix redundant smart-case flag in ripgrep args 2018-03-25 22:59:49 -04:00
Henrik Lissner
8d72257aa6
completion/ivy: refactor ag/rg/pt/git-grep advice functions
They are no isolated to their evil use cases.
2018-03-18 22:01:18 -04:00
Henrik Lissner
52c24197ba
completion/ivy: add pt file search backend; fix +ivy:grep-cwd autoload 2018-02-19 20:19:12 -05:00
Henrik Lissner
3bc9f4b4fb
completion/ivy: refactor ag/rg file search backends + fix args 2018-02-19 20:18:25 -05:00
Henrik Lissner
20d97ffbaa
completion/ivy: add grep/git-grep integration to evil+ivy (:grep/:grepc[wd]) 2018-02-19 03:11:28 -05:00
Henrik Lissner
a8ab37e5eb
completion/ivy: fix void-variable errors
In case file search used too early.
2018-01-28 22:24:18 -05:00
Henrik Lissner
c6764e0f24
Fix file search opening files from wrong default-directory 2018-01-04 16:16:45 -05:00
Henrik Lissner
85cfcba8ff
completion/ivy: fix :rgcwd not showing any results 2017-12-08 23:14:12 -05:00
Henrik Lissner
5ce249eaec
Fallback engine detection for +ivy file search 2017-11-05 01:16:36 +01:00
Henrik Lissner
6b9849fd57
Add conditional autoload/compile cookies #229 2017-11-05 01:16:35 +01:00
Henrik Lissner
59f39576de
Don't yank line at point for blank project searches 2017-10-04 18:07:49 +02:00
Henrik Lissner
edeea02de3
Refactor +ivy--file-search & +ivy docstrings 2017-07-08 15:03:23 +02:00
Henrik Lissner
f65ae53e2e
ivy: remap apropos; load ivy-mode sooner; refactor 2017-06-09 13:38:54 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
717d0ec06f completion/ivy: revise documentation + slight refactor 2017-05-28 02:48:20 +02:00
Henrik Lissner
877ae26a96 completion/ivy: rewrite file search (:find => :ag/:rg) 2017-05-12 11:50:05 +02:00
Henrik Lissner
bfd79e78ce completion/ivy: fix +ivy/tasks, add :todo & +ivy:todo 2017-05-10 08:39:40 +02:00
Henrik Lissner
57a74b1761 completion/ivy: change +ivy:file-search
+ Removed literal search
+ Only escapes inserted selection
+ BANG now means: don't respect .gitignore
+ rg: use smart-case (-S) instead of case insensitivity (-i)
2017-05-10 05:25:40 +02:00
Henrik Lissner
b632319796 completion/ivy: add docstrings to evil funcs 2017-05-06 22:55:41 +02:00
Henrik Lissner
434a5efeda completion/ivy: switch from ag to ripgrep 2017-05-06 16:45:48 +02:00
Henrik Lissner
0e7254d312 General cleanup + refactor 2017-04-17 02:20:07 -04:00
Henrik Lissner
f9ddc53bfc completion/ivy: escape regexp for literal ag searches 2017-04-11 09:25:04 -04:00
Henrik Lissner
5c13f2eced Update modules/completion/ivy 2017-02-20 00:26:08 -05:00