Commit graph

1274 commits

Author SHA1 Message Date
syl20bnr b5e2e3773d java layer: rename functions with spacemacs prefix 2015-07-04 00:29:25 -04:00
syl20bnr 8beeaba6db java layer: fix company backend setup 2015-07-04 00:24:44 -04:00
syl20bnr 71ae4520cc java layer: defer eclim loading and sort key bindings 2015-07-04 00:20:12 -04:00
syl20bnr 1a39ffbf65 java layer: remove unneeded projectile layer
It is in core
2015-07-04 00:13:15 -04:00
Lukasz Klich e77eb259ec Eclim based java layer 2015-07-04 00:10:30 -04:00
syl20bnr 600046f667 Split python layer into !lang/python and !frameworks/django layers 2015-07-03 23:53:07 -04:00
syl20bnr dca6eca3c0 Split ruby layer into !lang/ruby and !framework/ruby-on-rails 2015-07-03 23:51:34 -04:00
Robert O'Connor 555b8c0ec8 Add slim-mode to ruby layer 2015-07-03 23:14:20 -04:00
syl20bnr c580ff1361 idris layer: minor change in README 2015-07-03 23:08:46 -04:00
syl20bnr 225167465a sml layer: move it to !lang, add bindings and convert README to org 2015-07-03 23:07:55 -04:00
Keith Simmons 918c0cf4da Added SML layer 2015-07-03 20:51:37 -04:00
syl20bnr 2ccea679da idris layer: rename the layer to idris-lang, update bindings and doc
Rename the layer to idris-lang because idris-packages variable is used
by the package
Update key bindings to better fit spacemacs conventions
Convert markdown README to org
2015-07-03 20:44:04 -04:00
Timothy Jones c55c7c74a4 Add a layer for the Idris language
This removes idris-mode from the extra-langs layer and moves it to its
own layer with custom evil-leader keybindings. It also removes
documentation in extra-langs on other removed languages.

There are two major complications with idris-mode: it defines its own
evil-leader bindings which overwrite Spacemacs defaults, and it uses
the variable idris-packages, which Spacemacs uses to include the
idris-mode package, to define Idris packages to load for the current
buffer.
2015-07-03 18:51:50 -04:00
syl20bnr aa1dc15aa3 javascript layer: move json-snatcher to SPC m h p 2015-07-03 18:44:19 -04:00
Diego Berrocal debe9e1d4f Add json-snatcher package 2015-07-03 18:40:16 -04:00
syl20bnr 86dbabd05b New WIP layer: which-key 2015-07-02 22:46:34 -04:00
syl20bnr 48b8c1a0be git layer: update documentation 2015-07-02 22:08:03 -04:00
syl20bnr d04ed6dc25 Make magit 2.1 the official magit version for spacemacs 2015-07-02 00:36:26 -04:00
syl20bnr c177f0d75f magit next: remove unnecessary hook for auto-fill-mode 2015-07-01 02:00:34 -04:00
Christoph Paulik 8ddd2c43d1 add org-set-tags keybinding 2015-07-01 01:49:43 -04:00
syl20bnr 1bb120ab00 racker layer: document previous commit 2015-07-01 01:41:57 -04:00
Xiang Ji 43a22e002b Fixed electric-pair-skip not working in racket mode
See https://github.com/greghendershott/racket-mode/issues/140
2015-07-01 01:40:35 -04:00
syl20bnr c635aa8b36 rust layer: move SPC m c C to SPC m c x + various small fixes 2015-07-01 01:37:31 -04:00
JP-Ellis 90f80c8ad1 Rust improvements:
- Use compile instead of shell for cargo. This allow Emacs to parse the
  output, including all the errors :)
- Added support for Racer (it works for me at least... hopefully for
  others too)

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-07-01 01:34:07 -04:00
wsk 6746afa5e6 move org-clock-save.el to .cache 2015-07-01 01:28:36 -04:00
person808 bc197a288c Add option to show snippets in the company popup. 2015-07-01 01:22:34 -04:00
syl20bnr cd600cad4f syntax-checking: just use flycheck default
This commit drastically simplify the previous commit by removing
the layer variable syntax-checking-check-on-buffer-change and
the associated usage of it.

This effectively make spacemacs use the default flycheck setting.
If the user wants to customize this behavior then she can modify
directly the flycheck variable.
2015-07-01 01:16:05 -04:00
Ryan Whitehurst a211dfcbf5 Allow syntax checking to happen on buffer change
Add a variable `syntax-checking-check-on-buffer-change` to the
`syntax-checking` layer which conditionally sets the variable
`flycheck-check-syntax-automatically` to:

 - `'(save mode-enabled)` when nil
 - `'(save idle-change new-line mode-enabled)` (the package default)
   when non-nil

The various settings determine when Flycheck evaluates the buffer:

 - `save` triggers a buffer check after buffer save.
 - `mode-enabled` triggers a buffer check when `flycheck-mode` is
   enabled.
 - `idle-change` triggers a buffer check after the editor has been idle
   for `flycheck-idle-change-delay`
 - `new-line` triggers a buffer check whenever a new line is inserted
   into the buffer
2015-07-01 01:14:09 -04:00
syl20bnr 5a21fe88c4 magit next: add support for SPC g L key binding 2015-07-01 01:09:41 -04:00
Tommi Komulainen 99fa0a73d7 git: add SPC g L keybinding for magit-file-log
Display the log for the currently visited file or another one.
2015-07-01 01:04:56 -04:00
syl20bnr 3de3133ed0 magit next: add key bindings for rebase and commit modes
Actually the cake is a lie, the key bindings for rebase
mode have been added in the previous commit
2015-07-01 00:22:08 -04:00
syl20bnr 83c0d95195 core: spacemacs/evilify-map is now a macro
Add support for additional key bindings
2015-07-01 00:20:45 -04:00
Elais Player 0b36ce4d1f Added tao theme 2015-06-30 23:00:41 -04:00
syl20bnr 9349b8045d magit next: switch to magit-builtin-completing-read
Which works with helm as well so we don't need to set it to
magit-ido-completing-read (triggers a warning of magit about
a required third-party we don't need).
2015-06-30 22:57:18 -04:00
Tu Do 57f8c7e2b3 Update installation instructions to use ctags backend
Without this gtags.conf copied as .globalrc, generating Global tag
database won't work with other backends.
2015-06-30 22:57:06 -04:00
syl20bnr cd40adebe0 magit next: move toggle whitespace on C-S-w 2015-06-30 22:55:04 -04:00
Jonas Bernoulli 5bd70f448c No longer set magit-last-seen-setup-instructions 2015-06-30 22:49:14 -04:00
Jonas Bernoulli 0677ece503 Fix magit-toggle-whitespace et al for magit 2.1.0 2015-06-30 22:49:06 -04:00
Jonas Bernoulli 5df4ba0e75 Implement fullscreen magit status without advices 2015-06-30 22:48:52 -04:00
syl20bnr e923ae7fb7 github layer: Move magit-gh-pulls to extensions
For the transition period to magit 2.1
2015-06-30 22:47:52 -04:00
syl20bnr b7a24dccac magit next: set emacs state as default instead of insert
Fix not working `f` key due to evil-escape which allows
event passthrough only in emacs state.
2015-06-30 01:30:44 -04:00
syl20bnr 17a3e47948 magit next: add evilified bindings 2015-06-30 00:43:47 -04:00
syl20bnr e2e071c7fb Add support for automatic "evilification" of maps.
Works with magit-next for now.
Tests to update and evilify functions robustness need to be improved.

Does not work 100% with magit-mode-map because it is created with
`make-keymap` and not `make-sparse-keymap` and `map-keymap` does not
seem to work with `make-keymap`.
2015-06-25 23:49:53 -04:00
syl20bnr 42dc33ad66 magit next: Evilify magit section maps 2015-06-25 00:21:15 -04:00
syl20bnr 64dc0de2e5 Fix magit loading when git-use-magit-next is nil 2015-06-24 17:46:46 -04:00
syl20bnr 7876176d38 Add magit-next as an extension (submodule)
Set git-use-magit-next to t in the layer variable to use it.
For now magit-ghpull from github layer is disabled.
A LOT of issues with next magit and evil remain to be fixed
2015-06-23 23:52:24 -04:00
Tu Do 3e798cfdb8 Enable Helm Gtags on compilation-mode and shell-mode
Since we can use helm-gtags to jump to any valid symbol on
shell/compilation buffer. For example, if a test case fails and it
outputs a function where the failure occurs, we can move point on that
failed function and jump directly to it.
2015-06-22 23:29:55 -04:00
syl20bnr 15c8bc9ac9 Remove superfluous empty lines in python layer README 2015-06-22 23:16:30 -04:00
Swaroop C H 3b6b19eec4 Python layer docs: Mention PYTHONPATH fix 2015-06-22 23:15:05 -04:00
Jeremy Huffman 7f24d019a1 electric-indent-local-mode is not always defined 2015-06-22 23:14:06 -04:00
Swaroop C H 50803f4bb9 Org layer docs: Update jump keyboard shortcut
Follow-up to @tuhdo's commit:
4d219934bc
2015-06-22 23:09:53 -04:00
Benno Fünfstück 61e8ee791d extra-langs: enable QML mode for all qml files
There is no other file type for the extension .qml, so this should be
safe.
2015-06-22 23:08:35 -04:00
Giorgio Leveroni 26f809fa3f Evilify CIDER Inspector
- Use =L= instead of =l= for ~cider-inspector-pop~.
- Add `cider-inspect` key-binding mention in README
- Add key-binding for `cider-debug-defun-at-point`
2015-06-22 23:01:25 -04:00
syl20bnr 363808abf4 slime layer: update key bindings and populate README 2015-06-21 23:46:36 -04:00
J.A. Cecil a40bc74576 Add mode bindings for Slime contrib layer.
Bindings are technically for lisp-mode and scheme-mode rather than
slime-mode since evil-leader/set-key-for-mode doesn't seem to work
with minor modes.
2015-06-21 23:34:34 -04:00
syl20bnr f03085dfe8 Use emoji-cheat-sheet MELPA package 2015-06-17 00:14:24 -04:00
syl20bnr 7eeccc222d Revert back file save on SPC f s 2015-06-15 22:56:55 -04:00
syl20bnr fef908acad Typo in git README 2015-06-15 22:11:27 -04:00
syl20bnr 9e6d6db6bd Evilify magit-diff and update README with new SPC g d binding 2015-06-15 21:55:57 -04:00
Kevin Ushey 70e7eb24d7 Add 'git diff' leader key binding 2015-06-15 21:55:42 -04:00
Diego Berrocal aa869540ad Show images by default in org-mode 2015-06-15 21:49:24 -04:00
Dexafree f9036a0ed9 Added some languages to Markdown syntax highlight 2015-06-15 21:41:16 -04:00
Christoph Paulik fa9630df4e add ipython keybindings
- C-return and S-return behave like web interface
- bind SPC f w to save the notebook to be consistent with
  the rest of spacemacs
2015-06-15 21:36:53 -04:00
Travis B. Hartwell fb8e530b1b Document setting the alignment column for ledger-mode. 2015-06-15 00:06:33 -04:00
Kenneth Love f3a6481a59 Add mmm-mode and starter config for Markdown parsing 2015-06-14 23:20:23 -04:00
wsk 99623bf194 add (f)ielm-indent-line for ielm mode 2015-06-14 22:33:09 -04:00
sooheon 36f0e286c6 Correct s-v keybinding with yank 2015-06-14 22:32:20 -04:00
Tu H Do 19ad82215d Move org-emphasis-regexp-components to spacemacs/view-org-file
If we put this in Org layer, new users won't have that layer and thus
this fix will not be applied.
2015-06-14 22:31:37 -04:00
Tu H Do 4d219934bc Create a generic jump in buffer command 2015-06-14 22:29:48 -04:00
Tommi Komulainen 641058823b osx: allow skipping option to meta key mapping
In Finnish/Swedish/other keyboard layouts the `option` key is needed to
type some common characters such as `{[]}~` (#973) so make mapping it to
`meta` conditional.
2015-06-14 22:20:21 -04:00
Nate Wolfe 30173da11f (PUPPET) Add Puppetfile support
This commit enables syntax highlighting for Puppetfiles via the
puppetfile-mode package.

A Puppetfile is the configuration file used by librarian-puppet and
r10k for Puppet module management a la Ruby's Bundler.
2015-06-14 22:14:18 -04:00
sooheon ed40820b97 Change s-v binding from evil-paste-after to evil-paste-before 2015-06-12 23:13:38 -04:00
Török Edwin 2bbcf8af76 ocaml: don't auto-close backticks
they are used for polymorphic variants, like `Foo
2015-06-11 23:24:44 -04:00
syl20bnr f4ba6bdab5 Fix various key bindings in converted READMEs 2015-06-11 21:31:42 -04:00
Christoph Paulik ff8cd06046 Fix various issues with org markup
- lists were not correctly indented sometimes
- **note** and such things do not exist in org
- Note and Important
- Change Feature list to heading
- Change TODOS to actual org TODOS
- Add TOC to python layer
- list indentation
- some typos I could not leave unchanged
- TODO formatting
- List indentation
- typos
- wrong markup

fix conversion issues
2015-06-11 21:31:42 -04:00
Diego Berrocal 460ce54006 Org conversion of all READMEs ! 2015-06-11 21:31:42 -04:00
Diego Berrocal 2a78d617a0 Fix to allow ~SPC ,~ and others as such to be renderd 2015-06-11 21:31:42 -04:00
Diego Berrocal 828ec61aa5 Mention ERC-yank feature and make it optional 2015-06-10 00:07:56 -04:00
syl20bnr b3fa604237 Split git layer into git and github layers 2015-06-09 22:42:11 -04:00
syl20bnr 539f98869c Move git and perforce layer to !source-control directory 2015-06-09 22:20:33 -04:00
syl20bnr 21b551beee new layer: version-control, move vc related packages to it
That is `diff-mode` and `diff-hl-mode`
2015-06-09 22:19:52 -04:00
syl20bnr afa3e21d81 git layer: enable diff-hl-mode globally and use margin in the terminal
Also display on the left side in the terminal (right side seems to be
buggy when frame is split)
2015-06-09 21:07:56 -04:00
Tu H Do 8a839f4e81 Replace git-gutter with diff-hl
Since both offer the same functionality, but except for staging hunk but
it works only with Git anyway.

diff-hl has the advantage that it is usable with left/right fringes and
margin in a single package. Also it does not have the bugs that
git-gutter is having.
2015-06-09 20:39:14 -04:00
syl20bnr 7104613749 eyebrowse: add tag support to micro-state 2015-06-09 20:35:31 -04:00
Ryan Phillips 24b58e7c8b add new eyebrowse bindings 2015-06-09 19:58:53 -04:00
Christoph Paulik 3439bbb5ed move keybindings to leader, fix typo in README 2015-06-09 19:58:43 -04:00
Diego Berrocal c969555b50 Add toc-org (analog of markdown-toc) package
Add support for toc-org
2015-06-08 23:55:32 -04:00
syl20bnr 31fe9ee7b0 elixir layer: add company support 2015-06-08 23:28:27 -04:00
syl20bnr 19ea540c67 Split Erlang and Elixir into their own layers
Simplify the Erlang layer to make it basic by removing EDTS
2015-06-08 23:27:15 -04:00
syl20bnr b35b35feeb Lazy add enh-ruby-mode to company-dabbrev-code-modes 2015-06-08 02:18:14 -04:00
Diego Berrocal 4401b2bd34 Add JIT load for spacemacs snippets at startup
It seems that there is a weird issue with the loading of snippets, the
same goes to snippets in the private directory.
2015-06-08 02:11:34 -04:00
uuplusu 6eb2a37f1b latex layer: Change layer name from autex to latex
in install/build/auto-fill sections
2015-06-08 01:16:48 -04:00
MadAnd cb31b1f6d7 evil-snipe: update packages.el
Update config to conform with upstream plugin changes.

Conflicts:
	contrib/!vim/evil-snipe/packages.el
2015-06-08 01:14:28 -04:00
Tristan Hume a883a61f3a Better default behaviour in enh-ruby-mode 2015-06-08 01:04:05 -04:00
Bjarke Vad 10308ffd2a [Haskell] Added company-cabal support for auto-completion in .cabal files 2015-06-08 01:02:09 -04:00
Allen Li 14cc4f09a5 Evilify ledger report mode 2015-06-08 01:01:21 -04:00
Tu Do b602eb0dd0 Fontify code in org-block
Org look prettier when source code block is fontified by its major mode,
instead of a plain gray of `org-block` face.
2015-06-08 01:00:58 -04:00
Diego Berrocal 7d53585795 Add Spacemacs Snippets
There are many stuff that we have in spacemacs which are creating new
layers and also creating micro-states. This Snippets try to help with
the process (the micro-state is a work in progress).

I also set the binding `C-s-/` to `(yas-next-field-or-maybe-expand)`
because `tab` doesn't have the behaviour I quite want (to be able to
expand a snippet like (defun) inside the new-package snippet and still
be able to continue in the outer snippet afterwards. With `tab` this
is *not* possible, but with `C-M-/` it *is*.

Changed variable name

Changed keybinding

Renamed snip-dir to spacemacs-snippets-dir

Moved `setq` outsidde of inizialization function, and the keybindning
too
2015-06-08 00:59:44 -04:00
Tu Do 0c92467eba [Fix #1512] Don't enable smartparens when expanding snippets
Otherwise the snippets will be messed up when expanding with
hippie-expand.
2015-06-08 00:58:56 -04:00
ralesi f1268fa7f5 improve powershell bindings 2015-06-08 00:36:08 -04:00
syl20bnr 040acbcb34 clojure layer: sort key bindings 2015-06-08 00:30:40 -04:00
DayoOliyide 64d2a6ec25 Added keymapping for cider's eval and replace 2015-06-08 00:26:05 -04:00
Tu Do dbce0dd34a Revert C-o binding in holy-mode
The current key binding shadows many other built-in modes and packages,
not just Dired. It is far too intrusive. We better go back to default.
2015-06-08 00:23:52 -04:00
Max Veytsman f127b70a44 Updated osx keybindings
- Copy and paste now uses emacs commands
- `s-a` selects all
- `s-w` closes the window not the buffer
- `s-W` closes the frame

Conflicts:
	contrib/osx/keybindings.el
2015-06-08 00:22:57 -04:00
Tu Do c773d11aee [FIX] Add key binding for exit src buffer in Org for Emacs user
We add this key mapping because an Emacs user can change
`dotspacemacs-major-mode-emacs-leader-key' to `C-c' and the key binding
C-c ' is shadowed by `spacemacs/default-pop-shell', effectively making
the Emacs user unable to exit src block editing.
2015-06-08 00:20:54 -04:00
Uri Sharf 1178e18f05 Refine system and feature detection
Conflicts:
	contrib/osx/keybindings.el
2015-06-08 00:13:16 -04:00
Uri Sharf bd54e0f394 Add reveal-in-finder in osx contrib layer 2015-06-08 00:12:12 -04:00
Uri Sharf cb2b32a85a Only update dired-use-ls-dired if gls was found on path 2015-06-08 00:07:32 -04:00
Samuel Tonini eb269c7458 update elixir contrib
* add missing key bindings
* add alchemist-refcard spacemacs version
* update README
2015-06-08 00:02:44 -04:00
syl20bnr d1ecbfa6bb python layer: new variable python-test-runner, can be nose or pytest 2015-06-07 23:59:23 -04:00
Christoph Paulik 95526e8627 add option to use pytest instead of nose 2015-06-07 23:47:25 -04:00
Christoph Paulik 4f51b9b847 latex layer: Fix latex post init flycheck hook
- this also broke flycheck support in python
2015-06-07 23:43:44 -04:00
Henrik Lissner 6fc367ff52 Update packages.el
Updated evil-snipe config to reflect changes to the plugin.
2015-06-07 23:41:39 -04:00
Emmanuel Mwangi f9b141831a Fixing copy/paste error: npm install js-beautify 2015-06-07 23:39:10 -04:00
syl20bnr eaba99a603 Rename ipython layer to ipython-notebook and move it to !lang 2015-06-07 23:36:39 -04:00
syl20bnr d819cf45da ipython layer: minor changes, reformat micro-state doc 2015-06-07 23:33:33 -04:00
Diego Berrocal 1b0b7371a5 ipython layer
You asked for it :) This is very trivial still ;_;
2015-06-07 23:19:03 -04:00
JP-Ellis a4b5a22fb3 Fix a couple of typos.
Also, I think it best to not automatically enable electric sup- and
sub-scripts as they can be quite annoying to some people (but amazingly
useful to some others).  Perhaps it is best to leave these two with the
AucTeX default and let users enable them in their config?

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-06-07 23:17:30 -04:00
syl20bnr 1f4de8fe85 osx : remove duplicated key bindings to scale font 2015-06-07 23:11:44 -04:00
zimbatm 07699ca730 Map the usual cmd keys for font scaling
s-= to scale up
s-- to scale down
s-= to reset
2015-06-07 23:10:41 -04:00
Jenan Wise 0bc9dd45c9 Add "mga" shortcut to go mode for switching between test and non-test file.
The same shortcut was chosen as that in the c/c++ package.
2015-06-07 23:01:15 -04:00
syl20bnr 60a50e6733 Rename auctex layer to latex and move it to !lang 2015-06-06 00:46:47 -04:00
syl20bnr 4f8c2a61ed auctex layer: refactor layer
- remove redundant layer variables
- move hooks to post-init functions
- sort key bindings
- move variable definition to :init to be overridable
- lazy load auctex-latexmk
2015-06-06 00:31:07 -04:00
JP-Ellis cfcce3efa7 A few improvements to AucTeX:
- Move function definitions from inside package.el to funcs.el;
- Add a few variables to allow some configuration with .spacemacs;
- Enable RefTeX support;
- Move key-binding-prefixes to config.el (similar to git layer);
- Use auto-fill-mode, with a environment-aware auto-fill function;
- Provide a few additional sane defaults (some of the more "annoying"
  ones are configurable from .spacemacs)
- Remove `build-view` in favour of just `build` as it seemed to be
  broken and introduce `SPC m v` to view;
- Add support to LatexMk.

!squash Added auctex-reftex-plugin variable.

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-06-05 23:31:41 -04:00
syl20bnr 0a0b529c9b erlang-elixir layer: add elixir key bindings to README 2015-06-03 21:36:05 -04:00
syl20bnr f87945bc52 Add spacemacs-theme 2015-06-03 00:38:45 -04:00
syl20bnr af743bd4f4 osz layer: update README with last key bindings 2015-06-03 00:16:30 -04:00
syl20bnr fb3c4dd608 rust layer: fix flycheck setup 2015-06-02 23:18:31 -04:00
Swaroop C H e4725070c0 rust layer: Add flycheck-rust package 2015-06-02 23:00:27 -04:00
Tu Do da85d514fc Enable GDB many windows
gdb-many-windows enables an IDE like debugger frontend for Emacs.
2015-06-02 22:59:45 -04:00
Josh Greenwood 94a42afc45 Adds OSX command +/- keybindings for font scaling 2015-06-02 22:58:42 -04:00
ralesi 97985c6cb9 fix autothotkey mode bindings 2015-06-02 22:55:13 -04:00
Josh Greenwood 85721d7fc0 Adds install instructions to gnus contrib README 2015-06-02 22:54:39 -04:00
Kirill Kulikov a1c6fc91f0 Configures the classpath directory for the ensime server
Configures the directory to store the calculated classpaths for the
ensime server. By default it creates `ensime` folder in `.emacs.d/`.

https://github.com/ensime/ensime-emacs/pull/135
2015-06-02 22:53:43 -04:00
Brian Hicks 9852e225d6 yasnippet: default helm-yas-display-key-on-candidate to t 2015-06-02 22:52:59 -04:00
Tu Do 7299cc59b6 [Fix #1813] Insert tab in Python REPL
Currently, when tab is pressed, spaces are inserted. It makes Python
REPL unable to recognize code indentation. We must use tab to indent.
Setting indent-tabs-mode is buffer local, so it does not affect its
value in other buffers.
2015-06-02 22:43:25 -04:00
syl20bnr da1a953878 org layer: move ox-gfm to extensions and add org-enable-github-support
Fixes #1800
2015-06-02 22:06:41 -04:00
syl20bnr dc048726f6 org layer: Fix lazy-loading issue with ox-gfm
Fix the error `Symbol's function definition is void: org-export-dispatch`
2015-06-01 00:12:30 -04:00
syl20bnr 012375839f c-c++ layer: rename default mode for header variable
New name is `c-c++-default-mode-for-headers`, possible values are
`c-mode` or `c++-mode`.
2015-05-31 23:09:27 -04:00
Craig Eales a78c59cf2d Add option to open .h files with c++-mode
Remove default auto-mode-alist mapping from *.h to c++-mode.
Introduce a variable and use that in the init: section of cc-mode to
conditionally update the auto-mode-alist.
Updated the documentation.

Conflicts:
	contrib/!lang/c-c++/README.md
2015-05-31 23:03:00 -04:00
Török Edwin e57c8aa095 ocaml: comment out auto-complete initialization code
to make sure only one completion engine is active
2015-05-31 22:52:05 -04:00
Török Edwin f23aa2b0da ocaml layer: Add key bindings
- enable ocamldoc in company completion
- enable merlin-document binding
- add binding for ML <-> MLI switch
- bind most merlin commands

user visible change:
  printing type at point was moved to SPC mht, and SPC mhT asks for an expression
  SPC mgg/mgG is now consistent with CONVENTIONS.md, and
  SPC mgb can be used to go back(in addition to default C-c &)
2015-05-31 22:51:27 -04:00
Török Edwin ab1a1eae60 ocaml: fix flycheck
but keep it disabled (need to test interaction with auto-complete and company)
2015-05-31 22:48:46 -04:00
Török Edwin 264a3c2019 ocaml: support both auto-complete and company 2015-05-31 22:34:16 -04:00
syl20bnr 4489de827b Now :variables values must be quoted like in setq sexps
Fixes #1596
2015-05-31 20:55:46 -04:00
syl20bnr 4b0c84ebb9 Move SPC p $ t to shell layer 2015-05-31 18:06:35 -04:00
mike-work 872b26e0ed Add company-mode hook for lua 2015-05-31 17:47:35 -04:00
Diego Berrocal 43acc9314f Add Search Engine layer 2015-05-31 17:45:16 -04:00
Tu Do 7f90d99a48 Fix Python and Semantic integration
When no Python executable is detected, Semantic causes an error that it cannot
retrieve include paths from the executable, causing an error that prevents
Python buffer to be switched and error is repeatedly reported whenever a Python
buffer is opened. This commit ignores the error from
semantic-python-get-system-include-path that is called when Semantic setup
itself for a Python buffer.
2015-05-27 23:50:58 -04:00
syl20bnr a514f6f569 Add TODO for python inferior process key bindings 2015-05-27 23:49:19 -04:00
Tu Do ae48bd866b [Fix #1668] Don't enable Vim key bindings if holy-mode 2015-05-27 23:45:13 -04:00
Bjarke Vad 78b39f1f72 ghci-ng for haskell-process-do-type-on-prev-line` 2015-05-27 23:29:08 -04:00
Eivind Fonn 5c0862c4aa Fix smex prompt whitespace 2015-05-27 23:03:35 -04:00
Tu Do fafb9c4b3e Enable company in Python REPL for code completion
- Company should be enabled in Python REPL for displaying completion
candidates. Note that in Python REPL, we must use company-capf to
display the candidates from Python REPL, since in the REPL it uses
completion-at-point to display candidates from the REPL. Also, we
locally set company-minimum-prefix-length to 0, so that completion
starts immediately after the first character. We also need to set the
idle delay a bit higher (0.5) compared with Spacemacs default (0.2),
since setting it too low may cause company unable to retrieve completion
candidates.

- Anaconda should NOT be enabled in Python REPL for retrieving proper
completion candidates. This can be tested in Python REPL: when
anaconda-mode is enabled and without any prefix string before point, run
the command completion-at-point (bound to C-M-i by default), completion
candidates from Anaconda are displayed but NOT the ones from the real
REPL. So, when you import a module i.e. os and try to access the
functions in the module with "os." prefix, nothing inside the module is
displayed because Anaconda does not work in Python REPL. When
anaconda-mode is disabled, candidates in "os." are displayed properly
with company-capf. company-anaconda backend cannot be used in Python
REPL since it is buggy: it cannot retrieve any prefix before point and
narrow properly.
2015-05-25 23:39:05 -04:00
jupl 5d7199a905 Turn on rainbow-delimiters for LESS and SCSS 2015-05-25 23:34:46 -04:00
Tu Do 8ef3b52a9f Explicitly enable yas-minor-mode
yas-global-mode is always enabled to ensure snippets are loaded
properly, but to use the snippets, a major mode must have yas-minor-mode
enabled. This commit ensure such condition happen.
2015-05-25 23:08:59 -04:00
syl20bnr 38b5cf9263 emoji layer: fix lazy loading of emoji-cheat-sheet-plus-buffer 2015-05-25 00:54:34 -04:00
syl20bnr 92064d14c2 Move emoji layer to new category !fun 2015-05-25 00:53:15 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
Tu Do d6b5f596b5 Remove auto change directory in ansi-term
By sending `cd` command, it clears previous shell output. This is only
an issue with ansi-term, not other shells.
2015-05-25 00:46:18 -04:00
syl20bnr 60550b290b Delete obsolete README 2015-05-25 00:45:21 -04:00
syl20bnr 0088b6d689 Remove obsolete comment 2015-05-25 00:44:18 -04:00
syl20bnr b662651595 emoji layer: fix org rendering 2015-05-24 23:38:56 -04:00
syl20bnr 3ff8136d1d shell layer: add support for multi-term
`SPC a s m`
or `set shell-default-shell` to `multi-term` and press `SPC '`
2015-05-24 22:01:26 -04:00
syl20bnr 5e9ceccf23 emoji layer: fix rendering in org buffers
There is still an issue with the first colon that is not invisible
but I guess we can live with it
2015-05-24 20:07:34 -04:00
syl20bnr 0d5ea1b5a4 emoji layer: fix invisible text after emoji image 2015-05-24 19:49:57 -04:00
syl20bnr f734b51768 emoji layer: increase helm candidate limit 2015-05-24 19:32:40 -04:00
syl20bnr 27223caada new layer: emoji 2015-05-24 19:13:33 -04:00
Tu Do 0cb6acb7af [Fix #1553] Make sure yasnippet is actually loaded
By checking if the yas-minor-mode is enabled. If so, load yasnippet. We
must do so because some package might load yasnippet and make
yas-minor-mode definition available, thus prevent Spacemacs to load
yasnippet properly. By checking yas-global-mode variable, we can assure
that yas-global-mode is enabled properly.

Also exclude yasnippet from eshell.
2015-05-22 23:16:02 -04:00
Tu Do 18465ce740 Quit sub-jobs when exiting ansi-term 2015-05-22 22:32:27 -04:00
syl20bnr efb0f812c4 Fix binding conflict with shell and evil-nerd-commenter
Move `SPC ;` to `SPC '` for spawning the shell
2015-05-22 21:23:53 -04:00
Tu Do 5308baf764 Enhance shell-pop and term integration
- Only set Eshell by default on Windows; in other OSes we use `ansi-term`,
NOT `term`. The reason is that `ansi-term` can use Emacs key bindings
such as C-x b, C-x 1... even editing commands such as M-u/M-l. `term`
cannot and we have to use the default `C-c b` variants i.e. C-c b to
switch buffer instead of "C-x b". `ansi-term` is currently the best
terminal emulator in Emacs.

- Allow ansi-term/term to close its shell-pop window when a user type
"exit".

- With shell-pop, we can allow ansi-term/term to track current directory
of current buffer. It is a useful feature and it also makes ansi-term
consistent with eshell/shell.

- Swap "term" and "ansi-term" key bindings, since the old "ast" was used
  for multi-term, which is a wrapper around ansi-term.
2015-05-22 00:49:58 -04:00
syl20bnr f586aa8b39 shell layer: set shell-pop-full-span to t 2015-05-21 00:53:54 -04:00
syl20bnr df97639e19 Add doc for helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:18:29 -04:00
Michael Hauser-Raspe bc64641e87 Add helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:16:47 -04:00
montauk 6229927c70 add/map org-tree-to-indirect-buffer to mb 2015-05-20 23:04:03 -04:00
syl20bnr c75a09c981 shell layer: move some doc in DOCUMENTATION to shell layer README 2015-05-20 22:48:03 -04:00
syl20bnr d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00
syl20bnr 5c6269f9df emacs-lisp layer: do not use minibuffer for macrostep micro-step 2015-05-20 02:05:10 -04:00
syl20bnr a94808b040 clojure layer: change test bindings to fit conventions 2015-05-18 23:03:32 -04:00
Stephen Caudill aab22541be Improve cider-test integration
* `mtt` now reloads test ns before running all tests
* added `mtT` to reload test ns and run focused test
* added `mtr` to reload test ns and re-run failed tests for namespace

The test namespace reloading is a workflow optimization. The alternative
is a minimum of two commands (`SPC m e b` or `SPC m e f` and `SPC m t
t`) in order to re-run a single test. When driving development from
tests, this is onerous at best (and I couldn't think of a good reason
_not_ to reload the test ns).
2015-05-18 23:01:25 -04:00
Tristan Hume 5f3bd7c476 Add D language layer 2015-05-18 22:52:11 -04:00
syl20bnr cfa7fd1d91 scala layer: move attach to debugger bindings to SPC m d A
`SPC m d a` is used to abort a debugging session.
2015-05-18 22:48:44 -04:00
Kenneth Brown e7ceda9cbd Scala: Added shortcut to attach to remote debugger 2015-05-18 22:46:58 -04:00
syl20bnr b0cbae7d23 git layer: move helm-gitignore on SPC g I 2015-05-18 22:37:31 -04:00
jupl 20a3d17ad7 Add helm-gitignore to git layer 2015-05-18 22:35:51 -04:00
Jean-Christophe Petkovich 248ddde176 company-ess has been merged with ess
`company-ess` has been removed from melpa, it has been merged with
`ess`.

This is my suggestion for the fix.

Modifications as requested.
2015-05-18 22:33:33 -04:00
syl20bnr 5b72221fe8 agda layer: add TOC to README 2015-05-18 03:03:41 -04:00
syl20bnr 75c170cc06 agda layer: refactor layer to use use-package
- display a warning if agda has not been found
- add a micro-state to easily navigate between the goals
- use face-remapping-alist to redefine the faces
- add some missing key bindings
- add support for golden-ratio
- add quick cabal instruction to install agda
- sort key bindings alphabetically
2015-05-18 01:51:03 -04:00
syl20bnr 501c747fd7 games layer: remove unnecessary key binding for 2048 2015-05-17 21:50:19 -04:00
Oliver Charles ae8559648a lang/agda-mode: New layer 2015-05-17 12:49:37 -04:00
syl20bnr 5a1ee91f70 games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
nashamri f0c84afacb Add games layer to spacemacs 2015-05-16 22:21:33 -04:00
jupl 3ff2780e24 Fix typos in org-present keybinds 2015-05-16 22:21:17 -04:00
syl20bnr d2a7ce7ae5 vim-empty-lines layer: Minor refactor of excluded major-mode 2015-05-16 22:20:04 -04:00
Tony Lotts 54387b12a3 Exclude terminal modes from vim-empty-lines Fixes #1615 2015-05-16 22:11:54 -04:00
syl20bnr 5ee7203ab5 Modifiy auto-yasnippet key bindings and auto switch to insert state on expand 2015-05-16 22:07:28 -04:00
Diego Berrocal fa362cc406 Define insert <kbd> tag a la C-h k for org and md
This makes it possible to use the kbd tag. I'm not sure where should
this be in. Feel free to move it around.

Renamed endless to spacemacs

Added fontification to @@html: stuff (could be changed)
2015-05-16 12:03:19 -04:00
Tu Do 745d3e0845 Add auto-yasnippet
Make it easy to create snippets.
2015-05-16 11:59:13 -04:00
Diego Berrocal 49fb70c0f6 Added Gmail messages support! with ham mode:
ATTENTION: this needs users to have pandoc installed...or any other
markdown executable in their path
2015-05-16 11:46:26 -04:00