Commit graph

547 commits

Author SHA1 Message Date
hrvladev d058994904 Add haml-mode and slim-mode
Spacemacs is missing support for the Haml and Slim template
languages.

This commits adds haml-mode and slim-mode to support them.
2015-02-27 21:32:15 -05:00
Emmanuel Touzery 7cd5ae46da shortcut for copying the git sha hash from the timemachine micro-state 2015-02-27 21:15:56 -05:00
sooheon 96c5faa44b Add ess-mode-hook. 2015-02-27 20:36:27 -05:00
Tu Do 30dac136bb Enable Semantic support for C/C++; add Srefator
With Semantic mode enabled, it enables IDE features such as:

- Enable helm-semantic-or-imenu to jump with Semantic instead of Imenu.

- Show function signature of current function point is inside at the
top (with global-semantic-stickyfunc-mode)

- Show function signature of current function at point at the
bottom (with global-semantic-idle-summary-mode).

- Add Srefactor for refactoring using Semantic parser framework. Bind it
  to "SPC m r".

- Load 'compile package, otherwise compilation-mode-map won't exists and
  Semantic fails to bind some key to the map and throw error.
2015-02-27 20:36:00 -05:00
syl20bnr 9a88e1a4fd clojure layer: use interactive code r 2015-02-27 18:19:23 -05:00
syl20bnr 8cd687efef clojure layer: Fix lazy loading of golden-ratio settings 2015-02-25 07:45:08 -05:00
syl20bnr 766e402a32 Update company-mode documentation
Take into account renaming of variable
company-mode-use-tab-instead-of-enter
2015-02-24 20:51:12 -05:00
syl20bnr f55d1f1a72 Minor change in clojure layer README 2015-02-24 20:38:53 -05:00
syl20bnr 12df81f40a Add git timemachine documentation in git layer README 2015-02-24 20:16:17 -05:00
syl20bnr a4cf6df559 Updated magit use case section in git layer README 2015-02-24 20:10:44 -05:00
syl20bnr 6687f2d0fe Rename haskell variables to enable shm and ghci-ng
`haskell-enable-shm-support`
`haskell-enable-ghci-ng-support`
2015-02-24 20:09:06 -05:00
syl20bnr d0b2feb6d0 Move and rename company mode variables to config.el 2015-02-24 19:42:33 -05:00
Nate Wolfe 68697b4f6f Fix broken ac-cider link in Clojure README
The link had the wrong text, which didn't appear anywhere else. This
sets it to "ac-cider", which looks to be the expected value.
2015-02-24 18:41:14 -05:00
Bjarke Vad 3b8742f3cc Fixes an issue with company-ghc not loading correctly
- the `ghc-comp-init` function should not be called as a hook when
  `ghc-init` is already called in `haskell-hook`
- load company-ghc with yasnippet support
2015-02-24 18:39:53 -05:00
Asher Van Brunt d77bbad49d Fix ruby filetype regex 2015-02-24 00:05:12 -05:00
Asher Van Brunt 5a83cbd57e Restore enh-ruby-mode 2015-02-24 00:05:10 -05:00
syl20bnr 186741a100 Use company-mode-hook to initialize company-quickhelp 2015-02-23 23:56:47 -05:00
Cong Nguyen bd7b32eaf6 add company-quickhelp to company layer 2015-02-23 23:48:51 -05:00
Bjarke Vad 14c1852f34 Added initial support for structured-haskell-mode 2015-02-23 23:48:06 -05:00
syl20bnr c9e7276e41 clojure layer: move SPC m = to SPC m f l for align-cljlet 2015-02-23 22:18:48 -05:00
syl20bnr baa2dc3dd1 clojure layer: add send region to REPL support 2015-02-23 22:09:39 -05:00
syl20bnr d9ad9fea32 clojure-layer: fix align-cljlet initialization and assign binding SPC m = 2015-02-23 21:58:18 -05:00
syl20bnr 18c704a88e clojure layer: add quick-start in readme 2015-02-23 21:50:32 -05:00
syl20bnr 96427b255d clojure layer: fix clj-refactor initialization 2015-02-23 21:50:04 -05:00
syl20bnr 94d68a9513 clojure layer: use push instead of add-to-list 2015-02-23 21:06:11 -05:00
syl20bnr ae66425556 clojure layer: move eval last sexp to mee (by convention) 2015-02-23 21:05:15 -05:00
syl20bnr 05ff33f086 clojure layer: add support for golden-ratio and evil 2015-02-23 20:52:49 -05:00
syl20bnr 14a3fee574 Fix header for ghci-ng section in readme 2015-02-22 22:06:54 -05:00
Bjarke Vad 78b794f06c Fixes #641 2015-02-22 12:49:35 -05:00
Bjarke Vad f447e937e8 Added ghci-ng support to haskell layer
- uses the variable `haskell-ghci-ng-support` to enable support
2015-02-22 12:49:10 -05:00
syl20bnr b182e15bce Add support for golden ratio to git machine micro-state 2015-02-22 01:46:36 -05:00
Herbert Jones b0b1b1578a git timemachine micro state on 'SPC g t'
On 'SPC g t', instead of calling git timemachine, wrap useful git
timemachine functions inside a micro state.
2015-02-22 01:31:39 -05:00
Brian Hicks d6ee093189 contrib(evernote): change namespace to evernote 2015-02-21 00:09:08 -05:00
Sylvain Benner 206576e11c Merge pull request #640 from chrisbarrett/ensime-tweaks
Ensime tweaks (eldoc, company, autostart, new bindings)
2015-02-21 00:08:13 -05:00
syl20bnr 8deb57e6ba Push missing files from previous clojure layer commits 2015-02-20 21:59:07 -05:00
syl20bnr 50f230f27f Correctly lazy load ruby-end and fix its activation in ruby mode
resolves #644
2015-02-20 07:29:50 -05:00
Chris Barrett c125908776 Scala: Enable eldoc in ENSIME mode 2015-02-20 22:55:37 +13:00
Chris Barrett f03d09ffc3 Scala: Fix issue with ensime '.' command
The period character shows company completions. If completion candidates
are already being displayed, it will complete the current candidate
incorrectly.

Resolve by making '.' accept the current candidate when candidates are
being displayed.
2015-02-20 22:03:27 +13:00
Chris Barrett 3cf622addb Scala: Automatically start ensime
Start ENSIME automatically if there is a .ensime file in an ancestor
directory.
2015-02-20 22:03:27 +13:00
Chris Barrett eb383eb1ae Scala: Add keybindings
Improve integration with spacemacs, and add SLIME-style
pop-to-definition keybindings (M-. and M-,)
2015-02-20 22:03:27 +13:00
syl20bnr 9ad7ce5236 Fix error in clojure layer with configuration-layer/package-declaredp 2015-02-20 00:14:12 -05:00
syl20bnr 8a86504e73 Move auto-complete hooks to ac-cider init in clojure layer 2015-02-19 23:43:45 -05:00
syl20bnr ad189c87a1 Sort init functions in clojure layer packages.el 2015-02-19 23:41:20 -05:00
syl20bnr 4448595b74 Move clojure/fancify-symbols to funcs.el in clojure layer 2015-02-19 23:39:51 -05:00
syl20bnr 0ef086a0db Remove clojure/general-mode and use init-xxx functions 2015-02-19 23:37:58 -05:00
syl20bnr 1939df7586 Remove explicit rainbow delimiters mode in clojure mode
It is already setup in the spacemacs layer.
2015-02-19 23:31:53 -05:00
syl20bnr 3d6ad4f2d2 Don't activate paredit by default in clojure layer
This is a user preference.
2015-02-19 23:30:56 -05:00
Stephen Tudor 4117c6e565 Add more key bindings for ledger-mode
These correlate more or less with the Emacs `C-c` key bindings
2015-02-19 23:07:03 -05:00
Michael Hauser-Raspe 97d6230601 Add an option to use tab for completion in company-mode layer.
This plays well with yasnippet
2015-02-19 23:06:18 -05:00
Michael Hauser-Raspe 6e15255554 Add key bindings for company-mode dropdown 2015-02-19 23:05:11 -05:00
syl20bnr e6d808f2ba Add markdown bindings documentation 2015-02-19 23:04:03 -05:00
pseudonom 76b0bc9b5a Added markdown keybindings
Nearly a direct transcription of the keybindings from `markdown-mode.el`
2015-02-19 22:51:39 -05:00
syl20bnr 0ed329993c Add refactor and REPL bindings documentation to clojure layer
Add cider logo
2015-02-19 22:51:09 -05:00
syl20bnr 53ba6c79c8 Follow the conventions for REPL interaction in clojure layer 2015-02-19 22:51:06 -05:00
syl20bnr be73a24488 Sort key bindings in clojure layer 2015-02-19 21:59:53 -05:00
Sylvain Benner 5c9078b5ae Merge pull request #608 from luxbock/clojure-mode-tweaks
Clojure mode clj-refactor bindings and tweaks
2015-02-19 21:47:14 -05:00
Cong Nguyen 894c223c33 fix company-go loading before go-mode 2015-02-19 07:08:44 -05:00
Josh Chase ecd0fc0c52 Fix bug in the go/init-go-oracle function 2015-02-19 07:08:31 -05:00
Stephen Spalding c2004f6d94 clojure: mgv -> mgg; update docs 2015-02-19 07:08:24 -05:00
syl20bnr 96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
Devin Rhode 50e32b8081 Closes #616, syntax error in osx layer snippet 2015-02-17 22:23:16 -05:00
syl20bnr a4e3c32a9d Minor fixes to ansible layer 2015-02-17 22:22:53 -05:00
Brian Hicks d87d5c1145 contrib(ansible): add layer 2015-02-17 22:21:57 -05:00
Ryan L. Bell 91b8731b87 Initializes ruby-test-mode in the ruby-mode hook 2015-02-17 22:19:20 -05:00
Michael Hauser-Raspe 71a3bedff6 fixing yasnippet company-mode initialisation for python 2015-02-17 22:19:14 -05:00
syl20bnr 2f6fc312a3 Update ruby mi to msi to start a REPL
According the conventions
2015-02-17 22:14:10 -05:00
syl20bnr 0c18d5afea Update elixir mi to msi for inferior process
According to conventions
2015-02-17 22:11:41 -05:00
syl20bnr f68e81e64a Update mi for msi in ESS layer
According to conventions
2015-02-17 22:08:58 -05:00
syl20bnr 8d0dd8b25d Update python REPL bindings to meet the conventions 2015-02-17 22:07:43 -05:00
syl20bnr a20508b85b Change m s f for m s a in scala layer 2015-02-17 22:05:42 -05:00
syl20bnr 04054b75e7 Fix missing parameters for python-shell-send-region-switch 2015-02-17 22:00:26 -05:00
syl20bnr 3fc48f40e2 Add ensime logo in scala layer README 2015-02-17 21:59:50 -05:00
syl20bnr 4be4abc12b Adapt the ensime key bindings to the conventions
Add documentation
2015-02-17 21:57:08 -05:00
Bjarke Vad 2dd043ad45 Updated ensime bindings to better fit with spacemacs 2015-02-17 20:12:21 -05:00
Daniel Wu 112fb44de4 Add function to clear python inferior buffer
Conflicts:
	spacemacs/funcs.el
2015-02-17 20:03:31 -05:00
luxbock f46f791623 Added and moved prefix declarations to config.el 2015-02-16 20:37:16 +07:00
luxbock e6b63216fd Replace clj-refactor prefix from C-c C-m to C-c C-f
- C-c C-m is used for macroexpanding in Cider
- C-c C-f is used for pprint-eval-defun
- The latter is the default recommendation from clj-refactors README
- I think macroexpansion arguably more important, but it's debatable
2015-02-16 20:19:45 +07:00
luxbock 921c114c1b Added leader-bindings for clj-refactor 2015-02-16 20:13:14 +07:00
luxbock 0467cf4c0c Added :mode with additional file formats 2015-02-16 20:11:30 +07:00
syl20bnr fa337c143b Put back git gutter on the right fringe by default
Because keeping it on the left fringe can be messy coupled to
flycheck icons.
2015-02-16 02:59:40 -05:00
artemave 6a14d0ab8d Support GOPATH with multiple entries.
Fixes go-oracle not being loaded in case $GOPATH has more than one entry.

Conflicts:
	contrib/lang/go/extensions.el
2015-02-15 22:40:02 -05:00
syl20bnr 2567ed15a1 Move extra-langs layer to lang directory 2015-02-15 22:33:41 -05:00
Tristan Hume 9110ab8fb4 Factor extra-langs and hungry-delete out of trishume contrib 2015-02-15 22:31:16 -05:00
syl20bnr 66e38ec962 Lazy load ghc-comp-init in haskell layer 2015-02-14 22:45:14 -05:00
syl20bnr ff0a04dcef Lazy load auto-hotkey mode 2015-02-14 22:44:43 -05:00
syl20bnr 79980af6f8 Skip go-oracle configuration if GOPATH not found 2015-02-14 22:44:06 -05:00
syl20bnr fc84f13d72 Update python key bindings to fit conventions
`m g g` and `m h h`
resolves #496
2015-02-12 22:21:45 -05:00
syl20bnr 1a02477d51 Remove prefix commands in python and ruby layers
Resolves #569
2015-02-12 22:08:07 -05:00
fotoetienne 014252d4e0 add 'cider-jump-back keybinding as mgb; remove 'cider-jump
cider-jump-back is handy
cider-jump is deprecated since cider 0.7.0 and is currently only an alias for cider-jump-var
[b661d10199/cider-interaction.el]
2015-02-12 00:27:34 -05:00
Riccardo Cambiassi 82f434edb9 Add bundle and define keybindings
Also contains the following:
* revert to `ruby-mode` instead of `enh-ruby-mode` as it's more standard, i.e. it doesn't require ruby 1.9.2+
to properly highlight syntax
* fix key binding prefixes
* add ruby-tools mode
* add file types to ruby mode

Conflicts:
	contrib/lang/ruby/packages.el
2015-02-12 00:20:24 -05:00
Dmitry Mazuro 00ae3672ff Add nyan-mode link 2015-02-10 23:38:02 -05:00
syl20bnr 5f0078506f Add a condition on yasnippet presence in init-company-anaconda 2015-02-10 23:33:54 -05:00
Michael Hauser-Raspe 45787dadb7 Add yasnippet to company-mode source for python 2015-02-10 23:31:25 -05:00
Jean-Christophe Petkovich f7ce640fba Fix for css yasnippet load issue.
This fixes #532 by adding spacemacs/load-yasnippet to the css-mode-hook.
This fixes both css-mode and scss-mode.

Switch to init-yasnippet for calling load-yasnippet
2015-02-10 23:31:04 -05:00
syl20bnr b8d8a0fe2d Use configuration-layer/layer-decaredp in packages.el of ess layer 2015-02-10 23:23:33 -05:00
Jean-Christophe Petkovich b1994f2ba6 Add company-ess to ess mode.
For bug #287
2015-02-10 23:16:14 -05:00
m3hr 19e150d154 Add Podfile support in Ruby layer
Should we delete the extra "dead code" that sits in the config.el? Also about ruby-mode vs enh-ruby-mode?
2015-02-10 23:15:05 -05:00
syl20bnr 4be3da4d63 Fix typo in finance layer README 2015-02-09 22:28:05 -05:00
syl20bnr c970b356a4 markdown layer README 2015-02-09 22:27:46 -05:00
syl20bnr 8b3beb4ca1 Adjust brightness and saturation for solarized-dark
for rainbow-identifers
2015-02-09 22:14:24 -05:00
syl20bnr 41d2517c83 Move markdown package to new lang/markdown layer 2015-02-09 22:14:23 -05:00
syl20bnr 3c57606cb1 Move ledger to new finance layer 2015-02-09 22:14:18 -05:00
syl20bnr e38fbc912b Add toc to ocaml README 2015-02-07 23:32:45 -05:00
Ranjit Jhala 3fb96fa348 Add ocaml layer 2015-02-07 23:29:08 -05:00
Andreas Liljeqvist dd5e5c4b5a Enable smartparens in inferior-python-mode 2015-02-07 23:28:18 -05:00
syl20bnr 7caaeb1c1d Use :if keyword for pbcopy init 2015-02-07 23:27:50 -05:00
Daniel Wu b08f993b34 added pbcopy package in osx mode 2015-02-07 23:26:50 -05:00
syl20bnr 418870de12 Move go-rename in extensions directory 2015-02-07 23:26:27 -05:00
Josh Chase 793d4a1eee Added rename support to contrib/lang/go 2015-02-07 23:19:22 -05:00
Diego Berrocal b2893c843e Remove stale information and add tips about perspectives 2015-02-07 23:19:16 -05:00
Jean-Christophe Petkovich ca99343ec3 It's a horrible hack, but ess autoload works.
Up to you whether you want to include it.

Only call mode function again if ess is successfully loaded

This is to avoid an infinite loop.

Whoops, removed a line that shouldn't be there.
2015-02-07 23:19:08 -05:00
Andreas Liljeqvist 8799215fd2 Activate evil leader in cider-stacktrace-mode 2015-02-05 23:07:20 -05:00
sooheon d5b3785733 Replace ess-smart-underscore with ess-smart-equals
Add rainbow-delimiters hook, add R-mode to auto-mode-alist, add
convenience keybinding, and add edit default offsets.

Separate rainbow-delimiters and smart-equals hooks into own defuns.
2015-02-05 23:06:42 -05:00
Riccardo Cambiassi ab0f7014c0 Add support for Ruby on Rails in ruby layer 2015-02-05 23:05:55 -05:00
Andreas Liljeqvist e54fd65bce Prettify partial-symbol in Clojure. 2015-02-04 23:48:13 -05:00
syl20bnr 387bd6b1b9 Use default fringe setting for git-gutter-fringe
That is: use the left fringe instead of the right fringe
2015-02-04 06:53:12 -05:00
syl20bnr 85e19ebc7e Fix evilification of git-rebase-mode 2015-02-04 01:12:15 -05:00
syl20bnr 007c833ee3 Use y for git-rebase-insert in git-rebase-mode 2015-02-04 00:58:48 -05:00
Jean-Christophe Petkovich 14e019d07e Add vim bindings to git-rebase-mode.
Currently git-rebase-mode mappings are masked.

Use emacs state in git-rebase-mode.

Add leader and evilify.

Add shadowed bindings.
2015-02-04 00:58:11 -05:00
Patrik Storm d4283a842a Add php contrib layer 2015-02-04 00:54:28 -05:00
Jean-Christophe Petkovich 8b0c0a5c2e Add vim-like anaconda-nav-mode bindings
Anaconda nav mode currently starts in evil mode which masks most of its
bindings. This just adds anaconda-nav-mode to the list of emacs states,
and throws in j/k bindings that make sense to me.

Fix using spacemacs|evilify

Add leader key, and next and previous error.
2015-02-04 00:53:27 -05:00
Andreas Liljeqvist aca14e97db Prettify symbols in both clojure-mode and cider-repl. 2015-02-04 00:53:13 -05:00
Andreas Liljeqvist dc3100046f Cider-stracktraces should be started in emacs-mode. 2015-02-03 02:08:57 -05:00
syl20bnr 4bb7e85e83 Move geeknote layer to evernote layer and edit the README 2015-02-02 00:36:44 -05:00
Evan Dale Aromin 56871e4799 Add a contrib layer for geeknote 2015-02-02 00:19:44 -05:00
Andreas Liljeqvist 473ec5d532 Use the same modes in clojure-mode and repl where possible. 2015-02-02 00:19:38 -05:00
Brian Hicks 4834a7949c contrib(python): document Django keys 2015-02-01 22:55:06 -05:00
Bjarke Vad 9c644670bc Fixed spelling of ASP 2015-02-01 22:54:58 -05:00
syl20bnr dbd3f556d6 Add a snippet to enable nyan-cat only in GUI 2015-02-01 21:47:53 -05:00
syl20bnr af3b5f7884 Rename colors-enable-nyan-cat to colors-enable-nyan-cat-progress-bar 2015-02-01 21:29:07 -05:00
syl20bnr 41b5ba09b8 Move nyan-mode to extensions
Using personal tweaks which can be found at
https://github.com/syl20bnr/nyan-mode
2015-02-01 18:16:41 -05:00
syl20bnr 065b2493f9 Add nyan-mode to colors layer 2015-02-01 01:31:39 -05:00
syl20bnr 579f8eb649 Add django logo in python layer README 2015-01-30 22:42:32 -05:00
syl20bnr aa5b9e4d3b Update python layer README with Django support 2015-01-30 22:41:55 -05:00
syl20bnr ef34305403 Sort and modify key bindings in python layer packages.el
`mps` and `mpu` for pyenv have been moved to `mvs` and `mvu`
`mv` for pyvenv has been moved to `mV`
`mjtg` has been moved to `mjte`
2015-01-30 22:28:47 -05:00
Brian Hicks 08e68a3b1d Add django via pony-mode to python layer 2015-01-30 22:24:51 -05:00
syl20bnr 9e8ecf91af Update ESS layer key bindings to follow the conventions 2015-01-30 22:18:30 -05:00
Jean-Christophe Petkovich eb964ed311 Add ESS noweb (knitr/sweave) keybindings
There are a number of functions included in ESS for dealing with knitr
and sweave "chunks" that are quite handy.

These are the bindings I use, which I humbly recommend for inclusion as
defaults.

The only potential problem that I see with their inclusion is that they
only really make sense in ess-noweb-mode (a minor mode) buffers, but
since evil-leader doesn't seem to like layering keybindings through
minor-modes, adding them to ess-mode is the best solution that I can
come up with for now.

Fix ess chunk bindings as per suggestions
2015-01-30 22:11:12 -05:00
syl20bnr 68a004c892 Change C# logo and add a logo for .Net 2015-01-30 22:08:08 -05:00
syl20bnr c5aa369f67 Fix csharp layer key bindings doc, format and sort them 2015-01-30 21:58:51 -05:00
syl20bnr 8e4eb673ee Edit csharp layer README
Add instructions for other prerequisites
Edit various other parts
2015-01-30 21:45:06 -05:00
Bjarke Vad 3b83124fc0 Added support for C# using OmniSharp 2015-01-30 21:13:43 -05:00
syl20bnr 239d61ddf0 Move git-gutter-fr:side in :init
Now it can be easily overridden in dotspacemacs/config
2015-01-30 07:07:39 -05:00
Andrew Oppenlander 51066c68f3 Add variable clojure-enable-fancify-symbol in Clojure mode
Used to turn on fancify-symbol (default value is nil, i.e. disabled)
2015-01-29 00:32:00 -05:00
syl20bnr 3b36507178 Move back rainbow-delimiters to spacemacs layer
Also always install rainbow-identifiers
2015-01-27 00:29:31 -05:00
syl20bnr 1328280ca4 Install all packages in the git layer
The variable are now only used to enable or disable the
packages.
This approach allow better discovery of git layer packages in
helm-spacemacs
2015-01-27 00:23:14 -05:00
syl20bnr 8104dcee97 Add magit-svn plugin to git layer 2015-01-27 00:17:51 -05:00
syl20bnr 742cecabb3 Add alchemist.el logo 2015-01-26 01:16:46 -05:00
syl20bnr 1c9957fb8a Missing documentation for colors-enable-rainbow-identifiers 2015-01-26 01:05:24 -05:00
CongNT3 af3471c37b add go-autocomplete and company-go packages 2015-01-25 23:47:37 -05:00