Commit graph

10 commits

Author SHA1 Message Date
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