Commit graph

2108 commits

Author SHA1 Message Date
Daniel Luna 9ca6306736 [ruby-layer] Adding ruby/rspec-verify-directory method for running specs for a
specific directory.

This commit creates a 'ruby/rspec-verify-directory command, which
prompts for a directory and runs rspec on it. This command is bound to
ruby-modes' keymaps under the "td" keybinding.
2016-06-06 22:55:28 -04:00
James Conroy-Finn 1b356ea776 Add Appraisals to ruby modes 2016-06-06 22:55:28 -04:00
Dominique Bégin 2952b4e9aa Fix link appearance 2016-06-06 22:55:28 -04:00
Tommi Komulainen 8edc118505 elm: mention elm-sort-imports-on-save in documentation 2016-06-06 22:55:28 -04:00
Tommi Komulainen 615776b0a2 elm: add SPC m r i key binding for elm-sort-imports 2016-06-06 22:55:28 -04:00
Tommi Komulainen 07a04020a8 elm: remove n/p key bindings from package list mode
(In vim style) this leaves the `n` to its usual binding to repeat the
last search which is much more practical when searching for package to
install.

elm-package-next / elm-packge-previous don't seem to do much more than
move to next/previous line so not much functionality is lost.
2016-06-06 22:55:28 -04:00
Fabien Dubosson 96fcce73ac [bepo] Fix code style 2016-06-06 23:02:00 +02:00
CharlesHD bc0ffcc544 Add mu4e support to the bepo layer 2016-06-06 22:47:10 +02:00
Eivind Fonn a4b8039123 bootstrap: spacemacs/set-state-faces function
This function is already being called when setting a theme, if it
exists.
2016-06-06 09:01:31 -04:00
Eivind Fonn 403e8441fb don’t double-check ws-butler-mode 2016-06-06 14:12:11 +02:00
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
syl20bnr 519d42e7c6 ivy: remove pcre2el from package list 2016-05-27 00:32:05 -04:00
sooheon cd848d7e28 We don't need to declare pcre2el in ivy 2016-05-27 00:32:05 -04:00
syl20bnr dbf82d3136 common-lisp: move helm specific stuff to post-init function
Also move defined functions to funcs.el
2016-05-27 00:32:05 -04:00
kr5x 5eba263448 common-lisp: add helm for choose lisp implementation 2016-05-27 00:32:05 -04:00
Eivind Fonn ac104d2739 Move helm setq out of with-eval-after-load 2016-05-23 12:59:11 +02:00
syl20bnr e4b7536510 Remove smooth scrolling from packages list 2016-05-22 10:00:57 -04:00
Allen Li a9c95142b9 Remove smooth scroll margin
User changing the scroll margin should handle these cases themselves.
2016-05-22 09:58:40 -04:00
syl20bnr fd756a124e New layer nlinum + revert default support for linum
To use nlinum + nlinum-relative add the nlinum layer

Note: there are still work to do on nlinum-relative, at some point we
may replace linum by nlinum completely.
2016-05-20 23:57:32 -04:00
syl20bnr e06929ddaf Replace smooth-scrolling package by a native alternative
My tests show that scroll-conservatively does the job, need your
feedback on this.

See https://github.com/syl20bnr/spacemacs/issues/6097
2016-05-20 23:36:13 -04:00
syl20bnr 46b880668c Fix neotree key bindings 2016-05-20 17:00:27 -04:00
syl20bnr da55a898ee Fix diminish for hi-lock mode 2016-05-20 09:03:00 -04:00
syl20bnr 0b84b1be66 Fix errors with last revert and move neotree funcs 2016-05-19 20:22:07 -04:00
syl20bnr ee1d7d4bfa Revert "New layer spacemacs-projects containing projectile and neotree"
This reverts commit 3f22eeaa03.

Projectile is used in various places and can be considered a base
package.
2016-05-19 20:22:07 -04:00
syl20bnr 156cead380 Revert "Experimenting with 0.2 delay to redraw relative line number"
This reverts commit 8fd78b06f3.
2016-05-19 14:33:36 -04:00
syl20bnr 8fd78b06f3 Experimenting with 0.2 delay to redraw relative line number
0.2 is the same delay for additional UI improvements like matching
parens and highlighting.
2016-05-19 13:46:06 -04:00
syl20bnr 463e477fd1 Revert "scroll transient state: invert up and down"
This reverts commit c9f7fc097e.

Motivation: prefer to match the behavior of `[`, `]`, `{`, `}` etc...
instead of `j` and `k`.
2016-05-17 11:00:50 -04:00
syl20bnr 3aa77e45d2 deft: move setq to :init 2016-05-17 00:19:38 -04:00
Andrew Schwartzmeyer 9cd73d61f7 deft: Fix create new file with filter text
The binding of `SPC m n` calls `deft-new-file`, which only uses the
filter text `(when deft-use-filter-string-for-filename)`, which is set
to nil originally. So we need to make it true.
2016-05-17 00:18:22 -04:00
syl20bnr 27a665e616 Move nlinum-relative to spacemacs-evil layer
Make more sense in this layer since it is used mainly by Vim style users
2016-05-17 00:05:14 -04:00
codefalling fa4eeb49f0 Replace linum by nlinum and nlinum-relative 2016-05-17 00:02:41 -04:00
Boris b4b4491019 fix link in spell-checking readme file 2016-05-16 23:58:29 -04:00
km c61205a657 Add prefixes for the Org layer bindings 2016-05-16 23:58:07 -04:00
km 9c4bf48d3e Add prefixes to the OCaml bindings 2016-05-16 23:57:47 -04:00
syl20bnr 9b3f5cac05 ocaml: add doc for SPC m = 2016-05-16 23:57:15 -04:00
km e70796882d Add OCaml binding to indent buffer with ocp-indent 2016-05-16 23:55:25 -04:00
Matthew Egan Odendahl bef3f838fd add prefix names for which-key 2016-05-16 23:55:18 -04:00
syl20bnr a086a5ba17 Fix hs-minor-mode activation in prog modes 2016-05-16 21:02:33 -04:00
syl20bnr c9f7fc097e scroll transient state: invert up and down
In order to map j and k (that is the left key goes down and the right
key goes up)
2016-05-16 14:29:30 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
syl20bnr 1aa0e4bfa3 Rename default-org to default-org-config 2016-05-15 22:03:46 -04:00
syl20bnr 70aa0105a4 Move default config for ivy to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
Disable ivy-hydra for now.

With this default configuration users using helm instead of ivy still
get a good ivy base configuration (UI and Key bindings).
2016-05-15 22:03:25 -04:00
syl20bnr cbda059ea0 Move default config for helm to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
With this default configuration users using ivy instead of helm still
get a good helm base configuration (UI and Key bindings).
2016-05-15 22:02:18 -04:00
syl20bnr bb3e8eca42 Move ido config to new layer spacemacs-completion 2016-05-15 21:55:57 -04:00
syl20bnr c8ec0fa063 Move smex layer functions to funcs.el 2016-05-15 21:52:10 -04:00
syl20bnr 8fb5d86be0 Fix dumb error with spacemacs-projects-packages variable 2016-05-15 19:39:49 -04:00
syl20bnr 0709d936d6 semantic: Fix srecode-map.el in root folder at install 2016-05-14 12:51:30 -04:00
syl20bnr 1f2d817708 New spacemacs-misc layer, move request to it 2016-05-14 12:28:57 -04:00
syl20bnr 3f22eeaa03 New layer spacemacs-projects containing projectile and neotree 2016-05-14 11:57:32 -04:00
syl20bnr 0319216b28 Remove dash from spacemacs-bootstrap 2016-05-14 11:57:32 -04:00
syl20bnr c2de2271eb Move page-break-lines to spacemacs-bootstrap 2016-05-14 11:57:28 -04:00
syl20bnr cf202d60f3 Move undo-tree and ws-butler to spacemacs-editing 2016-05-14 11:57:28 -04:00
syl20bnr f959bc4b19 Move popup, popwin, fill-ci, hl-todo to spacemacs-ui-visual 2016-05-14 11:57:27 -04:00
syl20bnr 3f2bdcc03b Move restart-emacs to spacemacs-ui 2016-05-14 11:57:27 -04:00
syl20bnr 7d25e9dab4 Move some evil related packages to spacemacs-evil 2016-05-14 11:57:27 -04:00
syl20bnr bb2e582703 move diminish to spacemacs-bootstrap
Also cleanup diminish init function
2016-05-14 11:57:23 -04:00
JAremko 73d48338c8 remove tslint package 2016-05-11 20:59:05 -04:00
JAremko 75754a3a9e Make tide formatter default 2016-05-11 20:59:05 -04:00
JAremko bf4baf0646 make tsfmt use config file 2016-05-11 20:59:00 -04:00
JAremko adebb01358 Add 'send to playground'
remove unnecessary init

refactoring

typo
2016-05-11 20:58:20 -04:00
JAremko 0f36dd44d7 fmt typescript docs
formatting

formatting
2016-05-11 20:58:20 -04:00
Overmind JIANG 5eac955cd3 Allow tsfmt to use the local project's config.
By adding `--baseDir=.` to the command line arguments.
2016-05-11 20:58:12 -04:00
d12frosted 9f57a0da63 use flyspell-correct instead of helm-flyspell
flyspell-correct plays nicely with custom front-ends, and it has support
of ivy and helm out of box
2016-05-11 20:52:02 -04:00
JAremko 4f37acdfae add go coverage key bindings
fix copypasta
2016-05-11 20:50:16 -04:00
NJBS c44bcf88ac Fix Elisp = prefix 2016-05-11 20:49:28 -04:00
Christoph Paulik 4d080a65fb Diminish tern and skewer mode. 2016-05-11 20:47:04 -04:00
bmag 50bd692e98 Layouts: gui/terminal frames should have different workspaces
Use two different sets of workspaces for each perspective - one
set for graphical frames, and one set for terminal frames.
This is required because workspaces from graphical frames are not
compatible for use in terminal frames.
2016-05-11 20:46:53 -04:00
syl20bnr 738f425276 Add spaceline-compile to spacemacs-post-user-config-hook
Also improve support for GUI client using a server launcher with
emacs --daemon.
2016-05-11 20:07:26 -04:00
Eivind Fonn a652a66e45 spaceline: don’t use :when in new-version segment
This will be necessary with the new version of Spaceline, but it works
fine with the old version too.
2016-05-09 23:24:44 +02:00
Eivind Fonn 92e2ab3e2f typography: Use :toggle for tildify 2016-05-08 20:18:43 +02:00
Daniel Luna 76610294a7 long-lines' toggle now accepts prefix arguments.
This commit introduces two new options to add-toggle:

:prefix, a symbol that is bound to the raw prefix argument (as
in `(interactive "P") forms).

:on-message, an expression overriding the default 'on' toggle
message (useful to document a toggle's argument).

These new options are applied to long-lines' toggle, so we can choose
how many lines to toggle it on via a raw prefix argument.
2016-05-06 13:53:41 +02:00
NJBS ddede916cf Add binding for opening tag in another window
Adds a binding to gtags which opens the found tag in another window
similar to gg and gG.
2016-05-06 13:53:41 +02:00
Eivind Fonn 2136a8e74f bracketed-paste: Use :toggle instead of :if
Also fix the actual expression :-)
2016-05-06 13:53:30 +02:00
Aaron Jensen 9d186c5f4c spacemacs-editing: disable bracketed paste for 25+
Bracketed paste is built into emacs 25+
2016-05-06 13:47:17 +02:00
Eivind Fonn 5b719df500 Some fixes for visual shift variable
- Rename mode to state (preferred nomenclature in evil)
- Change default value
- Add to dotspacemacs template
- Fix parens
2016-05-06 13:46:41 +02:00
Steven Allen bd4bdd3119 core: make retaining visual mode on shift optional
default to disabled to follow vim's behavior.

fixes #5273
2016-05-06 13:36:46 +02:00
Eivind Fonn 3d0787baa2 scala: Clean up README 2016-05-06 13:35:30 +02:00
Eivind Fonn 3a6db330a8 scala: Remove superfluous variable 2016-05-06 13:35:10 +02:00
tintin eabd3b859b Add java-doc-style config to scala layer 2016-05-06 13:32:03 +02:00
Eivind Fonn b416d83d8b Add code block surround in org-mode
Also:
- don't pad drawer surround with extra newlines
- upcase the drawer surround as per org conventions
2016-05-06 13:30:20 +02:00
Eivind Fonn 325067bc10 unimpaired: Move hunk commands to version-control 2016-05-06 13:27:44 +02:00
Iuri Fernandes cc6d315ea6 Adapt hunk commands to other diff tools 2016-05-06 13:26:12 +02:00
Eivind Fonn 48402c7295 syntax-checking: Update list of bindings 2016-05-06 13:25:19 +02:00
Eivind Fonn 3145e70f72 haskell: Clean up README 2016-05-06 13:24:12 +02:00
Maxime Bourget df669900da Update haskell layer documenation.
Add syntax checking section and improve FAQ so solve syntax checker problems.
2016-05-06 13:07:15 +02:00
Robert O'Connor 55ebd1e679 git: add submodule popup keybinding 2016-05-06 13:04:06 +02:00
Eivind Fonn 3b6f12f409 bibtex: Compress key bindings table 2016-05-06 13:03:30 +02:00
Christoph Paulik 8bc2329b3d Fix bibtex keybinding loading and add more navigation options.
Fix #5985
2016-05-06 13:01:27 +02:00
bmag 6edef36b17 Call python-setup-shell only once, not from hook 2016-05-06 12:59:51 +02:00
Eivind Fonn 46446df83d Make boot file regexp more restrictive 2016-05-06 12:59:05 +02:00
Eivind Fonn 975b83b68b Diminish visual-line-mode as L
See discussion in #5894
2016-05-06 10:09:44 +02:00
Eivind Fonn ff8d4dada8 Move lua setup to init block 2016-05-05 14:15:25 +02:00
Christoph Paulik 67aeb73655 Defer loading of persp mode until after user-config
fix #3881
2016-05-05 13:01:47 +02:00
Martin Yrjölä 169d6873c9 Disable large file check for certain major-modes
Introduce a variable spacemacs-large-file-modes-list to determine these
modes.
2016-05-05 13:00:34 +02:00
willian ver valen ceef7f8650 fix the README
the prefix on the README didn't correspond to the real keybindings on the package.el
2016-05-05 12:59:22 +02:00
Eivind Fonn a114c88bf1 Fix indentation in syntax-checking/packages.el 2016-05-05 12:58:45 +02:00
Maxime Bourget b146598472 Set flycheck errors severity.
This fix the bug when errors are not being filtered in error list or
`flycheck-navigation-minimum-level` not taken into account.
2016-05-05 12:57:57 +02:00
sindikat 5fab3f087d Fixed agda-post-packages -> agda-packages (develop) 2016-05-05 12:56:40 +02:00
Xiao Hanyu 6d2de9ebcb Diminish setting for visual-line-mode. 2016-05-05 12:52:08 +02:00
Kalle Lindqvist 865773c04b Fix tramp history file path
The variable 'tramp-persistency-file-name' is supposed to be a filename,
currently it is pointing to a directory which means tramp will not be
able to save and reuse connection information.
2016-05-05 12:51:07 +02:00
Eivind Fonn 7383bac3a3 SPC cd: close more compilation windows 2016-05-05 12:50:27 +02:00
Eivind Fonn 3561b4dcf9 Fix go/README.org 2016-05-05 12:47:04 +02:00
JAremko 11e696ad06 add var go-use-gometalinter 2016-05-04 08:34:32 +03:00
syl20bnr 17fbeaf861 haskell: move haskell-modes variable def to config.el 2016-05-01 11:41:38 -04:00
syl20bnr 425e6ba7de haskell: use package toggles for company packages 2016-05-01 11:40:54 -04:00
Tim Dysinger 5cc4e16f4d Adds company-ghci to haskell layer
You don't need ghc-mod to do code completion with ghc 7.10+. GHCI has built-in code-completion suggestions you can aske for.  This is what company-ghci does.
2016-05-01 11:30:58 -04:00
bmag 2a669648aa layouts: don't double activate persp-mode
If persp-mode is already activated, don't re-activate it. Should fix bug
where running dotspacemacs/sync-configuration-layers (SPC-f-e-R) resets
all the layouts.
2016-05-01 11:14:32 -04:00
Andrea Moretti b772734394 react: remove probably useless snippet 2016-04-29 23:30:44 -04:00
Andrea Moretti cb55e3da3c react: fix tern and docs 2016-04-29 23:30:21 -04:00
Andrea Moretti f88a7889a4 react: use node_modules version of eslint or global if not available 2016-04-29 23:30:05 -04:00
bmag cf3068e4ef layouts: persp-activated-hook -> persp-activated-functions
persp-mode has renamed persp-activated-hook to
persp-activated-functions, so we gotta update the hook.
2016-04-29 23:01:48 -04:00
syl20bnr d94b17d57b go: use :toggle for flycheck-gometalinter package
Turn the maybe function into an always since the package
flycheck-gometalinter is installed only if gometalinter is found.
2016-04-29 22:58:23 -04:00
JAremko ae512ee8f1 Use gometalinter if present. 2016-04-29 22:52:05 -04:00
syl20bnr d995f39e07 org-babel: fix redisplay of inline images 2016-04-29 22:47:26 -04:00
syl20bnr 354ca0b781 graphviz: use a use-package hook for org babel config 2016-04-29 22:47:03 -04:00
Christian E. Hopps 91942469b6 Enable graphviz mode in org babel blocks 2016-04-29 22:17:30 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
JAremko 42db6c7a41 Move space-doc to the Spacemacs core bundle 2016-04-29 20:01:56 -04:00
JAremko 31d2a149d5 Improve docs
Bug fix
Reorganize code
2016-04-29 20:00:12 -04:00
JAremko 0b9add2f0d Redesign space-doc 2016-04-29 20:00:12 -04:00
syl20bnr e3f5a12ba4 Fix error on startup (void-variable evil-normal-state-map) 2016-04-29 18:43:45 -04:00
syl20bnr 2434d0214b Add async to bootsrap packages 2016-04-29 18:37:42 -04:00
Christoph Paulik 421cb62783 Fix showing of indicators in the fringe.
Fix #5510
2016-04-29 18:27:08 -04:00
syl20bnr 5f8e24405a shell: document layer variable shell-default-term-shell 2016-04-29 18:20:59 -04:00
dubnde 80cccdce7c Add shell-default-full-span for shell window 2016-04-29 18:14:57 -04:00
James 0d20c77798 spacemacs/layers/+lang/latex/README.org typo
Docs: Folding keybindings are enabled by `latex-enable-folding`
2016-04-29 18:12:55 -04:00
Robert O'Connor cd13e0f885 Make pug files use jade-mode since jade is now called pug 2016-04-29 18:08:14 -04:00
syl20bnr e18b1cbe0e Move vi-tilde-fringe hook to shell layer
Also replace lambdas by named functions
2016-04-29 17:48:00 -04:00
Russell Sim c115a66210 Disable tilde fringe in shell/comint modes 2016-04-28 16:01:01 +02:00
Fabien Dubosson a63bf2ab13 Add more information regarding tern on windows 2016-04-28 15:58:12 +02:00
Fabien Dubosson a03aff8fa1 Apply fill-paragraph after previous commit 2016-04-28 15:50:11 +02:00
Liang Zhou d2486e3956 Update tern configuration for windows. 2016-04-28 15:48:38 +02:00
NJBS 32466ca272 Update go README to include goimports prereq
see #5855
2016-04-28 15:40:26 +02:00
sooheon a0d244d47f Remove duplicate definition of symbol-highlight 2016-04-28 15:38:02 +02:00
Fabien Dubosson ba7d050321 [autohotkey] reorder line alphabetically 2016-04-28 15:33:33 +02:00
krobelus 690d8eaed6 Fix autohotkey documentation 2016-04-28 15:32:08 +02:00
bmag 4967df79d7 Don't switch to error-list window if already on it 2016-04-28 15:20:03 +02:00
Jeremy Bi 2516703366 Enhance auto-completion support for Idris layer
Now auto-completion will ask Idris process for completions
2016-04-28 15:14:27 +02:00
ralesi ddffb9445b pcre2el is not loaded in spacemacs-base, but needed for ivy-ag support. 2016-04-28 15:12:49 +02:00
syl20bnr edc4493e19 org: fix missing parenthesis 2016-04-21 23:26:57 -04:00
syl20bnr 74ff0c2c70 auto-completion: fix definition of navigation key bindings 2016-04-21 23:26:20 -04:00
Eivind Fonn d80829b979 Revamp org-repo-todo 2016-04-21 22:29:12 -04:00
Xiao Hanyu c93e47028c Set comment-inline-offset to 2 for python-mode.
Since python's PEP8 recommends two spaces for inline spaces.

Ref:
- https://www.python.org/dev/peps/pep-0008/#inline-comments
2016-04-21 22:26:18 -04:00
syl20bnr 3ede905745 Apply doc-fmt to various READMEs 2016-04-21 22:25:51 -04:00
syl20bnr f3639da09e cfengine: reformat readme and various fixes
- Simplify README.org to follow the conventions and better integrate
with the other READMEs
- Remove unnecessary comments in code
- Add explicitly cfengine3-mode to the list of package
- Move eldoc hook to an eldoc post init function
- Defer loading of cfengine3-mode
- Move auto-mode-alist to init function
2016-04-21 22:22:02 -04:00
Nick Anderson 4d31afeef4 Add: Example including save hook
CFEngine considers files writable by other users a security exception. A
save hook to ensure restrictive permissions can be very useful to avoid
these kinds of errors.
2016-04-21 22:03:39 -04:00
Nick Anderson dcc3f2d5d9 Add: CFEngine config-files layer 2016-04-21 22:01:58 -04:00
syl20bnr 14d3529ae2 org: defer org-download 2016-04-21 21:49:57 -04:00
krakapwa 995f6df728 Added org-download support 2016-04-21 21:36:49 -04:00
syl20bnr e1a6f39e0b auto-completion: move functions to funcs.el 2016-04-21 21:35:27 -04:00
syl20bnr 667a7f61a4 auto-completion: support emacs style for navigation in company 2016-04-21 21:29:20 -04:00
sooheon da8b0294c5 Wrap company kb changes in check for user prefs
Only use evilified bindings in company-active-map if user wants vim
style or hjkl bindings.
2016-04-21 21:15:56 -04:00
Christoph Paulik 643553a0fe Only disable semantic-idle-summary in python if anaconda-mode is used.
Some people have problems with anaconda mode and exclude it. This
enables them to at least have the semantic summary in their modeline.
2016-04-21 21:13:53 -04:00
Szunti dacd5e2544 Don't mark request pacakage as built-in.
It's not a built-in package and this prevented updating. Fixes #5523.
2016-04-21 21:13:22 -04:00
Tim Jäger 172247c324 Added keybinding for ~org-insert-subheading~ 2016-04-21 21:11:18 -04:00
Eivind Fonn d0ae648ff3 Normalize keymaps in visual line toggle 2016-04-21 21:10:41 -04:00
Tu 34e669d49a Fix null error
char-after can return nil. For that reason, we check to ensure it does
not cause error.
2016-04-21 21:10:17 -04:00
NJBS f7c2f4ed15 Defer space-doc
space-doc currently adds a large chunk of time to initial load time
since it has to require org.
2016-04-21 21:09:54 -04:00
Eivind Fonn 076d624923 Fix offset detection in js2-mode 2016-04-21 21:09:40 -04:00
sooheon 291ec69a7d ivy: don't override prefix-help-command
counsel-descbinds is accessible through SPC-?, and shadowing the C-h key
for which key makes pagination impossible. As this deviates from
which-key defaults, this should be up to user to config, not a base in
spacemacs-ivy.
2016-04-21 21:09:11 -04:00
Junhui 9d1b574554 Make pylookup.py compatible with Python 2 and 3 2016-04-21 21:08:31 -04:00
Stefan VanBuren 048da9d320 Fix typo in README.org 2016-04-21 21:08:11 -04:00
Andrea Moretti c80c9583db add import React magic-mode-alist
as suggested by @tko on #4735
2016-04-21 21:07:38 -04:00
Andrea Moretti 5c07ce0118 enforce smartparens 2016-04-21 21:07:38 -04:00
Andrea Moretti a3e802b2ff remove js2 and fix eslint loading 2016-04-21 21:07:38 -04:00
Eivind Fonn ba7254f522 Fix transparency transient state docstring 2016-04-21 21:04:52 -04:00
Severen Redwood 1fe5f4b6dd Fix broken keybindings in the Rust layer 2016-04-21 21:04:32 -04:00
syl20bnr a025dc8f52 clojure: move functions to funcs.el 2016-04-21 19:08:41 -04:00
sooheon e64c337b82 Remove obsolete clojure-defun-style-default-indent
clojure-defun-style-default-indent has been deprecated in favor of
clojure-indent-style. This is no longer a toggle but one of three
keywords. As it affects the way code is indented, and you should not
need to change your indentation style multiple times while editing, it
should not be a toggle. It's simple enough for the user to setq it to
desired value.

If desired, it may be added back as a completing-read selection (but I
don't think it's necessary).
2016-04-21 18:59:52 -04:00
syl20bnr dd8e845f6e clojure: add docstrings to functions 2016-04-21 18:59:28 -04:00
sooheon 39f424bd45 Fix cider tests error, and improve implementation
Error was caused by unnecessarily wrapping cider test fns in
spacemacs//cider-eval-in-repl-no-focus. Test fns do not move focus to
repl anyways, and it caused a wrong-type-argument error.

The added bindings are to more closely match cider bindings (under C-c
C-t). Now spacemacs cider test fns mirror the cider ones.
2016-04-21 18:56:45 -04:00
sooheon 02ee0f2e54 Setup normal state cider-debug for hybrid mode
Hybrid means vim-like in normal and emacs-like in insert. This is a
normal-state compatibility tweak (has no effect on insert-state
bindings), so it belongs.
2016-04-21 18:55:02 -04:00
Eivind Fonn 7f95d250db python: Move smartparens config to correct place 2016-04-18 15:56:16 +02:00
syl20bnr b123b21498 Add elm-mode to sensitive mode for auto-indent on paste 2016-04-17 12:59:30 -04:00
syl20bnr ab95350d71 rebox: diminish rebox-mode lighter 2016-04-17 12:57:57 -04:00
syl20bnr edfc5dea98 Remove some empty lines in doc 2016-04-17 00:37:47 -04:00
syl20bnr 7ed32a8d61 rebox: various modifications
README
- Remove header from README (we don't add such header by convention)
- Move sections in README to better the reflect the structure of the
  other READMEs
- Simplify documentation
- Remove Thanks section (we don't add such section by convention, it is
  very hard to maintain and keep accurate, user can see credits for a
  package in the package source code directly)
- Remove the package default key bindings (same reason, it is also hard
  to keep in sync if the bindings change upstream, the users should check
  the default bindings themselves).

CONFIGURATION
- Add spacemacs key bindings under `SPC x b` for text boxes (I prefer
to use `SPC x` instead of `SPC i` because rebox modify an existing text,
it does not _insert_ a box per se).
- Add a transient state for quick cycling
- Add a layer variable `rebox-enable-in-text-mode` to enable the mode
  in text-mode buffers
- Move functions to funcs.el

squash! rebox: various modifications
2016-04-17 00:37:47 -04:00
Christian E. Hopps 0f6186aa70 add rebox layer 2016-04-17 00:37:47 -04:00
syl20bnr bbe2f06d64 ranger: fix error about void variable
Due to syl20bnr rebase of commit 9836979
2016-04-17 00:37:47 -04:00
syl20bnr 9160109110 bibtex: format layer
Remove packages-config.el
Fix format of README
2016-04-17 00:37:47 -04:00
JP-Ellis 97aff9d8db Add BibTeX layer.
Integrates with org mode and LaTeX in order to manage citations.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-04-17 00:37:47 -04:00
ralesi 05e99aa0a1 Add commands for ranger to make accessible when defered.
syl20bnr: move the code to dired post-init
2016-04-17 00:37:47 -04:00
Matt Jaffee f0f2034a53 support underscores in Go test functions
When trying to run a single test function with LEADER m t t in a Golang
test file, spacemacs failed to find functions which had underscores in
their names. This commit simply adds an underscore to the regular
expression which spacemacs uses when searching for the current test
function.
2016-04-17 00:37:47 -04:00
sooheon 190962bc4b Colorize spacemacs/counsel-search results
Use counsel-git-grep-transformer for search results.
2016-04-17 00:37:47 -04:00
Junhui c921eb6bbc Diminish space-doc-mode lighter 2016-04-17 00:37:47 -04:00
sooheon 8a64b2c28d Let counsel-search respect ivy-count-format
There is no reason to hardcode the formatting string for this search
function in particular.
2016-04-17 00:37:47 -04:00
Joe Hillenbrand af6f3d0d87 Bind SPC p T to projectile-test-project
The purpose of `projectile-find-test-file` is not obvious
and it is not applicable to all languages.

Actually running the tests seems like a more useful and intuitive binding.
2016-04-17 00:37:47 -04:00
syl20bnr 47776e8999 python: move semantic config and fix error with semantic-idle-summary-mode
Move all semantic related config to semantic post-init and correctly
fix the error with void function semantic-idle-summary-mode when
opening a python without the semantic layer enabled.
2016-04-17 00:37:47 -04:00
Neal D. Becker 4ca8b55819 set semantic-idle-summary-mode on hook 2016-04-17 00:37:47 -04:00
Fabien Dubosson 0aafaecc4d Revert "Guard idris company setup on the auto-completion layer"
This reverts commit f2f23e6aa1 following
the comment of syl20bnr in
f2f23e6aa1
2016-04-13 11:25:51 +02:00
sooheon 09098c09cf Set popwin config for Help buffer :noselect t
Fixes issue #5546. Does not change behavior when calling help directly,
as with describe-function or describe-variable.
2016-04-13 00:09:18 -04:00
syl20bnr 07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
JAremko 29d484d4db Refactor space-doc.el 2016-04-12 23:16:59 -04:00
JAremko f12bb5f090 Tie `space-doc-mode' and Spacemacs link opener
Make Spacemacs link opener buffer local and enabled it only
when the `space-doc' mode is enabled.
2016-04-12 23:10:50 -04:00
JAremko 52479f9df9 Change space-doc lighter
Change space-doc lighter from  ❤  to SD (solves #5642)
2016-04-12 23:08:49 -04:00
Eivind Fonn 052896e782 Fix ace-delete-window bindings 2016-04-12 23:02:03 -04:00
Christoph Paulik a175de5b7a Use py-yapf from MELPA. 2016-04-12 22:58:41 -04:00
Eivind Fonn dd6e1aea99 setq -> set 2016-04-12 22:57:14 -04:00
NJBS 16ec5b9289 Diminish helm-gtags mode 2016-04-12 22:52:18 -04:00
Allen Li b9cd585d1a Set evil-want-Y-yank-to-eol properly
Use correct customize function, custom-set-variables is meant to be used
for the saved customize settings file.
2016-04-12 22:52:09 -04:00
Dominique Bégin e243454de3 Add keybinding for rotating windows backwards 2016-04-12 22:49:56 -04:00
Eivind Fonn bcea630826 Make matlab quasi-derived from prog-mode
Also make this a named function.
2016-04-12 22:48:34 -04:00
Muneeb Shaikh d19c6eb566 spacemacs-evil: add evil-visual-mark-mode
This adds toggle for evil-visual-mark-mode on SPC t `

Fix #5619
2016-04-12 22:47:26 -04:00
syl20bnr ad4e0d7817 perforce: fix duplicated :init and delete empty file config.el 2016-04-12 22:46:33 -04:00
Richard Kim c2ebcc7d17 fix start up error if perforc layer is enabled
The fix is to move spacemacs/declare-prefix call out of config.el into
packages.el file of the layer. I don't know why this change fixes the
issue. I just made changes to perforce layer code to match what is done
in all other layers where the function is called within package.el
rather than in config.el.
2016-04-12 22:45:36 -04:00
syl20bnr 6c2665e0f7 python: move disable semantic hook to anaconda init function 2016-04-12 22:38:48 -04:00
syl20bnr 5d84473fca layouts: update arity for persp-before-switch-functions
The hooked functions must take 2 parameters, I just ignored the
second one as well. Not sure of the implication but it seems to work.
2016-04-12 22:09:19 -04:00
syl20bnr 859f28473b layouts: use MELPA version of persp-mode 2016-04-12 22:05:24 -04:00
Muneeb Shaikh 23168dbc84 Add "o" keybinding for opening links with ace-jump 2016-04-11 21:02:45 +02:00
Sebastian Wiesner bd4fe19d4d markdown: Add binding for live preview mode 2016-04-11 21:00:24 +02:00
Daniel Luna e0fd4f5cd3 <SPC> f y working in dired buffers 2016-04-11 20:57:54 +02:00
Steven Allen dab234dbd9 Use toml-mode for all cargo configs
Specifically, `Cargo.lock` and `.cargo/config`.
2016-04-11 20:49:42 +02:00
Fabien Dubosson 39eebef067 [rust] Sort keybindings alphabetically 2016-04-11 20:45:47 +02:00
Dmitri Melnikov 8c6d154ffb Add key binding for cargo fmt 2016-04-11 20:43:03 +02:00
Junhui 95be4bce44 Fix 'makefile' for pylookup 2016-04-11 20:40:42 +02:00
Fabien Dubosson ddc831e061 [python] Correct whitespaces in packages.el 2016-04-11 20:38:01 +02:00
Christoph Paulik d38ce800bd Disable semantic-idle-summary in Python mode.
Anaconda provides more useful information but can not do it properly
when this mode is enabled since the minibuffer is cleared all the time.

Fix #5564
2016-04-11 20:35:40 +02:00
Nate Wolfe 634f1a4fbe Revert "(5719) Fix multi-term shell popup"
This reverts commit 8526ee7145.
2016-04-11 20:32:45 +02:00
Fabien Dubosson 5f93dc364f [clojure] Fix loading of eldoc-mode 2016-04-11 20:30:47 +02:00
sooheon 4c543ee25c Remove depreciated cider-turn-on-eldoc-mode
Use more general 'eldoc-mode instead. Also enable eldoc-mode in the
repl as well.
2016-04-11 20:17:52 +02:00
Amar Sood (tekacs) 14b650e81e cider-turn-on-eldoc-mode is deprecated.
Use (eldoc-mode) instead.
2016-04-11 20:16:15 +02:00
Fabien Dubosson f2f23e6aa1 Guard idris company setup on the auto-completion layer 2016-04-11 10:58:21 +02:00
Fabien Dubosson 247d7cc5bd Add back idris REPL bindings on ,si and ,' 2016-04-11 10:58:14 +02:00
Jeremy Bi ec9c18b832 Improve idris support
Squashing the 3 commits of #5688:

Commit 1
--------

Add prefix doc in idris layer

Also remove `idris-ensure-process-and-repl-buffer` as this is not an
interactive command

Add `SPC m l` keybinding for extracting lemma

Bind `SPC m c` to `idris-case-dwim`

Commit 2
--------

Fix registering idris repl

Commit 3
--------

Add basic auto-completion for idris mode
2016-04-11 10:50:34 +02:00
Eivind Fonn 787fc435f7 Revert "hotfix: use stable version of yasnippet"
This reverts commit 3717864408.
2016-04-10 17:55:36 +02:00
syl20bnr 3717864408 hotfix: use stable version of yasnippet 2016-04-09 10:14:47 -04:00
bmag 526a0334d7 Synchronize Neotree window when changing context
Fix Neotree losing track of its window when changing workspaces or
layouts.
2016-04-08 23:12:26 -04:00
Fabien Dubosson ac5cfcf2a1 Improve SPC s c to support evil-search-module
Fix #1326
Fix #5101
2016-04-08 23:11:12 -04:00
Fabien Dubosson 44470aa64f Fix shells asking for "Run program"
After 63dc8f7ea0 `SPC '` started to ask
for "Run program" instead of opening the shell with the defined shell.

This commit remove the `call-interactively` that are causing this
problem. `SPC u SPC '` is still working as far as I tested.
2016-04-08 23:04:42 -04:00
syl20bnr 5752c87ac0 imenu-list: exclude IList buffer from golden-ratio 2016-04-08 18:20:50 -04:00
syl20bnr 3f0a261206 imenu-list: update README.org 2016-04-08 18:14:39 -04:00
bmag 6f2e2df275 Add imenu-list layer
imenu-list provides a side bar that shows all imenu entries of the
current buffer
2016-04-08 18:09:52 -04:00
tyuuni b364697125 spacemacs-helm: Fix typo (,r . ,r)
Fix a little bug.
2016-04-08 18:04:51 -04:00
Eivind Fonn e6948533df Fix erc/README.org 2016-04-08 18:06:43 +02:00
Eivind Fonn 9e1909f5e0 Move erc/funcs.el to new folder, add header 2016-04-08 18:05:24 +02:00
Jack Henahan 5bde687d07 Add default server list to ERC layer 2016-04-08 17:48:54 +02:00
Magnus Therning 5c575a7eb8 git: Add binding to magit-reset-popup
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-04-08 17:43:35 +02:00
Eivind Fonn 9b60b133ad Add documentation to transparency TS 2016-04-08 17:43:18 +02:00
sooheon b77b541e3a Allow = to be used to increase transparency
-,= is easy to go back and forth, without needing to press shift for +.
2016-04-08 17:39:33 +02:00
Muneeb Shaikh cbb376de9e ansible: update auto-mode-alist for host/group vars 2016-04-08 17:37:01 +02:00
Fabien Dubosson 0f7a6c7f87 [bepo] Remove SPC j … corrections
These corrections were useful only before `SPC j` has been reassigned
for jumping functions.
2016-04-08 13:42:38 +02:00
sdlovecraft ec0d233499 Added documentation for managing files 2016-04-07 23:19:39 -04:00
syl20bnr fdf74897a3 javascript: remove variable javascript-disable-tern-missing-warning
Just log the warning in the message buffer.
2016-04-07 23:13:25 -04:00
Joe Hillenbrand d3922095e2 python: register python language for org-babel 2016-04-07 23:02:55 -04:00
zilongshanren 61115f3e6b remove duplicated configs of eldoc 2016-04-07 23:01:33 -04:00
NJBS fa27581af8 Diminish racer since it clutters the mode-line 2016-04-07 23:00:31 -04:00
Muneeb Shaikh dc799401f7 javascript: enhance tern binary detection
Fix #4292

If tern binary isn't found, warn the user of missing binary and do not
enable tern package(else it makes emacs unresponsive).
Allow user to disable missing binary warning via configuration layer
variable `javascript-disable-tern-missing-warning`
2016-04-07 23:00:20 -04:00
Mingshen Sun 002e8598b9 jabber: evilify the key bindings 2016-04-07 22:59:31 -04:00
Dennis Hamester b18ccaaa29 Fix next-error behavior when flycheck is active
spacemacs/{next,previous}-error will now call {next,previous}-error when
a compilation buffer is visible.
2016-04-07 22:58:36 -04:00
syl20bnr ecffbb49e0 github: make git-link-commit works with git-timemachine 2016-04-07 22:51:47 -04:00
syl20bnr 4bc796c9e6 github: move some functions to funcs.el 2016-04-07 22:44:58 -04:00
syl20bnr 43bc88119b github: replace the advice around git-link--branch by letf 2016-04-07 22:43:07 -04:00
Daniel Luna 4a6f2ff014 [github layer] git-link working as expected in git-timemachine buffers
This commit allows an user to run git-link in a git-timemachine bufer
and get the current revision instead of the latest commit in that
branch.
2016-04-07 22:27:41 -04:00
Nate Wolfe 8526ee7145 (5719) Fix multi-term shell popup
This commit removes the unused argument from the wrapper lambda, which
appears to be no longer provided when the function is called.
2016-04-07 22:15:36 -04:00
syl20bnr b1a41ce2ce
bootstrap: explicitly require evil 2016-04-07 22:11:22 -04:00
syl20bnr ff7b839df0
org: various tweaks to spacemacs-org and org layers
- move evil-org to org layer
- move org-plus-contrib to spacemacs-org layer
- remove toc-org from the list of package for org layer
- give ownership of the org package to org layer
- invent a package named default-org in spacemacs-org layer in order
  to let the ownership of org package to org layer
- remove unnecessary :mode keyword in use-package from for org
2016-04-07 22:11:22 -04:00
d12frosted 8b0c69c8cd
move org essentials to spacemacs distro 2016-04-07 22:11:22 -04:00
Fabien Dubosson 2b4a039646 Align vinegar/packages.el and update ranger/packages.el code style 2016-04-08 00:33:43 +02:00
Fabien Dubosson f651969d12 Use use-package to define autoload of dired-x
This also add autoload for `dired-omit-mode` which fixes #5705
2016-04-08 00:32:06 +02:00
Fabien Dubosson 0dc19d127b Correct vinegar's dired configuration
Fix #5709
2016-04-08 00:28:53 +02:00
syl20bnr 97f4473849 Remove erroneous :defer for spaceline package.
Thanks TheBB :-)
2016-04-07 14:57:48 -04:00
syl20bnr 63dc8f7ea0 shell: add support for SPC u SPC ' to open shell in current buffer
Works as well for all `SPC a s ...` key bindings.
2016-04-07 14:52:41 -04:00
Eivind Fonn 7a0328929c Fix Y-y$ remapping 2016-04-07 15:16:27 +02:00
Eivind Fonn 64392e3fa5
Fix eshell setup for xterm-color
This makes sure that all the setup happens at the same time. Previously
some setup happened at loading time of esh-mode while some happened in
eshell-mode-hook. Everything output between this (the first prompt)
looks different.
2016-04-06 18:14:57 -04:00
syl20bnr 09ff77fbd4 Make it possible to use spacemacs-bootstrap layer as a distribution 2016-04-06 13:12:13 -04:00
Eivind Fonn bb46ced71c Fix bookmark binding conflict 2016-04-06 11:28:24 +02:00
syl20bnr 232824bf05
games: add progn form and improve doc for typit 2016-04-05 22:41:36 -04:00
syl20bnr 6866e02dae
games: add typit, a simple typing game. 2016-04-05 22:28:54 -04:00
Fabien Dubosson 0ec385c60c Fix misplaced keybinding definition for ranger 2016-04-05 13:39:17 +02:00
Fabien Dubosson 481c196cd5 Fix deer binding being overlapped by dired 2016-04-05 13:04:51 +02:00
Allen Li 7ca64553ed Fix dired-x dired-jump autoload 2016-04-05 12:59:33 +02:00
Fabien Dubosson abd9ef6892 Justify paragraphs in the evil-cleverparens README 2016-04-05 12:57:57 +02:00
Matthew Egan Odendahl 6465ddd2ef Add an example hook 2016-04-05 12:56:36 +02:00
Fabien Dubosson 23ce5aee84 Justify a paragraph in the scala README 2016-04-05 12:55:31 +02:00
Channing Walton 12b2de9032 Correcting scala-enable-eldoc-mode to scala-enable-eldoc 2016-04-05 12:54:45 +02:00
Fabien Dubosson 1a45754cad Visualy align some keybindings 2016-04-05 12:53:44 +02:00
Fabien Dubosson 57e91fe035 Correct more <SPC> to SPC 2016-04-05 12:52:54 +02:00
Robert Johnson 16e1be2691 Fix inconsistent notation of SPC key in docs
Replace all occurrences of <SPC> in org files with SPC.

Fixes syl20bnr/spacemacs#1823
2016-04-05 12:46:10 +02:00
Fabien Dubosson d6202d3f33 Reorder projectile-replace-regexp alphabetically 2016-04-05 12:38:43 +02:00
d12frosted 5212e5539e add key binding for projectile-replace-regexp
Following https://github.com/bbatsov/projectile/pull/977
2016-04-05 12:37:53 +02:00
Allen Li e037dcdc51 Set SPC f b to bookmark-jump
helm will overwrite this with its own command, but people not using
helm (only ivy at the moment) will need this defined.
2016-04-05 12:33:19 +02:00
Pablo de Oliveira cc3cfcddfd Fix +lang/markdown documentation on promotion and movement keybindings
Update documentation by removing obsolete keybindings that
were deleted from +lang/markdown layer in 7b6678e.

In particular the ~SPC m =~, ~SPC m -~ and ~SPC m l [h/j/k/l]~
have been superseded by the **Movement** bindings.
2016-04-05 12:29:33 +02:00
Fabien Dubosson 80195d15c7 Justify a paragraph in the go README 2016-04-05 12:28:11 +02:00
james sangho nah 1773cca021 Fix minor typo in Go README 2016-04-05 12:22:01 +02:00
Diogo Biazus a3deae88d0 Setup flycheck-purescript for purescript layer 2016-04-04 22:45:04 -04:00
mahinshaw 1bd5756a99 Extend lazy-install for other clojure based modes. 2016-04-04 22:42:51 -04:00
Joel McCracken bc3c77e63e Do not delete window when there is only one
If ansi-term is a full-screen window, running `(delete-window)` in this
case would cause an error to appear. This commit guards against this
scenario.
2016-04-04 22:41:53 -04:00
Lily 135fdfb612 github: Document how to configure your github OAuth token
This helps make the `github` layer work better
2016-04-04 22:39:50 -04:00
syl20bnr 74fb719b44 go: make go-tab-width a regular layer variable 2016-04-04 22:36:51 -04:00
james sangho nah 4129264302 go: new variable `go-tab-width' 2016-04-04 22:34:17 -04:00
Muneeb Shaikh 25abc07359 hybrid: evilify supporting buffer as default
Fix #5645
2016-04-04 22:24:37 -04:00
syl20bnr 99d9993171 Scala: fix ensime-typecheck-current-file to ensime-typecheck-current-buffer 2016-04-04 21:52:45 -04:00
Aaron Jensen 492974b969 tmux: remove global unset of C-h
This is unnecessary and prevents hybrid mode from having its normal help bindings.
2016-04-04 21:50:40 -04:00
Aaron Jensen bb50218622 tmux: replace deprecated post-extensions with packages 2016-04-04 21:50:08 -04:00
Muneeb Shaikh c9ef2f6f3c python: explicitly autoload py-yapf-buffer
Since it's a local package, there's no autoloads file. Adding it to
:commands to let use-package add autoload for it.
2016-04-04 21:46:23 -04:00
syl20bnr ec35ede5b6 Fix move selected text up and down in visual state 2016-04-04 21:43:30 -04:00
hujianxin fdf73e9234 Clojure: Fix a error caused by mess writing.
In this case, `mode` should be fixed to `m` .
2016-04-04 19:42:57 -04:00
Fabien Dubosson 8825a06705 [bepo] Correct definition of «» pair delimiters 2016-04-04 22:08:57 +02:00
Fabien Dubosson fa66c0ea84 [bepo] Sort packages and add missing «helm» 2016-04-04 21:23:44 +02:00
syl20bnr 2bfcb8cd30 restclient: fix auto-mode-alist of ob-http configuration 2016-04-04 10:57:25 -04:00
syl20bnr 931652bf8d shell: register shell language for org-babel 2016-04-04 09:49:13 -04:00
syl20bnr c4e6dd752b spaceline: remove :defer 0.1 for now 2016-04-03 22:25:39 -04:00
syl20bnr d90c6f5fee bepo: make it more spacemacsy
Isolate the calls to bepo macro in pre-init or post-init functions, this
way they are called a the right time in the loading process.
Previously the calls were all in the config.el file which is loaded
before the package configuration phase.
2016-04-03 22:22:35 -04:00
syl20bnr d60228219f core: ensure quelpa is available when installing packages 2016-04-03 02:51:01 -04:00
syl20bnr cc5afabcae Experimental: defer by 0.1s spaceline
spaceline can sometime take 1s to load when Emacs starts, using
:defer 0.1 seems to smooth the startup a little bit.
2016-04-03 00:38:13 -04:00
syl20bnr 1243d0096c latex: remove commented code 2016-04-03 00:37:50 -04:00
syl20bnr 5edc364695 erc: lazy load a bunch of package by leveraging use-package hooks 2016-04-03 00:37:20 -04:00
syl20bnr e2901c5a91 syntax-checking: defer loading of flycheck 2016-04-03 00:36:49 -04:00
syl20bnr eb14645d0f Lazy require space-doc-mode 2016-04-03 00:36:27 -04:00
syl20bnr e511a1211c python: lazy load py-yapf 2016-04-03 00:36:06 -04:00
syl20bnr 07b3bb051e scala: lazy load sbt-mode 2016-04-03 00:35:35 -04:00
syl20bnr 9e6c2e4775 restclient: lazy load ob-http 2016-04-03 00:35:15 -04:00
syl20bnr 8e897f6b7b core: new layer spacemacs-bootstrap and new package :step
New package :step 'bootstrap', this step happens before 'pre' packages.
A new layer names 'spacemacs-bootstrap' gather all the ':step bootstrap'
packages. This layer is special and is always the first element of
the variable 'configuration-layer--layers' which assure that all
bootstrap packages are configured first.

This new layer leverages the configuration layer system, removes the
clutter of package installations in the function 'spacemacs/init' and
isolate the bootstrap packages in one place.
2016-04-03 00:28:47 -04:00
syl20bnr 63e1db9923 clojure: move command prefix names and remove some duplicated code 2016-04-03 00:27:44 -04:00
syl20bnr 173e2a5421 Move all prefix names from config.el to init functions 2016-04-03 00:12:28 -04:00
syl20bnr 0ca8eb3705 spotify: enable lazy loading and move command prefix names 2016-04-03 00:06:56 -04:00
Richard Wei 8a6cfadffb Corrected key bindings for major mode
Key binding behavior are not consistent with the documentation. Since the bindings are under major mode, they should not have the prefix 'm'.
2016-04-01 00:26:20 -04:00
syl20bnr f1ddbd1f3e move toggle stickyfunc to SPC T S and SPC T C-S 2016-04-01 00:26:20 -04:00
person808 4010c63276 Change theme search keybinding to SPC T s.
Unify the bindings of spacemacs-helm and spacemacs-ivy. The new mnemonic
for both ivy and helm is `Themes/select`.
2016-04-01 00:26:20 -04:00
Aaron Jensen ed5bdf9db8 Enable OSX non-native fullscreen on regular builds
The mac port build supports this out of the box, but the version
installed with `brew install emacs --with-cocoa` requires this variable
to be cleared.
2016-04-01 00:26:20 -04:00
Diego Alvarez 9b460f60e4 Add function to insert types and add yank type at point
- `, i y` Add function to yank type at point but just yank type name without full
package

- `, r a` Add function to insert type for declaration,
see `https://github.com/ensime/ensime-emacs/pull/390/files`
2016-04-01 00:26:20 -04:00
syl20bnr b891e82362 scala: reformat TOC of README.org 2016-04-01 00:26:20 -04:00
Channing Walton 7466fdc678 optionally enable ensime
a new variable, scala-auto-start-ensime, determines if ensime starts
when a scala file is loaded.

make scala-auto-start-ensime default to t

The current behaviour is to autostart so this will preserve it.

Adding documentation for scala-auto-start-ensime

removed a space

make scala-auto-start-ensime default to t

The current behaviour is to autostart so this will preserve it.

Adding documentation for scala-auto-start-ensime

removed a space
2016-04-01 00:26:19 -04:00
syl20bnr 6770969b6f core: add variables for core-spacemacs-buffer
- spacemacs-buffer-version-info
- spacemacs-buffer-logo-title
2016-04-01 00:26:19 -04:00
syl20bnr 69a9d5bf6b twitter: documentation new key bindings 2016-04-01 00:26:19 -04:00
Muneeb Shaikh fb402b4120 twitter: use new function to define leader keys 2016-04-01 00:26:19 -04:00
Muneeb Shaikh f56ac8b2d5 twitter: keybinding to toggle images 2016-04-01 00:26:19 -04:00
d12frosted 98b329e741 move system-is-* function to core 2016-03-31 00:23:59 -04:00
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
JAremko 8c3d05ee47 Add org-mode link-type "https" to open local copies
The https link-type opens the local copies of the Spacemacs documentation files with
the spacemacs/view-org-file function. It supports GitHub style heading links

For example, the link:

https://github.com/syl20bnr/spacemacs/blob/develop/layers/org/README.org#links

Will be handled similary to as if it was:

file:~/.emacs.d/layers/org/README.org::*links

Also the `space-doc' mode will be applied.

Refactored GH style anchor search.
2016-03-30 22:38:18 -04:00
syl20bnr 30f971d89c reformat some code to respect 80chars per line 2016-03-30 22:35:07 -04:00
JAremko 014bbfd921 Add Spacemacs docs minor mode to hide meta tags.
`space-doc-mode` - Buffer local minor mode for Spacemacs documentation files. The mode hides org meta tags.
Enabled when viewing documentation via `SPC` `h` `SPC`
2016-03-30 22:31:38 -04:00
Caleb Jones d983bf7ec7 Improve Leiningen installation instructions in Clojure layer
The previous installation instructions suggested that you install lein
via your OS package manager, but since the minimum required version to
run the plugins is 2.5.2 and some OS package managers are still
packaging versions in 1.x, linking to the official install instructions
is better.

Fixes #5612
2016-03-30 18:52:31 -04:00
Paul Schorfheide 0f76d52166 Add hoogle to list of packages for haskell layer 2016-03-30 18:49:18 -04:00
Paul Schorfheide ac71e1064c Update documentation for shell layer to support left or right position 2016-03-30 18:46:57 -04:00
syl20bnr 8085a87627 Update Layers.org 2016-03-30 17:51:16 -04:00
syl20bnr 6018ce6370 faust: fix image link in README.org 2016-03-30 17:51:16 -04:00
syl20bnr c4d9ca8fba spacemacs layouts and workspaces tweaks
- add `l` to workspace transient state to go back to layout transient
  state
- remove erroneous `l` and `h` keys on layouts transient state
- unique documentation toggle for layouts and workspaces
- reformat and sort transient states documentation
2016-03-30 14:29:55 -04:00
syl20bnr bf9f281269 ruby: use :toggle and fix location or ruby-mode 2016-03-27 15:52:43 -04:00
syl20bnr 6e0a76f8ca go: set location property of go-oracle to site
instead of local
it had no bad side effect but `site` is the correct value for a package
that comes from somewhere else on the system.
2016-03-27 12:22:14 -04:00
syl20bnr a9c9e9a7ae Add lazy install support for windows-scripts 2016-03-26 03:38:46 -04:00
syl20bnr 5495c8dff2 python: correctly mark python package as built-in 2016-03-26 03:24:35 -04:00
syl20bnr dd14afaf26 workspaces: new workspace clones the current one
Fixes #5566
2016-03-25 10:37:03 -04:00
syl20bnr 48fa6107e8 Add lazy installation support for csv files 2016-03-25 01:29:57 -04:00
syl20bnr 63df395975 Fix eyebrowse error when syncing layers
Fixes #5573
2016-03-25 01:12:30 -04:00
syl20bnr a33b0d02c7 Revert unwanted change in previous commit 2016-03-25 01:11:32 -04:00
syl20bnr fa8271d689 Add entries in auto-layer.el 2016-03-25 01:03:47 -04:00
syl20bnr 16afe67907 core: enhance lazy installation of layer
Now Spacemacs will ask for layer installation when opening a file with
a known file type.
The auto-mode-alist entries are added by the file auto-layer.el in
the layers directory.

Easy insert of forms for lazy initialization can be done with the
interactive function configuration-layer//insert-lazy-install-form.

Change default value of dotspacemacs-enable-lazy-installation to t.
2016-03-25 01:03:37 -04:00
Nathaniel Waisbrot 0a61440101 Add a layer for nginx config files 2016-03-24 22:02:40 -04:00
syl20bnr 130cd48d03 graphviz: update key bindings and smartparens support
Change the key bindings:
- Remove SPC m p
- Better support for double leader keys for preview (,, and M-m M-m)
- Graph indentation on SPC m =

Add support for smartparens when it is used for {} pair.

Update the doc.
2016-03-24 21:54:54 -04:00
luxbock 87db0174a2 Adds Graphviz layer
- Uses a forked version of graphviz-dot-mode.el with a local install.
  Upstream PR: ppareit/graphviz-dot-mode#18
2016-03-24 19:46:47 -04:00