Commit graph

27 commits

Author SHA1 Message Date
justbur
d9cf37e4e7 auto-complete: Better binding for hippie-expand
Using a remap is better, because it will "automatically toggle" the key
binding if hybrid-mode is toggled.

The previous version just disabled the key binding completely if someone
used hybrid style.
2016-02-01 15:32:59 +01:00
Muneeb Shaikh
7863cf1613 Enable C-p - hippie-expand only in vim style 2016-02-01 16:19:37 +05:30
Jean-Alexandre Peyroux
9449798bfa Fix code examples in auto-completion layer 2016-01-22 15:46:54 +01:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
justbur
b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
Ken Wu
6480d755ad Don't enter evil-insert-state for holy-mode after aya-expand
Key binding "SPC i S e" enters evil insert state afterwards, it's
pretty annoying if you are using emacs editing style.
2016-01-08 23:08:19 -05:00
syl20bnr
bd9ad83f4b yasnippet: add support for dotspacemacs directory
as well as a minor refactoring for the definition of yas-snippets-dirs

Fixes #4502
2016-01-08 22:05:09 -05:00
Eivind Fonn
83f18ae538 Document auto-completion key sequence delay var 2016-01-08 21:29:58 +01:00
MadAnd
f6b981b329 auto-completion: make key seq timeout configurable 2016-01-08 21:24:49 +01:00
syl20bnr
da94a257d9 auto-completion: refactor yasnippet config
- Move all setq outside of spacemacs/load-yasnippet
- Explicitly add each snippet dirs, even the one in elpa dir

Before this commit I still get error on yasnippet loading, with this
commit the error is gone.

I hope we get yasnippet loading right this time! :-)
2016-01-07 00:14:32 -05:00
Eivind Fonn
0a1b6f5690 Some yasnippet loading tweaks
- Don't enable yasnippet before setting folders (avoid explicitly
  loading them)
- Require yasnippet manually to get the yas-snippet-dirs value
- Don't include yas--default-user-snippet-dir (this is
  ~/.emacs.d/snippets)
- Allow `auto-completion-private-snippets-directory` to also be a list
  of directories
2016-01-06 23:37:25 -05:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Eivind Fonn
c3225ad788 Fix smartparens workaround in auto-completion 2015-12-03 23:58:44 -05:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn
c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Eivind Fonn
ee2442d8ce Fix snippet prompt on multiple valid keys (#1922) 2015-11-08 22:14:42 +01:00
Eivind Fonn
89a5abac29 Clean up aya-persist-snippets-dir setting 2015-11-06 15:18:00 +01:00
Taian Su
3c32938f5c aya-persist-snippets-dir should reference the configuration-layer-private-directory 2015-11-06 15:16:22 +01:00
Eivind Fonn
13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Eivind Fonn
cd7bf33278 Fix yas-snippet-dirs setup
Fixes #3572
2015-10-27 23:37:20 +01:00
Eivind Fonn
e72dd8a87d Don't define C-/ in company-mode-map 2015-10-12 17:52:10 +02:00
Eivind Fonn
df1cabe62f auto-completion: Remove outdated mention of C-/ 2015-10-11 10:34:31 +02:00
Eivind Fonn
cd702e0fd7 auto-completion: Add helm-company 2015-10-10 23:47:46 -04:00
person808
c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
syl20bnr
383b1bec20 Update dotspacemacs/config and dotspacemacs/init occurrences 2015-09-28 02:05:18 -04:00
Eivind Fonn
0f1b573e7e Fix #3015 (void function)
company-mode/more-than-prefix-guesser is only defined if the c-c++ layer
is used and clang support is enabled.
2015-09-13 23:12:23 +02:00
syl20bnr
6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00