Commit Graph

86 Commits

Author SHA1 Message Date
Henrik Lissner
edeea02de3
Refactor +ivy--file-search & +ivy docstrings 2017-07-08 15:03:23 +02:00
Henrik Lissner
ddfcf11819
Remove current buffer from +ivy/switch-buffer #144 2017-07-08 13:42:21 +02:00
Henrik Lissner
32069eefd3
Add sharp-quote to function symbols 2017-07-07 14:44:49 +02:00
Henrik Lissner
0f76a2bc3d
completion/ivy: remove s.el dependency 2017-07-07 14:44:32 +02:00
Henrik Lissner
1fe1758335
Ensure idempotent company-dict init 2017-06-30 03:19:09 +02:00
Henrik Lissner
3801da0db1
Add company-(dabbrev|ispell) to default backends
Partially addresses #134
2017-06-30 03:18:31 +02:00
Henrik Lissner
0b3db8fcdd
Add completion/company test 2017-06-28 23:36:18 +02:00
Henrik Lissner
0a34d8627e
Fix duplicate backends by :company-backend #135 2017-06-28 23:10:53 +02:00
Henrik Lissner
451f2d6301
Ensure idempotence when setting company-transformers 2017-06-28 16:29:10 +02:00
Henrik Lissner
a7dc91e7bf
Improve :company-backend setting according to #125
(set! :company-backend MODES &rest BACKENDS)
2017-06-28 12:26:49 +02:00
Henrik Lissner
822c78554f
destructuring-bind => cl-destructuring-bind 2017-06-25 02:04:50 +02:00
Henrik Lissner
18ad96d156
Fix :company-backend 2017-06-24 16:43:39 +02:00
Henrik Lissner
c8757b85f7 Fix :company-backend not overwriting past settings
In case you want to alter a mode's company-backend later or in a private
module.
2017-06-24 02:25:15 +02:00
Henrik Lissner
14e69ca830
Fix max-lisp-eval-depth in :company-backend #115
Mode was inadvertantly run like a function in the :company-backend
setting macro.
2017-06-19 12:08:38 +02:00
Henrik Lissner
928812da8a
Make def-setting! behave more like defmacro
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.

Fixes #112
2017-06-19 00:32:44 +02:00
Henrik Lissner
9ccffc718e
Fix +ivy/switch-buffer when buffer-list is empty 2017-06-16 02:10:33 +02:00
Henrik Lissner
4984a548d1
Refactor DOOM init & add new init hooks
+ Add doom-init-hook and doom-post-init-hook to simplify Emacs init
  hooks into less ambiguous ones.
+ Attach former after-init-hook and emacs-startup-hook hooks to new doom
  init hooks.
+ Vastly improves daemon and tty support: preventing incorrect colors
  from bleeding across face class barriers, and into GUI Emacs and vice
  versa, when spawned with emacsclient.
+ Fix persp-mode breaking Emacs daemon, and ensuring that initialization
  is done properly in terminal Emacs (and emacsclient frames).
2017-06-12 00:37:14 +02:00
Henrik Lissner
bab738c56c
Move helm popup settings to core-popups 2017-06-10 01:53:51 +02:00
Henrik Lissner
e7b08082fd
Remove unused/redundant ivy bindings 2017-06-09 19:44:41 +02:00
Henrik Lissner
0bc182ef1a
Refactor helm config; fix remaps; move personal binds 2017-06-09 19:44:02 +02:00
Henrik Lissner
a0a7f3ec42
Fix helm-swoop 2017-06-09 15:40:32 +02:00
Henrik Lissner
f65ae53e2e
ivy: remap apropos; load ivy-mode sooner; refactor 2017-06-09 13:38:54 +02:00
Henrik Lissner
e8e9f7683a
Update completion/helm 2017-06-09 13:37:07 +02:00
Henrik Lissner
102c7df400
Fix #100: void variables in +ivy--get-buffers 2017-06-09 13:16:30 +02:00
Henrik Lissner
9b47d987aa
Add +company/dabbrev-code-previous 2017-06-09 01:09:20 +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
117e55f0c2 General cleanup + refactor 2017-05-29 01:05:34 +02:00
Henrik Lissner
fbe782df22 Heavily redesign keybinding design
+ SPC and SPC m as leader/localleader (spacemacs-ey)
+ Move all custom keybindings to private +bindings.el file
+ Redesign+rearrange keybindings
2017-05-28 02:48:20 +02:00
Henrik Lissner
717d0ec06f completion/ivy: revise documentation + slight refactor 2017-05-28 02:48:20 +02:00
Henrik Lissner
41a288d21d Refactor minibuffer bindings
+ conform their function names to naming conventions
+ place ivy-specific version in ivy autoloads
2017-05-26 20:22:45 +02:00
Henrik Lissner
10ea06b661 General cleanup + refactor 2017-05-25 20:12:43 +02:00
Henrik Lissner
e1f60b2bfd Update READMEs & add new ones 2017-05-25 20:09:12 +02:00
Henrik Lissner
99bf1c04fb Don't let derived modes inherit company backends 2017-05-23 21:19:15 +02:00
Henrik Lissner
5c34732266 +ivy/tasks: ag as a fallback 2017-05-20 18:40:13 +02:00
Bryan Gilbert
7ec980cb97 disable ivy magic slash non-match action 2017-05-19 05:45:11 -04:00
Henrik Lissner
7f385e6d6e private/hlissner: add q/Q help-mode-map bindings 2017-05-17 21:07:01 +02:00
Henrik Lissner
aeb2f23a3e completion/ivy: remove unused +ivy/kill-ring
It was also redundant with counsel-yank-pop
2017-05-16 18:05:39 +02:00
Henrik Lissner
dbceec4149 Refactor + rearrange popup rules 2017-05-15 20:26:33 +02:00
Henrik Lissner
28ba0607a5 completion/ivy: fix M-RET opening result in other-window 2017-05-14 17:40:33 +02:00
Henrik Lissner
6f6680489a completion/ivy: flexible column width for +ivy/tasks 2017-05-14 13:49:11 +02:00
Henrik Lissner
877ae26a96 completion/ivy: rewrite file search (:find => :ag/:rg) 2017-05-12 11:50:05 +02:00
Henrik Lissner
3f5f6752a2 completion/ivy: tweak README.org (again) 2017-05-10 14:25:24 +02:00
Henrik Lissner
08052b0db0 completion/ivy: tweak README.org 2017-05-10 14:20:05 +02:00
Henrik Lissner
7a939a945b Add compltion/ivy/README.org 2017-05-10 14:14:10 +02:00
Henrik Lissner
7310459f76 completion/ivy: adjust ivy & ivy-occur window heights 2017-05-10 14:05:52 +02:00
Henrik Lissner
d99519d077 completion/ivy: fewer false positives with +ivy/tasks 2017-05-10 14:05:09 +02:00
Henrik Lissner
2a6295a123 completion/ivy: refactor for consistency 2017-05-10 08:40:02 +02:00
Henrik Lissner
bfd79e78ce completion/ivy: fix +ivy/tasks, add :todo & +ivy:todo 2017-05-10 08:39:40 +02:00
Henrik Lissner
e265431507 General refactor, cleanup & commenting 2017-05-10 05:28:50 +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