Commit graph

594 commits

Author SHA1 Message Date
Kechao CAI
c3fae7dd05 Latex layer: Add shortcuts for fill and comment 2016-02-27 15:00:08 +01:00
Eivind Fonn
4ed7ebe49d Update previous comment 2016-02-27 14:56:42 +01:00
Andrew Cates
b6a27e931b fix typo for js2-imenu extras mode 2016-02-27 14:56:21 +01:00
Boris
a18998ccfd update lua readme
Add a note about luacheck
2016-02-25 20:32:12 +01:00
Patrik Plihal
097887104f add 'cider-apropos functionalty to clojure layer 2016-02-25 20:31:31 +01:00
Severen Redwood
7900862a64 Mention support for Slim and Jade templates in the HTML layer docs 2016-02-25 20:30:48 +01:00
darkfeline
6d331bc5a4 Fix pylookup binding
Fix pylookup binding
2016-02-24 23:18:56 -08:00
Rodrigo Setti
45043e7142 Add prefix names for racket-mode key bindings 2016-02-23 20:56:24 +01:00
mahinshaw
8029222b26 Add mapping for switching between repl connections. 2016-02-23 20:51:07 +01:00
panicbit
8afd46a1c1 Add Rust support in markdown files 2016-02-23 20:48:13 +01:00
justbur
e69d5500bc evil-jumps: Fix old function names
evil-jumper--push is now evil--jumps-push
2016-02-23 20:45:18 +01:00
Alejandro Catalina
bdd702dfbe evil: enter insert-state only from normal-state 2016-02-23 20:42:59 +01:00
Fredrik Bergroth
48d05d3182 rustfmt: Remove obsolete package
This package was merged into rust-mode.
2016-02-23 20:42:25 +01:00
Eivind Fonn
cdd404bbeb Use :toggle for srefactor 2016-02-23 20:38:50 +01:00
Magnus Therning
0455f215a0 c-c++: Add notes on related layers.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Magnus Therning
fe99ad671e c-c++: Remove srefactor from static package list.
It should only be added to the list if emacs version > 24.4.

Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Magnus Therning
6e64e08f06 c-c++: Set paths for C headers from clang.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Alejandro Catalina
d68542e7da cider: yet another missed occurrence 2016-02-18 23:30:38 -05:00
syl20bnr
2fef64ea7d Remove conditions in packages-funcs.el
Package list is not yet available when packages-funcs.el files are
loaded.
2016-02-17 16:13:24 -05:00
JAremko
8628e45fd3 add typescript fmt
fixed typo

reordered packages

made formatting off by the default

fixed docs

fixed docs... Again

fixed docs... Like 3-d time

fixed docs... Did I?

I CAN DO IT!

hooked named function instead of lambda
2016-02-17 00:05:47 -05:00
Syohei YOSHIDA
4227404c29 Disable company-quickhelp-mode only when it is already enabled 2016-02-17 00:04:22 -05:00
Carlos Galdino
874e67b6ec Show function signature for Golang buffers.
This fixes #4368.
2016-02-16 23:59:51 -05:00
William Casarin
5dbc758499 haskell: Add all haskell-mode keybindings to literate-haskell-mode 2016-02-16 23:30:40 -05:00
adrsta
b7eda6f014 added name "preview" to p-prefix 2016-02-16 23:16:01 -05:00
Bailey Ling
45acd03df3 Include plantuml as a babel language if jar is defined 2016-02-16 23:14:53 -05:00
Alejandro Catalina
7d2181bd47 fix renamed cider-test-run-tests function
The function was renamed in recent commit to cider-test-run-ns-test, see
568263143b (diff-f8e2b8e5fa0f8c5cda946e72ab461994R572)
for more info.
2016-02-16 23:05:05 -05:00
Eivind Fonn
f3a15840b9 Add anaconda-eldoc-mode 2016-02-16 23:02:07 -05:00
justbur
aab007d225 evil-jumper: Remove obsolete package
The functionality is now incorporated into the evil core and this
package has been marked as obsolete.
2016-02-16 21:23:07 -05:00
Eivind Fonn
6f09ab5c07 Fix name of shell script function 2016-02-15 14:05:45 +01:00
syl20bnr
388ea21e75 elm: move functions and config to packages-funcs and packages-config 2016-02-14 23:55:34 -05:00
Alejandro Catalina Feliú
ed95c18610 elm: fix flycheck not working on subdirectories 2016-02-14 23:42:18 -05:00
Adam Sokolnicki
121fb065ee Add bundle-open keybinding to the ruby layer
Also add missing information about `bundler` package to the README.
2016-02-14 23:41:06 -05:00
Joe Hillenbrand
2af4633b4d Add company-shell to shell-scripts layer 2016-02-14 23:21:37 -05:00
William Casarin
dbf0fa3a9a haskell: update broken hoogle-lookup-from-local
It was renamed to haskell-hoogle-lookup-from-local in:

44b5420829 (diff-7d97c622509a7bc5ed311b9ef7719095R110)
2016-02-14 23:18:10 -05:00
Sebastian Wiesner
bbdda23469 html: Don't enable web-mode for jsx files
- Conceptually it just doesn't feel right: JSX is no HTML, this would be the wrong layer.
- There's a react layer that provides dedicated JSX support.
- And there are other modes for JSX (js2-jsx-mode for instance) that user might want to use,
  without affecting Web Mode for template files.
2016-02-14 23:17:55 -05:00
syl20bnr
86003bfc75 Elixir: move function to packages-funcs.el and prefix it 2016-02-14 23:15:39 -05:00
Mario Mainz
c476c03360 Remove ruby-end-mode and use smartparens instead
ruby-end-mode does not always behave correctly. An example for that is
if statements, which don't have an end statement if they are written on
one line. Also, it feels dirty to use a Ruby package to implement Elixir
syntax behaviour.
Smartparens has functionality to define pairs for certain major modes.
This adds smartparens pairs for the "do" keyword and the arrow (->)
operator, so that the "end" keyword is automatically inserted and
properly indented on enter.
2016-02-14 23:13:05 -05:00
Adam Sokolnicki
c4cf602255 Add missing keybindings to rspec-mode in ruby layer
Commands `rspec-toggle-spec-and-target` and
`rspec-toggle-spec-and-target-find-example` were missing.
2016-02-07 14:49:32 +01:00
Fabien Dubosson
06cb27e1dc [doc] Fix some additional SPC : to SPC SPC 2016-02-07 14:39:54 +01:00
Eivind Fonn
f94263919b Fix previous commit 2016-02-04 19:31:47 +01:00
Eivind Fonn
1df4cfe206 Get clang args even if flycheck isn't installed 2016-02-04 14:09:35 +01:00
Jaakko Luttinen
34df7b03b0 Add key binding for going back in anaconda mode
There are keybindings `C-o` and `M-*` to go back already, but it could
be a good idea to add an entry to `SPC m g` (or `, g`) menu where the
other movement commands are.
2016-02-02 21:23:17 +01:00
Nate Wolfe
003b26ed83 [puppet] Use ruby-mode for Puppetfile support
The package 'puppetfile-mode' is no longer available as it's considered
redundant with ruby-mode, which should now be the mode to use for
"Puppetfile" files.
2016-02-02 21:15:26 +01:00
Utkarsh Kukreti
4de7c3df5f Enable emmet-mode in sass and scss modes. 2016-02-02 16:48:37 +01:00
Eivind Fonn
b9939b19d8 Use built-in web-mode pairing 2016-02-02 16:34:45 +01:00
Bart Brouns
723a27c424 use faust-mode from melpa 2016-02-01 14:13:52 +01:00
Fredrik Bergroth
8f991e33f2 Add keybinding for sh-backslash-region 2016-02-01 00:15:42 -05:00
Jerry Peng
14e090af19 scala: support replacing ascii arrows with unicode ones
Add a configuration option `scala-use-unicode-arrows` to
the scala layer, which when enabled replaces `->`, `=>`
and `<-` with corresponding unicode characters (Scala
supports unicode arrows natively).
2016-02-01 00:14:59 -05:00
Robert O'Connor
7d82e576ab Add plantuml layer
Adds support for PlanetUML, a tool to generate
UML diagrams from plain text.
2016-02-01 00:07:54 -05:00
syl20bnr
d924f036f9 TypeScript: change key bindings to be more conventional
To follow conventions and omnisharp bindings the following changes have
been made:
SPC g m --> SPC g t
SPC r --> SPC g u
SPC h d --> SPC h h
SPC s --> SPC s r
SPC n r --> SPC r r
2016-02-01 00:04:49 -05:00
JAremko
7a80049fa4 replaced typescript layer
fixed docs

Better docs, added linter and tsx mode

fixed typo

made TSX optional
2016-01-31 23:56:14 -05:00
syl20bnr
cc42fc31f9 Register ESS REPLs separately 2016-01-31 23:41:40 -05:00
Eivind Fonn
e29ac21345 Register all REPLs and make SPC m ' bindings 2016-01-31 23:39:25 -05:00
Eivind Fonn
e9f8377b92 Tweak flycheck loading process 2016-01-31 23:04:48 -05:00
Martino Visintin
a5fdf43845 substitute align-cljlet with clojure-align
align-cljlet was deprecated in favour of the vertical alignment in the
clojure-mode package.
2016-01-31 23:04:48 -05:00
Balaji Sivaraman
2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
Fabien Dubosson
56115e9bce Fix table alignment in SQL README 2016-01-31 21:48:52 +01:00
Xue Fuqiao
4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Fabien Dubosson
7f201b5b98 Fix parenthesis code style in Python packages 2016-01-31 21:48:52 +01:00
Christoph Paulik
0cd242315b Add live-python mode to python layer as extension 2016-01-31 21:47:18 +01:00
syl20bnr
45def1ec60 core: Add support for lazy installed layer.
New function configuration-layer/lazy-install to add support for
lazy installation of layers based on auto-mode-alist emacs mechanism.

This is essentially the Prelude feature but translated at the layer
level for Spacemacs.

New dotspacemacs variable to enable this feature:
dotspacemacs-enable-lazy-installation
For now this variable is set to nil by default, it will be put to t when
the feature is stable.

POC with elixir layer.
2016-01-31 00:10:14 -05:00
syl20bnr
5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
syl20bnr
64adeb66ad ruby: add comment for rspec-mode config. 2016-01-26 01:47:25 -05:00
Oleg Ivanov
1a84cc15b8 do not force rspec-mode on ruby files 2016-01-26 01:21:02 -05:00
Christoph Paulik
f50859ab97 Revert "Set global pyenv version if no .python-version file exists"
This reverts commit bddf9de8f1.

When pyenv-auto-set-local-pyenv-version is set to 'on-visit then this
switched the python version when e.g. using jump to definition.
2016-01-26 01:21:02 -05:00
justbur
7a0933f4af ipython-nb: Fix transient-state doc 2016-01-26 01:21:01 -05:00
justbur
e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur
484c56342a ipython: Translate ipython-notebook micro-state 2016-01-26 01:20:59 -05:00
justbur
81a56c2cd7 web-mode: Translate web-mode micro-state 2016-01-26 01:20:59 -05:00
justbur
f19e54e06e agda-mode: Translate goal-navigation micro-state 2016-01-26 01:20:59 -05:00
justbur
dbd9725c39 spacemacs(-base): Translate micro-states to use new macro
1. spacemacs: scroll
2. spacemacs-base: paste
3. spacemacs-base: macrostep
4. spacemacs-base: transparency
5. spacemacs-base: scale-font
6. spacemacs-base: wind-manip
7. spacemacs-base: buffer
8. spacemacs: symbol-highlight
9. spacemacs: move-text
10. spacemacs: zoom-frm
11. spacemacs: evil-numbers
2016-01-26 01:20:59 -05:00
Christoph Paulik
0057df5cf5 Only load pyenv if it is installed
fix #4779
2016-01-24 14:42:59 +01:00
Christoph Paulik
bddf9de8f1 Set global pyenv version if no .python-version file exists 2016-01-23 17:09:52 +01:00
Eivind Fonn
3271dbcf0f Move rspec popwin config to ruby layer 2016-01-23 17:08:18 +01:00
Eivind Fonn
0f5d576ada Re-add py-yapf 2016-01-23 15:00:23 +01:00
Eivind Fonn
bedf807128 Fix ielm initialization and register as REPL 2016-01-22 16:31:42 +01:00
bogdanteleaga
6371784b2e Change regex to accomodate cases where there's no test suite 2016-01-22 15:50:43 +01:00
Eivind Fonn
a15f0f940c Move ahs setup to own function 2016-01-21 21:57:20 +01:00
Alejandro Catalina Feliú
6b4b15305e Add support for auto-highlight-symbol in lisp-mode 2016-01-21 21:57:20 +01:00
bogdanteleaga
ef140f37c5 Improve indentation in golang 2016-01-21 21:53:52 +01:00
Ernestas Lisauskas
28907bbeff Add development notes to Clojure's Readme
Related to #4608
2016-01-21 21:53:52 +01:00
Sébastien Bariteau
91c1528ef8 ipython-notebook: Fix typo in layer name in doc. 2016-01-21 21:46:59 +01:00
syl20bnr
ba403b2df1 javascript: improve REPL
- add send region
- add send and focus functions
- add toggle for livid-mode
- lazy start the http server
2016-01-21 11:52:47 -05:00
Daniel Luna
c035bca52c Added JS repl via skewer-mode and livid-mode. 2016-01-21 11:52:47 -05:00
Eivind Fonn
e51cf6e863 Remove no-op use-package 2016-01-21 16:20:17 +01:00
Tu Do
58444a2daf Add common-lisp-snippets packages
This package contains useful snippets for Common Lisp.
2016-01-21 16:18:24 +01:00
Eivind Fonn
54fd0c1c55 Remove unnecessary :mode for thrift 2016-01-21 16:04:45 +01:00
secwang
70bb733dc2 Add thrift mode in extra-langs layer. 2016-01-21 16:02:54 +01:00
syl20bnr
d3961f397c csv layer: sort key bindings 2016-01-18 01:26:06 -05:00
syl20bnr
9d42e055c2 csv: defer loading, add image and author 2016-01-18 01:23:25 -05:00
William Casarin
47250b0687 csv layer 2016-01-18 01:11:50 -05:00
Balaji Sivaraman
f63a2f4315 Link to official docs for setting config variables in JS layer readme 2016-01-18 00:33:01 -05:00
William Casarin
362b6998cf haskell: add helm-hoogle, bind to mhf 2016-01-18 00:28:00 -05:00
Ernestas Lisauskas
e2be2b9a37 Remove Clojure indentation rules
1. There is a new syntax for the indentation rules.
2. These rules are library specific and not from the core language.
2016-01-18 00:05:42 -05:00
syl20bnr
33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
Syohei YOSHIDA
aec2437071 Don't call exec-path-from-shell function on Windows 2016-01-13 00:43:30 -05:00
rustyplanet
4265e0e35c make curly braces optional for the R language indication in markdown 2016-01-13 00:42:59 -05:00
rustyplanet
1bff8a2f61 add ESS (R-mode) support to markdown files 2016-01-13 00:42:59 -05:00
fenxian
1ce399d24f Fix key binding part in c-c++/README.org 2016-01-13 00:12:45 -05:00
syl20bnr
408e710e39 asm: clean up and tweaks
- Fix typos in README.org
- Add missing image
- Remove unecessary post-init functions
- Move SPC m h to SPC m h h to follow conventions
- Add correct copyright attribution
2016-01-11 22:58:57 -05:00
Tu Do
4675760cf5 Add asm-layer 2016-01-11 22:35:37 -05:00
isphinx
aaa94b012e rust: format rust code using rustfmt 2016-01-11 22:01:48 -05:00
Alejandro Catalina Feliú
1ec305463d Add javascript support on markdown
Enable syntax highlighting.
2016-01-11 21:45:13 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Chris Barrett
de4c7502c0 Remove reference to undefined fn haskell-cabal-hook
Resolves #4512
2016-01-11 01:13:10 -05:00
Fredrik Bergroth
c9e459fd14 Clean up rust layer 2016-01-11 01:13:10 -05:00
Fredrik Bergroth
c302ae4e67 Properly read version in .python-version
Fixes #4514
2016-01-11 01:13:09 -05:00
Will Maier
6d8222cedc Avoid clobbering golang variables
Instead of checking for our platform, simply test if the variables have
already been set. If not, let exec-path-from-shell figure out the right
values.
2016-01-11 01:13:09 -05:00
Fabien Dubosson
36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
justbur
b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
syl20bnr
3494f92a39 csharp: fix typo in doc 2016-01-08 22:42:14 -05:00
syl20bnr
ae64d5b955 python: sort key bindings 2016-01-08 22:37:35 -05:00
Andrew Vasilyev
60d06e2c29 Add more commands to omnisharp layer 2016-01-08 21:19:52 +01:00
Christoph Paulik
d4dfb385e7 Improve Python virtual environment docs and keybindings
Inspired by the discussion in
https://github.com/syl20bnr/spacemacs/issues/2841 I thought it was
useful to improve the Documentation and provide keybindings for all the
useful `pyvenv` functions.
2016-01-08 21:04:28 +01:00
Michael Hauser-Raspe
f3f6988f0a remove tern port files 2016-01-08 20:59:08 +01:00
Eivind Fonn
0d273485ae Fix rbenv loading 2016-01-06 23:33:12 -05:00
syl20bnr
cacc893c1d ocaml: move smartparens config to post-init function 2016-01-06 00:40:57 -05:00
Török Edwin
5b3719845a delay sp-local-pair initialization until after smartparens is loaded
otherwise on startup sp-local-pair wasn't set, but after 'SPC feR' it was.

use with-eval-after-load
2016-01-06 00:34:28 -05:00
justbur
50ade79bc8 emacs-lisp: Fix mode hook
Fix incorrect use of spacemacs/add-to-hook which used emacs-lisp-mode
for the hook variable. Since we are only adding a single function to the
hook, just use add-hook.
2016-01-06 00:29:00 -05:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Sebastian Wiesner
f707993d2e scala: Fix typo in variable name
Sorry :(
2016-01-05 00:44:10 -05:00
syl20bnr
a9f9c1bd97 Fix some links in README.org files 2016-01-04 02:00:18 -05:00
syl20bnr
b0e4232868 latex: move folding on SPC m z and update doc 2016-01-03 23:51:19 -05:00
Diego Berrocal
877fc32eb7 Add Align-cljlet function to Clojurescript mode
Derived modes don't inherit evil keybindings from their parents, this is
interesting to note, also it would be so great if we could have a
`set-leader-keys` macro that could take a list of modes as well.
2016-01-03 22:23:13 -05:00
Fabien Dubosson
6cb7399cac Change SPC f e h to SPC h SPC for helm-spacemacs default binding
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.

The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Bjarke Vad
5c92f7dc2c [haskell-layer] Fixed ghci-ng for stack projects 2016-01-03 22:23:12 -05:00
justbur
93cfc876a6 latex: Add tex-fold-mode option and reorganize
Add the latex-enable-folding variable which turns on TeX-fold-mode and
adds some related bindings.

Reorganize the layer:
1. Move reftex into packages.el and delete the extensions file.
2. Don't duplicate the binding of keys. Use a loop to bind in tex-mode
   and latex-mode. Then just add the additional latex-mode bindings
2016-01-03 22:23:12 -05:00
justbur
f3d3404bdb latex: Fill out bindings some more
1. Add ,, and ,k for C-c C-c and C-c C-k.
2. Add useful auctex commands (C-c C-[key] => ,[key]).
2016-01-03 22:23:12 -05:00
justbur
9051fffd7c latex: Fix enabling of minor modes
TeX-PDF-mode and TeX-source-correlate-mode are minor modes with the
usual functions. They should be enabled using the functions and not by
setting the variables as their docstrings both state.
2016-01-03 22:23:12 -05:00
Justin Holguin
d9e42e4c28 idris: use popwin/motion state for special buffers
Idris development results in a lot of transient popup buffers, which
the layer currently doesn't handle particularly well. This commit uses
popwin so that these special buffers appear in a predictable location
and opens them in motion state so that they can be closed immediately by
pressing ~q~.

These changes are largely based on the Clojure layer, which has worked
very well in my experience.
2016-01-03 22:23:11 -05:00
Sebastian Wiesner
c8e1ee0026 scala: Automatically insert asterisk in multiline comments 2016-01-03 22:23:11 -05:00
Sebastian Wiesner
ffb4eded3a Keep cleaning up whitespace in scala-mode
Remove the advise around scala-indent
2016-01-03 22:23:11 -05:00
isphinx
9b0ae1d214 rust: add a keybinding for jump to definition 2016-01-03 22:23:11 -05:00
Jean-Christophe Petkovich
421b49c7e5 Change octave-mode keys to mirror other modes.
The keybindings in octave-mode don't follow the same standards as the
others. Also use the function `spacemacs/set-leader-keys-for-major-mode`
for setting mode specific keys.
2016-01-03 14:29:49 -05:00
Eivind Fonn
02585f72a2 Fix ruby-end hook removal 2016-01-03 15:49:38 +01:00
Fabien Dubosson
92bc0049e8 Change order of arguments in (equal …) to be more explicit 2016-01-03 15:12:56 +01:00
Luke Burton
5fc1033815 Unquote ruby-version-manager variable (fix #4289) 2016-01-03 15:11:11 +01:00
Fabien Dubosson
3e570dd595 Fix markup and justification in Rust auto-completion documentation 2016-01-03 14:32:03 +01:00
Immortalin
66402eb406 Add rust auto-completion documentation 2016-01-03 14:26:39 +01:00
Eivind Fonn
dee5d7369c Fix haskell SPC mht and SPC mhi 2015-12-29 17:33:33 +01:00
Fabien Dubosson
275f645f94 Fix web-mode and erc-log micro-states bindings
Without this change, `erc-log-micro-state` is overriding all `SPC m .`
bindings, and `web-mode` micro state is under `SPC m m .`.
2015-12-21 00:57:48 -05:00
justbur
0b02475772 Use built-in evil functions to set default states
evil-set-initial-state is safer than manually adding and deleting from
the lists, because it knows about all available states and ensures that
the mode only shows up in one list. If it is in multiple list the
initial state depends on which is checked first, which we don't want.
2015-12-21 00:22:18 -05:00
syl20bnr
8d76f600b2 purescript: move SPC m m t to SPC m h t
by convention
2015-12-19 22:51:01 -05:00
Christoph Hegemann
acd3ffcdd3 adds psc-ide support to purescript layer 2015-12-19 22:49:00 -05:00
KK
5dfbc5f3cd Update package version in Quick Start with lein 2015-12-19 22:35:00 -05:00
syl20bnr
db5901b3be python: Remove call to dash -when-let
Plus remove unnecessary defer t
2015-12-19 22:33:24 -05:00
Fredrik Bergroth
577e7b2d86 Auto-activate local pyenv version 2015-12-19 22:30:07 -05:00
Michel Kuhlmann
4ff861dbef ess: fix company-mode 2015-12-12 23:01:43 -05:00
Eivind Fonn
ac0ba50154 Make flycheck/flyspell hooks more explicit 2015-12-11 02:08:55 -05:00
Darian Moody
a221be59a6 Add leader support for alchemist-mix-rerun-last-test
A command in Alchemist which allows a user to rerun the last test ran.

See https://github.com/tonini/alchemist.el#testing for command docs.
2015-12-11 02:08:23 -05:00
Joe Hillenbrand
310a6c9a9c haskell: haskell-process-load-or-reload is obsolete
Fixes:

    `haskell-process-load-or-reload' is an obsolete command (as of
 2015-11-14); use `haskell-process-load-file' instead.
2015-12-11 02:06:26 -05:00
syl20bnr
f20dfec4db ruby: use post-init func for smartparens config 2015-12-11 01:55:37 -05:00
Bar Magal
995a5a0f88 Fix early call to smartparens in ruby
sp-with-modes was called before smartparens was loaded, so wrap it in a
with-eval-after-load.
2015-12-11 01:49:01 -05:00
Jonathan del Strother
a62da0f4ae Add ,tb binding for rspec-verify 2015-12-11 01:48:32 -05:00
Tim Buchwaldt
724efaaa79 Add new alchemist-iex-reload-module functionality
Since https://github.com/tonini/alchemist.el/commit/395e6717
calling `alchemist-iex-reload-module` reloads the module in
the current buffer via `r(Module)`

(Also my first contribution to spacemacs, hope I'm holding it right)

Update Readme to reflect changes to packages.el
2015-12-11 01:36:16 -05:00
Eivind Fonn
98c07024f9 Fix flycheck clang args loading (zhengyangfeng00) 2015-12-09 12:35:06 +01:00
Eivind Fonn
549219e583 Fix C/C++ flycheck hooks 2015-12-09 12:18:20 +01:00
syl20bnr
9151f4b7e8 octave: update README and change SPC m h d for SPC m h h 2015-12-09 01:30:01 -05:00
Ista Zahn
b0945bef20 add octave layer
add octave layer
2015-12-09 01:27:26 -05:00
Joe Schafer
52a27af171 emacs-lisp: add missing keys to lisp-interaction 2015-12-06 01:10:00 -05:00
Daniel Luna
e9684f34a2 ruby: add rspec key bindings 2015-12-05 21:36:21 -05:00
syl20bnr
f1ee2c7333 ruby: update doc 2015-12-05 21:19:18 -05:00
syl20bnr
c8ac0c08a9 ruby: remove unused variable ruby-use-ruby-test 2015-12-05 21:08:45 -05:00
syl20bnr
4ef8fcac78 ruby: sort packages and configuration 2015-12-05 21:08:22 -05:00
syl20bnr
9eb8f86b9a ruby: improve configuration for rbenv and rvm
Update documentation
2015-12-05 21:02:40 -05:00
syl20bnr
d1ec732cd4 ruby: improve chruby configuration
Look for a .ruby-version file, if it does not exist then use the
currently activated ruby.

Update documentation.
2015-12-05 20:40:27 -05:00
Immortalin
c5e260f46d ruby: chruby support 2 2015-12-05 20:01:52 -05:00
Bo Jeanes
db5016d75b ruby: Add chruby support 2015-12-05 19:59:42 -05:00
justbur
899123258a keys: Don't specify C-i as a binding key
(kbd "C-i") == (kbd "TAB") so for consistency sake we always bind to TAB
by convention.
2015-12-05 13:18:37 -05:00
Diego Alvarez
adc9f6cda0 Update Readme with latest ensime-sbt version
Added a note to use sbt 0.13.9 and remove unnecessary sonata repository
from the instructions.

Finally removed a link to a non existent page and added a link to
ensime-sbt GitHub page for further instructions.
2015-12-04 00:06:10 -05:00
mike-work
b358f6c7f7 added gorename to docs 2015-12-03 23:59:43 -05:00
hyh
979867447e Fix makefile for python version 2.7.10 2015-12-03 23:59:15 -05:00
Sebastian Wiesner
dc9459305e haskell: Fix command name 2015-12-03 23:54:57 -05:00
syl20bnr
e9f8653a34 Update layer REAMDE title for swift and elfeed 2015-12-03 23:51:31 -05:00
Eivind Fonn
c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
syl20bnr
afca744880 swift: various fixes
Remove Emacs column in README tables
Update README headers
Use post-init function instead of layer-usedp
Clean stand-alone closing parentheses
Replace deprecated evil-leader/set-key-for-mode
2015-12-03 23:46:52 -05:00
Uri Sharf
bc20b25300 Swift support initial import 2015-12-03 23:34:01 -05:00
Boris
c9de044549 fix typo in haskell readme
Sorry, someone just told me that this script is not working :-P
2015-12-03 13:52:43 +01:00
Jenan Wise
d850fbc9aa declare-prefix-for-mode for all derived clojure-modes.
Previously, prefixes only worked for `.clj` files, not `.cljs`, `.cljx`,
or `.cljc`. `clojure-mode.el` defines derived major modes for each of
those other filetypes.

In other parts of the clojure layer, `(dolist (m '(...` is used to apply
effects to all of the derived modes, but it was missing from the usage
of `spacemacs/declare-prefix-for-mode`.

`cider-repl-mode` was also added to this list.
2015-11-29 12:15:06 +01:00
Jenan Wise
8998c1de71 Declare prefixes for go layer. 2015-11-29 12:14:44 +01:00
Alex Charlton
2e717e8ca5 Declare helm prefixes for scheme layer 2015-11-29 11:57:23 +01:00
Eivind Fonn
1ce8e28dc1 Fix smartparens loading in web-mode 2015-11-29 09:17:37 +01:00
Ben
fb62086b34 Binding added to open Tex-output-buffer 2015-11-28 15:03:05 +01:00
syl20bnr
c1446d3650 Revert "Binding added to open Tex-output-buffer"
`SPC m o` is reserved to the user.

This reverts commit f839f4a6b7.
2015-11-27 21:08:31 -05:00
Ben
f839f4a6b7 Binding added to open Tex-output-buffer 2015-11-27 10:32:51 +01:00
Aku Kotkavuo
d5a63a2794 Clojure: recommend using :repl profile with CIDER
See http://blog.maio.cz/2015/11/cider-slows-down-leiningen-startup-here.html.
2015-11-27 10:32:51 +01:00
Brenton Alker
94ae7b1b40 javascript: Declare prefix for "text" "move" menu 2015-11-27 10:32:51 +01:00
Diego Alvarez
bf0d4dc397 Fix period from triggering complete
Fixes https://github.com/syl20bnr/spacemacs/issues/2702
2015-11-27 10:32:51 +01:00
Eivind Fonn
2d4ee99843 Disable typo in LaTeX 2015-11-27 10:32:51 +01:00
Eivind Fonn
01b587ccf7 Add TeX-font bindings 2015-11-27 10:32:51 +01:00
Chris Perkins
57fd8b2504 clojure: use cljr--all-helpers for refactorings
clj-refactor defines a list of all available refactorings, along with
the standard two-letter keybindings. Use it, so that spacemacs will get
any added refactorings for free, with no code-change needed in the
clojure layer.
2015-11-27 10:32:51 +01:00
Muneeb Shaikh
4ce11551ec Fixed undefined (ruby-)mode which key prefix declaration
* layers/+lang/ruby/config.el (ruby-mode): Fix
2015-11-27 12:33:40 +05:30
syl20bnr
7e0d8f2d32 ruby: replace ruby-use-ruby-test by ruby-test-runner
Also cleanup configuration.
2015-11-27 00:28:38 -05:00
Alex Girdler
cf5bc0a634 ruby: Add support for botch rspec and ruby-test
Add more keybinds and update README
2015-11-27 00:11:01 -05:00
syl20bnr
ecf237af18 ruby: correct prefix command name for RuboCop 2015-11-26 23:57:33 -05:00
syl20bnr
5b99a60617 ruby: update RuboCop bindings
Make them available in both ruby-mode and enh-ruby-mode
2015-11-26 23:55:43 -05:00
Daniel Luna
3d64532047 Adding rubocop to ruby layer 2015-11-26 23:40:18 -05:00
syl20bnr
3624ff2eb8 scheme: update documentation 2015-11-26 23:34:11 -05:00
Diego Berrocal
062a89f8e5 Add Scheme Leader keybindings for evaluation (,ee)
This was missing
2015-11-26 23:30:36 -05:00
troydm
e8d3ecee0e scheme implementation selection keybinding added for scheme layer 2015-11-26 23:29:16 -05:00
tcallan
54fda31f6d elm: fixed misnamed function in repl bindings
When pull request #3855 was cherry picked in (due to conflicts),
spacemacs/elm-repl-push-decl-focus was incorreclty referenced as
spacemacs/elm-repl-push-decl in the keybindings.
2015-11-24 17:38:24 +01:00
syl20bnr
093ae18d26 yaml: enable company 2015-11-24 09:56:10 -05:00
Robert O'Connor
a842d5bdf8 company-nim is now bundled with nim-mode
Fixes #3935
2015-11-24 15:47:07 +01:00
tcallan
881ac19114 elm: fix incorrect bindings
Upstream elm-mode renamed REPL related functions from *-elm-repl to
elm-repl-*, but the elm layer was still referencing the old names (except
for elm-repl-load which had previously been fixed).
2015-11-23 20:32:48 +01:00
Eivind Fonn
1b54bb4ebd Move elm prefixes to packages.el 2015-11-23 20:27:36 +01:00
Brenton Alker
426d500574 elm: define key binding prefixes for major mode 2015-11-23 20:25:23 +01:00
d12frosted
4b9b61e5a0 [haskell] fallback to interactive mode
When user disabled ghc-mod, haskell mode should fallback to interactive
mode, so type bindings (and some others) are working properly. It's also
useful for ghci-ng users, but doesn't affect ghci-ng-only bindings.

Fix #3777
2015-11-23 20:23:11 +01:00
justbur
8ed77160bb layers: Fix missing owner for some layers
This is a partial fix for #3493. I didn't touch layers where I can't
tell what the intention was for how it should work.
2015-11-23 20:22:38 +01:00
Eivind Fonn
ddcc697213 Clean up scala-eldoc code 2015-11-23 20:09:57 +01:00
Diego Alvarez
a92cf03093 Disabled automatic eldoc-mode in scala layer
A conf var is provided to enable it automatically.
Default is null.
2015-11-23 20:06:39 +01:00
Eivind Fonn
0e919507ee Insert missing HTML_HEAD_EXTRAs 2015-11-23 14:09:16 +01:00
Eivind Fonn
7c28986192 Fix some broken documentation 2015-11-23 13:57:27 +01:00
Fabien Dubosson
3a5c375c6c Correct forgotten python major mode bindings 2015-11-22 18:45:12 +01:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn
e7fbc84ff0 Remove package guards for evilified
See discussion in #3879
2015-11-21 11:07:14 +01:00
justbur
b294461957 evilified-state: Make into local package 2015-11-18 23:35:01 -05:00
Sebastian Wiesner
607d0549f3 Don't set match data needlessly 2015-11-16 12:39:42 +01:00
Wieland Hoffmann
602a21beb9 python: list the correct keybindings for interacting with pyenv 2015-11-16 12:39:16 +01:00
Ben
bb2ca5117d Spelling correction in funcs.el file (latex layer) 2015-11-16 12:39:00 +01:00
Eivind Fonn
c609f48cba Refactor zsh shell-script code
- Move to packages.el
- Give setup function an explicit name
- Guard for non-file buffers
2015-11-15 12:49:49 +01:00
Eivind Fonn
6887320420 Fix up latexmk code
- Use a use-package hook instead of eval-after-load
- Set auctex-latexmk-inherit-setup during init
- Don’t set TeX-command-default in hook
2015-11-14 15:10:26 +01:00
Ista Zahn
852ec8fb41 Configure latexmk as the default build command 2015-11-14 15:10:17 +01:00
Eivind Fonn
38e48aa95d Highlight TODO keywords in all prog modes
Also make the colon optional
2015-11-14 00:34:05 -05:00
Eivind Fonn
c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
taksuyu
b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
d12frosted
2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Eivind Fonn
7c3d679a40 Update elm docs for elm-repl-load 2015-11-09 18:57:22 +01:00
Justin Holguin
6fdc2a2e40 elm: fix incorrect binding for elm-repl-load
The function that loads a new Elm REPL is `elm-repl-load`, but it was
incorrectly referenced in the elm layer as `load-elm-repl`.
2015-11-09 18:56:27 +01:00
Matthías Páll Gissurarson
9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
ralesi
e29125e4a6 Use q to exit macrostep
If `macrostep-mode` is entered separate of micro-state, there is no
normal mode mapping that will exit it.
2015-11-03 00:00:55 -05:00
Sebastian Wiesner
1a7bc42089 scala: Enable Ensime’s Expand Region integration
See https://github.com/ensime/ensime-emacs/pull/263
2015-11-03 00:00:55 -05:00
Sebastian Wiesner
02542d6996 scala: Fix bindings for Ensime test commands 2015-11-03 00:00:55 -05:00
Fabien Dubosson
f3b99d6edf Make OCaml-generated files invisible to completion 2015-11-03 00:00:55 -05:00
syl20bnr
bb80e94d38 haskell: replace lambda with a named function 2015-11-03 00:00:54 -05:00
d12frosted
4dc3b120a9 force haskell loading in cabal files
Fixes #335
2015-11-03 00:00:54 -05:00
Eivind Fonn
33a19b48fd Fix LaTeX flyspell hook 2015-11-02 21:25:11 +01:00
Eivind Fonn
13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
d12frosted
1e8504d06c add REPL key bindings to haskell-cabal-mode 2015-10-31 14:13:20 +01:00
d12frosted
59342f7cdb [haskell] fix REPL bring function
So now, instead of switching to it - `SPC m s s` shows REPL buffer
without switching to it.
2015-10-31 14:13:13 +01:00
Utkarsh Kukreti
89001ff7cb elixir: Bind "q" to 'quit-window in various elixir modes. 2015-10-31 14:09:34 +01:00
Utkarsh Kukreti
6aa2f7db29 elixir: Enable company-mode in alchemist-iex-mode. 2015-10-31 14:08:45 +01:00
bogdanteleaga
0917dc8337 Added more features for testing in golang layer 2015-10-29 19:42:32 +01:00
bogdanteleaga
9c7033cee5 Updated readme with example for goimports 2015-10-29 19:41:30 +01:00
Diego Berrocal
358b38cec5 Add python prefixes for python 2015-10-29 19:29:46 +01:00
d12frosted
e5c0891bb8 haskell-indentation is enabled by default
Fixes #3581
2015-10-29 19:16:51 +01:00
Eivind Fonn
ae47ac0671 Fix haskell layer paren bug 2015-10-29 14:11:26 +01:00
Eivind Fonn
7b8e996ec9 Fix ghc-mod variable name 2015-10-29 13:48:46 +01:00
Boris
775a6cd6cb don't push company-ghc when ghc-mod is disabled
Because it forces `ghc-mod`, so haskell layer doesn't respects the value of `haskell-enable-ghc-mod-support`.
2015-10-29 13:48:46 +01:00
d12frosted
95a7bb51b1 [haskell] add note about indentation reset 2015-10-29 13:48:46 +01:00
d12frosted
8583875632 update haskell layer documentation
- fix some inaccuracies
- add more notes about using ghc-mod
- add more notes about using ghci-ng
- add more notes about using shm
- add more troubleshooting
2015-10-29 13:48:46 +01:00
Wieland Hoffmann
104a1f8c9b Python: None of the keys start with m T, remove mention of it 2015-10-29 13:48:46 +01:00
Eivind Fonn
16e7ad2923 Clean up PATH documentation 2015-10-29 13:48:46 +01:00
d12frosted
a89a05ca9a add note about setting up $PATH 2015-10-29 13:48:46 +01:00
Eivind Fonn
f32f2f8ad8 Add company-css backend in web-mode 2015-10-29 13:48:46 +01:00
Eivind Fonn
405dc6600d Restore alphabetical order in markdown doc 2015-10-25 11:01:08 +01:00
Ista Zahn
ec7a318fc6 Utility function for starting ESS REPLs 2015-10-25 10:54:05 +01:00
Wieland Hoffmann
9d12307ce9 Fix the list of buffer-wide commands in markdown
The old list was completely wrong for some reason, so here's the correct
one, in the order the keybindings appear in packages.el.
2015-10-25 10:51:19 +01:00
Max Wofford
0fbafbc2da Fix typo in latex README
auto-fille-mode -> auto-fill-mode
2015-10-25 10:40:34 +01:00
Pierre Radermecker
5473d441d4 Remove guides to comply with latest haskell-mode
The visual guides have been removed from haskell-mode as of ee55de1 (#947)
2015-10-25 10:28:38 +01:00
sectorzero
5c0bbd1660 go layer : function to 'go run' on current 'main' package 2015-10-22 21:55:35 -04:00
sectorzero
5f40cc56fa go layer : import GO15VENDOREXPERIMENT from env
New Go package management tools will follow this env variable to
determine the location to look for dependencies
See : https://github.com/golang/go/wiki/PackageManagementTools
2015-10-22 18:46:23 -04:00
David Gu
47ce1707b6 Declare prefixes for elixir-mode 2015-10-21 17:31:04 -04:00
Sebastian Wiesner
7a7300ac42 Declare prefixes for Ensime keybindings 2015-10-21 17:29:39 -04:00
Sebastian Wiesner
9da101f1d7 Add prefixes for Ruby 2015-10-21 17:27:35 -04:00
d12frosted
da394374de fix inaccuracy in omnisharp readme file
Omnisharp-server is not included in this layer - only omnisharp-emacs.
Server is installed (as described) manually.
2015-10-21 17:22:44 -04:00
syl20bnr
bbd031d407 markdown: add doc for SPC m x C 2015-10-21 17:12:30 -04:00
Sebastian Wiesner
b8846361ad Add binding for markdown GFM code blocks
Also declare prefixes for markdown keys
2015-10-21 17:04:16 -04:00
Max Gonzih
7c8cc42480 Remove extension for flycheck-nim, use melpa package instead. 2015-10-21 20:34:19 +02:00
Wieland Hoffmann
70ecefe79b python/doc: Fix a link to pylookup 2015-10-19 00:29:49 -04:00
d12frosted
1c54ee534f add prefixes to haskell-mode bindings 2015-10-19 00:12:02 -04:00
syl20bnr
6e5924014c ruby: make the built-in ruby mode the default and...
... rename layer variable `ruby-use-built-in-ruby-mode` to
`ruby-enable-enh-ruby-mode`
2015-10-19 00:10:32 -04:00
Sebastian Wiesner
40f369ffa0 ruby: Enable built-in Ruby Mode
Enable built-in Ruby Mode, by default on Emacs 24.4 and newer where it
was significantly improved.  Otherwise keep using Enh Ruby Mode.

Add all keybindings to both modes, and provide a variable to change the
default mode.
2015-10-19 00:04:37 -04:00
justbur
44cb780f25 emacs-lisp: Use auto-compile package
Also add key bindings for compiling and showing the compile log.
2015-10-18 23:59:47 -04:00
Sebastian Wiesner
77d5a36dec Mark css-indent-offset as safe local variable 2015-10-18 23:42:32 -04:00
Sebastian Wiesner
6a60346b72 Only disable scala syntax checker in Ensime
Flycheck also includes a scalastyle syntax checker which is still
useful because Ensime doesn't have scalastyle support.
2015-10-18 22:12:28 -04:00
Sebastian Wiesner
cc9f1c1065 Bind mbb to sbt-command in scala layer
Provides a shortcut to run arbitrary SBT commands from scala mode
buffers
2015-10-14 00:29:30 -04:00
Ista Zahn
6434044f61 Let ESS set up completions 2015-10-14 00:26:29 -04:00
syl20bnr
101f57f606 Move vim layer to vimscript
Also refactor a bit the package config.
2015-10-14 00:14:33 -04:00
ralesi
14e7fb954c Vim syntax layer. 2015-10-14 00:10:57 -04:00
Robert O'Connor
d8566c1752 tweak evil-matchit for the html layer 2015-10-13 23:48:44 -04:00
Robert O'Connor
a9716e3f79 add evil-matchit support for js files 2015-10-13 23:48:44 -04:00
Pierre Radermecker
dac0ba87a4 Fix #1493: add align rule for Haskell 2015-10-12 10:10:33 -04:00
syl20bnr
49df0162b3 emacs lisp: disable flycheck by default
In this case the saner default is too disable it because there is
too much false warning
2015-10-12 10:02:10 -04:00
syl20bnr
b27d6bd94e haskell: simplify SPC mhi and SPC mht config 2015-10-12 09:50:13 -04:00
Boris Buliga
e24b693c9b fix mht and mhi bindings for haskell-mode
As discussed in #3197.
2015-10-12 09:47:55 -04:00
Ista Zahn
a761c0def4 Simplify ESS layer autoloads and add keybindings for starting REPLs 2015-10-12 09:37:06 -04:00
syl20bnr
47ce251853 haskell: add documentation for SPC m g i 2015-10-12 09:32:05 -04:00
Benno Fünfstück
27efd8fc83 haskell layer: add key binding to jump to imports 2015-10-12 09:29:52 -04:00
Uri Sharf
77d5fef312 Fix typo in var name for suppressing error popups 2015-10-10 23:56:09 -04:00
Boris Buliga
75078b031f update tips for 'stuck' haskell repl
Based on #3292
2015-10-10 23:54:58 -04:00
syl20bnr
6edfdb550e nim: move local packages to local folder and simplify config 2015-10-10 23:19:23 -04:00
Eivind Fonn
56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
Boris Buliga
9dab3b2e8e update haskell README
Improve PATH section. As requested in #2142.

Also make some minor improvements.
2015-10-09 12:17:51 +02:00
Eivind Fonn
812d35a100 Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
David Mohl
7947e2ee5b added documentation link to lisp-state to lispy languages 2015-10-09 12:12:19 +02:00
Fabien Dubosson
cde101955d Correct java layer's documentation (close #3293) 2015-10-09 12:09:03 +02:00
Christoph Paulik
806573b09b javascript: add instruction for installation of JSHint 2015-10-07 15:51:40 -04:00
Severen Redwood
7924a782a2 Add a function and keybinding for cargo clean 2015-10-07 15:51:40 -04:00
mahinshaw
58f2937260 Use exec-path-from-shell-copy-env to set RUST_SRC_PATH for racer 2015-10-07 15:51:40 -04:00
Markus Bertheau
fff86b6a4e Add CIDER quick start for boot 2015-10-07 15:51:40 -04:00