Commit graph

3225 commits

Author SHA1 Message Date
Codruț Constantin Gușoi 53288bf357 Disable nameless by default 2018-01-12 00:35:37 -05:00
syl20bnr a131c89909 core: add support for mode-line themes
New layer variable `dotspacemacs-mode-line-themes`:

Set the theme for the Spaceline. Supported themes are `spacemacs',
`all-the-icons', `custom', `vim-powerline' and `vanilla'. The first three
are spaceline themes. `vanilla' is default Emacs mode-line. `custom' is a
user defined themes, refer to the DOCUMENTATION.org for more info on how
to create your own spaceline theme."

See DOCUMENTATION.org changes for more info.

This commit adds support for `spaceline-all-the-icons` package.
2018-01-11 23:53: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 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
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
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 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
smile13241324 51cfa948b1 Fix doc for nim, fsharp, forth, dash and fasd layer 2018-01-08 01:45:09 -05:00
smile13241324 5e0befba5b Fix doc for terraform, perforce, elfeed and evil-snipe layer 2018-01-08 01:44:19 -05:00
syl20bnr 099872a61a c-c++: fix wrong-type-argument keymapp "q" when rtags support is on 2018-01-08 01:26:28 -05:00
syl20bnr d4b931e935 notmuch: refactor layer
- Make the notmuch layer more idiomatic.
- Move org related stuff to a use-package hook for org.
- Simplify configuration of helm and ivy
- Sort package config
- Move sections in README to avoid repetition of Evilified State sections
- Add docstrings to functions and use // convention for private function names
2018-01-06 23:50:52 -05:00
Francesc Elies Henar 7f95dd3984 [notmuch] interactive search with helm & ivy
closes https://github.com/syl20bnr/spacemacs/issues/10012
2018-01-06 22:54:11 -05:00
Chirantan Ekbote 759a65cb71 Replace counsel--git-dir with (ivy-state-directory ivy-last)
abo-abo/swiper@4f57b5a9 removed the counsel--git-dir variable.  Code
that used that variable is now expected to use (ivy-state-directory
ivy-last) instead.  Update the code to reflect this change.

Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
2018-01-06 22:49:03 -05:00
Tomasz Kołodziejski 79b33ad9a9 Rotate ivy re builders rather than toggle
Fixes #10008
2018-01-06 22:46:27 -05:00
Nikita Leshenko d0089a23de ivy: spacemacs-help: Fix candidate layers with no packages
When a layer doesn't have a package, its name was added to the candidate list as
a symbol instead of a string, breaking actions such as
layer-action-open-packages which expect a string.
2018-01-06 22:29:15 -05:00
syl20bnr 70925f3fba ivy: sort packages 2018-01-06 21:44:58 -05:00