Commit Graph

8510 Commits

Author SHA1 Message Date
syl20bnr 4ecd015fe8 core: process all post-init function after all the init functions
With this commit, the new loading order for package configuration is:
- pre-init functions for all packages
- init function of all packages
- post-init functions for all packages
2018-01-11 23:52:18 -05:00
syl20bnr 80a10f79db core: fix alphabetical order of package configuration loading
It was reversed in commit e9fb5285f4
2018-01-11 10:43:44 -05:00
Lixin Chin 34a0eb2463 rtags: only activate rtags keybindings when rtags-mode is active
The keybindings to `rtags-select-other-window', `rtags-select' and
`rtags-bury-or-delete' should only take effect when `rtags-mode-map' is
active, instead of being activate for every buffer in evil normal state.
2018-01-11 00:16:08 -05:00
syl20bnr dbf1deaa4c c-c++: make it depends on gtags layer only if rtags are enabled 2018-01-11 00:02:02 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
syl20bnr 6cd0cc31fc git: move evil-magit use-package hook declaration to pre-init 2018-01-10 23:33:15 -05:00
syl20bnr e9fb5285f4 core: execute all pre-init function before init and post-init
Fixes loading order issues when declaring use-package hooks.

Fixes #9979
2018-01-10 23:33:15 -05:00
syl20bnr 42adde95ec git: remove old evilification of magit buffers 2018-01-10 23:33:03 -05:00
syl20bnr 269c385560 git: add use-package for defered loading of evil-magit 2018-01-10 23:32:49 -05:00
Muneeb Shaikh 4a34ef4673 git: toggle evil-magit based on editing style
Fix #10078
Fix #10054
2018-01-10 22:21:38 -05:00
syl20bnr 014ed73109 ivy: change layer variable name for ivy-rich and add doc 2018-01-10 22:19:04 -05:00
Alejandro Catalina 43b35d5f05 Make ivy-rich a variable that controls whether to install it or not. 2018-01-10 22:10:26 -05:00
Miciah Masters 64c212941e Fix errors in rcirc and slack layers
Fix errors that were introduced into the rcirc and slack layers by
commit fea035f413.

Change the header for the slack layer's funcs.el to refer to the correct
layer.

Change the custom layout definition for rcirc to use the correct name
and binding for the layout and the correct invocation for rcirc.
2018-01-10 22:09:47 -05:00
duianto ed0dfb73d0 Update Auto-completion docs, removed binding C-f
The `C-f` binding was removed by this PR:
Remove mapping <c-f> to select the frist completion. #10039
2018-01-10 22:07:50 -05:00
Alexander Miller 76b390c15e treemacs: only activate extended git-mode when python3 is installed. 2018-01-10 22:06:54 -05:00
William Casarin 43143a1fa1 notmuch: fix notmuch layer
Was broken during refactor
2018-01-10 13:23:06 -08:00
syl20bnr 3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
syl20bnr 6438d986ab core: update quelpa library 2018-01-10 10:38:33 -05:00
Igor Avdeev 709782bdc1 Fix handling of windows paths of package archives
- the configuration-layer//resolve-package-archives function was adding
  extra `http://` for windows paths
2018-01-10 00:13:01 -05:00
Profpatsch f74e25467e layers/+os/nixos: disable electric-indent-mode
Electric indent mode doesn’t play well with the nix-mode indent function, so we
disable it.
2018-01-10 00:12:04 -05:00
seemyvest 6da75c4055 Rust: Fix cargo-process-current-test keybinding, update documentation 2018-01-09 23:58:07 -05:00
Pierre Radermecker 59f78d8700 Update hindent config in haskell layer
Hindent styling is a deprecated feature (with no more effect).
Use a simple bool toggle to activate it.

Update README
2018-01-09 23:55:49 -05:00
Chao Shen 031aaa164e Remove mapping <c-f> to select the frist completion. 2018-01-09 23:52:40 -05:00
Richard Kim b57789176c fix cut-and-paste error by using correct function name
Use google-make-newline-indent rather than google-set-c-style.
2018-01-09 23:44:43 -05:00
Muneeb Shaikh 443c6bd80d sml: lazy load sml lang for org-babel
Fix #9979
2018-01-09 23:43:42 -05:00
Benno Fünfstück 9db765a25e major-modes: comment out removed wolfram-mode package 2018-01-09 23:41:15 -05:00
Daniel Hodson 3342532f9c Update guidance on using external Git repository
Changed the wording to something that flows better.
2018-01-09 23:37:44 -05:00
Daniel Hodson 8a8e726561 Fix capitalization of changes
Update capitalization as per feedback.
2018-01-09 23:37:44 -05:00
Daniel Hodson f99dcfc985 Update DOCUMENTATION.org
Delete erroneous blank space in screenshots section.
2018-01-09 23:37:44 -05:00
Daniel Hodson bf0cabb356 Update wording in DOCUMENTATION.org for readability and consistency. 2018-01-09 23:37:44 -05:00
Alexander Miller a23ab04926 treemacs: adapt config to new treemacs-git-mode feature. 2018-01-09 23:36:35 -05:00
syl20bnr da1331870a csharp: sort key bindings 2018-01-09 23:26:08 -05:00
Saulius Menkevičius ba0cebec88 csharp: add keybinding for omnisharp-solution-errors 2018-01-09 23:25:24 -05:00
duianto 3dba3f6794 Add switch-to-help-buffer function and keybinding
`SPC b H` is available, for opening or selecting the help buffer (if it
exists). This makes it much easier to open the help buffer, than having
to open the buffer list (`SPC b b`), then typing one or more characters,
to select the help buffer, and finally pressing `RET`.
2018-01-09 23:19:57 -05:00
Piotr Grzesik dea1e9b468 Add section about configuring indentation via javascript layer configuration 2018-01-09 23:19:57 -05:00
syl20bnr 0ccc0067c7 helm: minor formating edit 2018-01-09 23:19:57 -05:00
Nir Friedman 4e7147375d Add better helm default multi action for files/buffers 2018-01-09 23:09:21 -05:00
Benjamin Hipple a08fe56671 autocomplete: Make idle-delay configurable
Adds an autocomplete-idle-delay layer variable that gets passed to company-idle-delay
or ac-delay.
2018-01-09 23:04:33 -05:00
syl20bnr fea035f413 Make custom layout configs consistent
Use a use-package hook and avoid using lambdas.
Use same naming for all config.
2018-01-09 23:01:34 -05:00
Miciah Masters effdb177de notmuch: Add custom layout for notmuch buffers
Define a new custom layout named "@Notmuch" with binding "n" for notmuch
buffers.  The custom layout's name can be customized using the new
notmuch-spacemacs-layout-name variable. The custom layout's binding can
be customized using the new notmuch-spacemacs-layout-binding variable.
2018-01-09 22:41:13 -05:00
Leonard Lausen ce18e8cbb8 Use helm-spotify-plus instead of helm-spotify
helm-spotify doesn't work anymore due to changes to the spotify web API
2018-01-09 01:34:31 -05:00
syl20bnr 454b58703b docker: update key bindings in README.org 2018-01-09 01:30:07 -05:00
Ag Ibragimov 956ef78ab2 Moves Docker keybingings onto `SPC a D`
For consistency with other tools
2018-01-09 01:29:34 -05:00
Miciah Masters 8985806943 notmuch: Fix typo ":reuiqres" in notmuch-packages 2018-01-09 01:29:09 -05:00
Diego Berrocal 266322349e Move the key definition to the config hook of gh-pulls 2018-01-09 01:28:54 -05:00
Diego Berrocal f8ecf0cb1b Add null-check for filename before calling file-name-extension func 2018-01-08 02:11:19 -05:00
oisincar 911544759f Fix #10091, which-key interface delay/ lag.
A fix for #10091. The default behavour for which-key is for
'which-key-idle-delay' to affect both the initial trigger and subsequent
actions. By setting 'which-key-idle-secondary-delay' to something non-nil,
that delay acts over the subsequent actions instead.

The which-key wiki recommends setting it to a 'non-zero value', as zero could
cause issues, so instead set it to 0.01.
2018-01-08 02:04:19 -05:00
Miciah Masters ea6c2657b8 core: Fix unescaped character literals
Escape left and right bracket character literals to avoid the following
warning:

    Loading ‘core-dotspacemacs’: unescaped character literals `?[', `?]' detected!
2018-01-08 01:49:28 -05:00
Miciah Masters 2245b73db7 core: Fix lambda quoted with '
Delete the quote preceding the lambda in spacemacs|add-toggle to avoid
the following warning:

    .emacs.d/core/core-toggle.el: (lambda (x) ...) quoted with ' rather than with #'

While #' would be more correct than ', there is no need to quote the
lambda at all.
2018-01-08 01:48:51 -05:00
Miciah Masters fac28d170d org: Delete duplicate defmacro for org-emphasize
Delete the duplicate definition of the spacemacs|org-emphasize macro.
Commit 8b0c69c8cd added the duplicate.
2018-01-08 01:48:04 -05:00