Commit graph

1748 commits

Author SHA1 Message Date
syl20bnr
56ee037cd7 python: prefix functions with spacemacs 2016-06-05 21:53:14 -04:00
Christoph Paulik
9f28409b0c Allow multiple python test runners by using dispatch functions.
This allows python-test-runner to also be a list of either '(nose
pytest) or '(pytest nose) which then calls the correct test runner in
the dispatch functions.
2016-06-05 21:41:23 -04:00
Shahin
cc2a38fc76 Add javascript-standard as a flycheck checker to react-mode
By default the only available checker in `react-mode` is
javascript-eslint. `javascript-standard` is based on `javascript-eslint`
and has some modification on rules. Since it's not defined as a checker
for this mode, it's also impossible to select it in a buffer.
2016-06-05 21:24:42 -04:00
Nikola Henezi
d44a73fe71 Fixing dash layer variable names.
As reported in #5694 dash layer cannot be configured according to the
documentation. This commit fixes that, and allows you to actually define docset
path with `helm-dash-docset-newpath`. It also defines more sensible default for
docset `~/.docsets`, which is the default path for helm-dash.

Fixes #5694
2016-06-05 21:24:28 -04:00
Markus Koller
58bb7d122f spacemacs-base: Always kill buffers with SPC b d
Fixes #4929
2016-06-05 21:22:50 -04:00
syl20bnr
7ca7f2827a scala: change back key bindings to SPC m h
For printing types, those key bindings are standard in spacemacs.
2016-06-05 00:44:51 -04:00
Diego Alvarez
ed1c3d2d35 Using new upstream commands
- Improve copy to clipboard
- changed and added a few commands keymap
2016-06-05 00:38:29 -04:00
Allen Li
d33507f42a Add autoload for orgtbl-mode 2016-06-05 00:36:27 -04:00
bmag
e552921273 ahs-to-iedit: restrict iedit region to ahs range 2016-06-05 00:28:44 -04:00
syl20bnr
f3e50195d7 core: add footer in home buffer 2016-06-05 00:19:18 -04:00
syl20bnr
3130cc6f2e Move slack layer to +chat directory 2016-06-04 00:20:36 -04:00
Andrew Schwartzmeyer
98e6d46ab9 csharp: enable evil-matchit for C-like tags
Such as preprocessor definitions.
2016-06-03 23:40:59 -04:00
d12frosted
815cf8c5d7 add troubleshooting notes for ghc-mod 2016-06-03 23:34:29 -04:00
syl20bnr
dde9eef487 colors: remove colors-enable-rainbow-identifiers and new layer variable colors-colorize-identifiers
You have to replace in your dotfile the layer variable
colors-enable-rainbow-identifiers t
by
colors-colorize-identifiers 'all

color-colorize-identifiers can take 3 values:
- variables -> colorize only variables via color-identifiers mode
- all -> colorize all identifiers
- nil -> no colorisation

New key bindings:

SPC t C a -> colorize all
SPC t C C-a -> colorize all globally

SPC t C v -> colorize variables
SPC t C C-v -> colorize variables globally
2016-06-03 23:29:59 -04:00
ralesi
49fc0d533d Color identifiers mode 2016-06-03 22:29:30 -04:00
syl20bnr
abc9912860 Colors: minor README modification 2016-06-03 22:27:48 -04:00
Curtis Mackie
edd7a501c8 Allow user to enable rainbow-identifiers-mode without making it default
Per syl20bnr's comment on PR 6192, the package should always be
installed with the colors layer, but only hooked into prog-mode when the
variable is active. Renamed the variable
colors-enable-rainbow-identifiers-by-default to clarify this, and
modified the documentation.
2016-06-03 22:24:59 -04:00
syl20bnr
a4db13e3a6 erc: use linum post init and remove weird erc-hook
the usage of undocumented erc-hook is weird, let's see if we need it.
2016-06-03 22:20:30 -04:00
syl20bnr
2262bbc568 slack: various changes
Format the README and change the image
Fix alert config
use linum post config
other changes
2016-06-03 22:18:24 -04:00
Kosta Harlan
35f93610ed Add Slack layer 2016-06-03 21:01:33 -04:00
d12frosted
0a973c0e95 invalidate projectile cache on delete and rename 2016-06-02 23:15:25 -04:00
Stuart Hacking
e34c291f6b Show file name when Spacemacs opens a large file
When Spacemacs encounters a large file it displays a
prompt to open the file literally. However, if the file
is opened as a result of another action (e.g. Visiting a
TAGS table) it might not be obvious which file is triggering
the prompt. This change adds the file name to the prompt.
2016-06-02 23:13:25 -04:00
syl20bnr
f76136c86d Rename dotfile variable to dotspacemacs-visual-line-move-text 2016-06-02 23:09:18 -04:00
Steven Allen
db3e867347 make visual line move configurable 2016-06-02 23:06:03 -04:00
Eivind Fonn
ffd9ffc537 helm-help: pass toggle candidates as list
This ensures that the status is evaluated in the buffer where help was
invoked, rather than in the helm buffer.
2016-06-02 22:47:56 -04:00
syl20bnr
51b413dde0 Diminish evil-mc prefix in mode-line 2016-06-02 22:47:37 -04:00
syl20bnr
c0f19caa5a New local package spacemacs-whitespace-cleanup
Under toggle SPC t W with lighter W
2016-06-02 22:39:41 -04:00
Eivind Fonn
5a4e8a3f01 core: add toggle for whitespace cleanup 2016-06-02 21:02:30 -04:00
syl20bnr
29bae4026a Improve lighter consistency of toggles
Make global and local whitespace mode lighters identical
Add a lighter for fill column indicator
2016-06-02 20:57:15 -04:00
Muneeb Shaikh
7f22bf1fc8 completion/ivy: fix projectile-switch-project-action 2016-06-02 15:44:34 +05:30
syl20bnr
9414a8a393 themes-megapack: darkokai, set mode-line padding to 1 2016-06-01 23:05:40 -04:00
Emil Ekmečić
a2e49d5fa1 Add Darkokai theme to themes-megapack
Add the new Darkokai theme to themes-megapack so it can be used.
Link to the theme: https://github.com/sjrmanning/darkokai.
The theme was added to MELPA today.
2016-06-01 23:02:40 -04:00
syl20bnr
a8faf7e6d8 flyspell: set flyspell-popup delay to 0.8 2016-06-01 23:00:02 -04:00
Uri Sharf
f367c4b5aa spell-checking: new package flyspell-popup 2016-06-01 22:56:13 -04:00
syl20bnr
b809aba5e8 org: fix ox-gfm index generation using a fork
Also simplify the ox-gfm config
2016-06-01 22:37:16 -04:00
syl20bnr
21af800c57 org: simplify ox-gfm config 2016-06-01 22:07:24 -04:00
syl20bnr
bd4508dce0 Cleanup org-reveal config and rename layer variable
Renamed layer variable to fit with the name of other variables
Also remove weird code about toc-org.
2016-06-01 22:05:46 -04:00
Nikola Knezevic
678a2b7945 Add support for org-reveal to org layer
org-reveal is an extension to org mode that allows exporting of org files as
reveal.js presentations. Since not everyone needs this functionality, the
loading of the package is controlled via the `org-enable-reveal-js` switch,
which, if set to `t` would load the package.
2016-06-01 21:49:22 -04:00
Jeff Wu
e9cb18f2f2 Fix javascript layer refactoring documentation 2016-06-01 21:40:12 -04:00
ralesi
bb37cb9b9a ivy: spacemacs-help
* Provide dired functionality for package and layer lists.
2016-06-01 21:38:35 -04:00
d12frosted
d404490ed1 [ivy] add delete and remove file actions 2016-06-01 21:36:45 -04:00
d12frosted
9382e522b4 implement rename and delete file functions 2016-06-01 21:36:36 -04:00
syl20bnr
10864587e9 chinese: simplify youdao-dictionary toggle 2016-06-01 21:33:40 -04:00
zilongshanren
f06129c0f3 add ivy-hydra packages 2016-06-01 21:32:48 -04:00
zilongshanren
79d74fc4c0 fix chinese layer youdao dict 2016-06-01 21:32:48 -04:00
syl20bnr
a2308d9b30 elixir: remove not maintained packages
credo and test results flycheck checkers
2016-06-01 21:25:02 -04:00
syl20bnr
a019d0a15c elixir: don't use flycheck-mode-hook for checkers 2016-06-01 11:28:10 -04:00
syl20bnr
8f45a94095 ivy: perspective -> persp-mode and layout
Fix wrong package name.
Replace `perspective` words by `layout`
2016-05-31 23:39:47 -04:00
ralesi
1ef6f10643 Provide custom actions for ivy and counsel-search 2016-05-31 23:26:21 -04:00
syl20bnr
4dead4cca7 Use use-package hooks for helm and ivy projectile setup
It allows the configuration function for projectile to be agnostic of
other packages.

Also fix wrong `SPC p s` key binding (it is `SPC p p`).
2016-05-31 23:19:54 -04:00
syl20bnr
47988be186 ivy: use :toggle keywork for counsel-projectile 2016-05-31 23:09:55 -04:00
ralesi
0c3ab2f3d1 Use counsel-projectile for projects with ivy. 2016-05-31 23:07:57 -04:00
Jean-Francois Chevrette
e104f49889 Fix typo in layers/+tools/shell/README.org
fix typo
2016-05-31 23:01:51 -04:00
syl20bnr
430a3e4797 fold method: split config and add dot variable to template
Move the evil part to evil config and used :toggle keyword
Also add the variable to the dotfile template
2016-05-31 22:59:39 -04:00
Muneeb Shaikh
371dd85ff2 core: add another code folding method using origami to spacemacs-editing
* layers/+spacemacs/spacemacs-editing/packages.el (spacemacs-editing/init-origami):
  add origami package and initialize it
* core/core-dotspacemacs.el (dotspacemacs-override-evil-folding): new
  variable to allow choosing between different code folding methods.
  Currently supported `evil' and `origami'
2016-05-31 22:46:04 -04:00
Eivind Fonn
845c42d252 core: add predicate function for toggles
Also use output in Spacemacs help sources
2016-05-31 22:33:44 -04:00
Eivind Fonn
62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
Eivind Fonn
6b3e1452cf core: misc. goodies for describe-package
- Use completing-read when called interactively
- Check for string locations in addition to built-in etc.
- Don’t double-princ on/off for toggles
- Bind to SPC hdP
2016-05-31 22:26:59 -04:00
syl20bnr
e825ad9be0 elixir: update doc 2016-05-31 22:23:18 -04:00
syl20bnr
4996f5248c elixir: add flycheck support for test results 2016-05-31 22:15:19 -04:00
syl20bnr
5b97df814e elixir: add flycheck support for credo 2016-05-31 21:51:49 -04:00
syl20bnr
dd572af071 elixir: add flycheck support for mix compile 2016-05-31 21:34:51 -04:00
syl20bnr
8fc53ae311 elixir: fix major mode face in mode-line
when a file is opened.
2016-05-31 20:21:50 -04:00
syl20bnr
5af1e453c6 elixir: fix smartparens setup 2016-05-31 13:49:09 -04:00
Yasuharu Iida
4ef24c27f7 ocaml: Add support for ocamllex , ocamlyacc file. 2016-05-30 21:06:02 -04:00
syl20bnr
fb97b87cc6 Call spacemacs/set-leader-keys-for-major-mode only once 2016-05-30 21:04:04 -04:00
Eivind Fonn
e63478049a shell: fix projectile-multi-term-in-root 2016-05-30 21:02:59 -04:00
syl20bnr
3359efcb8e erc: Quote arguments to with-eval-after-load 2016-05-30 20:58:09 -04:00
Diego Berrocal
a4cd306558 Breaking Bug Fix ERC related errors 2016-05-30 20:58:09 -04:00
Eivind Fonn
92d735483e Revert "agda: fix executable name"
This reverts commit 2477a3bf89.
2016-05-30 15:04:49 +02:00
Eivind Fonn
2477a3bf89 agda: fix executable name 2016-05-30 14:59:42 +02:00
sooheon
06efe3e6ae Typo fix for ipython layer: S-return to s-return
Also add "o" binding in ein:notebooklist-mode-map for ace-buffer-links.
It works just as in the spacemacs buffer.
2016-05-29 23:17:42 -04:00
Julian Ospald
d320d1af4b Fix proposed ghc-mod workaround in haskell layer README
"m" is extraneous.

Also see #4770 and #4790
2016-05-29 23:14:24 -04:00
JP-Ellis
e49c41adf9 Add make-frame shortcut, SPC w F
Placed it under the `SPC w` prefix since the related `other-frame` is
set to `SPC w o`.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-05-29 23:13:47 -04:00
ralesi
10d2dce0be Fixes #6051, checks for existance of git-gutter. 2016-05-29 23:05:04 -04:00
JAremko
74e0644759 add more checkers 2016-05-29 23:03:23 -04:00
Fredrik Bergroth
dad78fbdef spacemacs-base: evilify tar-mode 2016-05-29 23:01:13 -04:00
d12frosted
ce88cdfca7 [haskell] fix type and info hey bindings 2016-05-29 23:00:24 -04:00
Jean-Martin Archer
71c731aaf6 Use scala-mode instead of scala-mode-2 which is deprecated 2016-05-29 22:53:19 -04:00
Eivind Fonn
a2a331cb8f Don’t explicitly set box attribute
Since the face inherits from mode-line this is unnecessary, and makes it
difficult to change the mode-line box property.
2016-05-29 22:51:22 -04:00
Dave Aitken
2f7218e4c2 add-flycheck-hook expects a mode in purescript layer 2016-05-29 22:50:19 -04:00
syl20bnr
5e448a60ed Remove loading of funcs.el and config.el for helm and ivy spacemacs help 2016-05-29 22:39:56 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
syl20bnr
818867e012 Fix package sources for ivy and helm 2016-05-29 21:12:54 -04:00
Eivind Fonn
1623ff6044 bepo: dotspacemacs-verbose-loading was removed 2016-05-29 19:10:50 +02:00
Eivind Fonn
2c3243a178 shell: fix layer variable documentation 2016-05-29 19:10:13 +02:00
Eivind Fonn
ed8c0ca1dc latex: fix auctex-latexmk error 2016-05-29 18:23:51 +02:00
syl20bnr
46138cd25a Move declare-layers functions to new layers.el file 2016-05-28 21:26:00 -04:00
syl20bnr
ee59df2ab0 evernote: remove unneeded file 2016-05-28 19:49:36 -04:00
Eivind Fonn
439ce31bc5 asm: minor fixes
- Don’t need to enable company mode that way
- Disable electric local mode, and not global
- Properly handle electric indent disabling
2016-05-28 22:23:30 +02:00
syl20bnr
2a74c60fde theming: encapsulate theming config in init function 2016-05-27 07:24:23 -04:00
Peng Liu
584cae8d6f Fix the dependencies missing in bibtex layer. 2016-05-27 00:32:05 -04:00
syl20bnr
303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
syl20bnr
2b6292ef10 spacemacs-bootstrap: remove f and s in package list
It is unneeded to list them.
2016-05-27 00:32:05 -04:00
sooheon
ec3ea5b41e Move custom-set-faces out of company config
Keep it in a recommendation in the README for the layer. Eval'ing the
custom-set-faces directly in the config makes it difficult to revert the
customizations.
2016-05-27 00:32:05 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
sooheon
0a85d04892 Check for flycheck, not syntax-checking layer
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
syl20bnr
818afdfc71 Update diminish-hook to make it work with emacs daemon
And move the function to funcs.el
2016-05-27 00:32:05 -04:00
sooheon
671a4d21b7 Workaround for diminish without spaceline
@justbur's workaround, addresses #5194.
https://github.com/syl20bnr/spacemacs/issues/5194#issuecomment-189389164
2016-05-27 00:32:05 -04:00
Diego Alvarez
9cb0c1e109 Use new command to generate config
Old command doesn't exist anymore
2016-05-27 00:32:05 -04:00