Commit graph

3442 commits

Author SHA1 Message Date
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
ptb
d875419792 Re-enable dotspacemacs-startup-banner nil option
Appears that commit 7a4a9724, disabled the dotspacemacs-startup-banner nil option.
2015-06-08 00:25:07 -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
Daan van Berkel
b856ccd87c correct helm link
The link to helm was defunct, i.e. `[helm][]` with a missing `[helm]` reference. There was a `[helm-link]` instead so I referenced that.
2015-06-08 00:23:31 -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
justbur
e6e9ec2d10 Add text alignment keybindings. Includes changes by @TheBB 2015-06-08 00:07:00 -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
syl20bnr
9e098ec3db Edit holy-mode doc and add it to TOC 2015-06-07 23:45:18 -04:00
fotoetienne
4a0f989b66 Document holy mode
Specifically, `SPC P tab` was previously undocumented.
2015-06-07 23:44:23 -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
dann toliver
0f066617be untransposed quit and write in tip 2015-06-07 23:39:52 -04:00
Emmanuel Mwangi
f9b141831a Fixing copy/paste error: npm install js-beautify 2015-06-07 23:39:10 -04:00
Emmanuel Mwangi
326a70c17f Fixing Links in README 2015-06-07 23:38:57 -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
person808
4297a87258 Update the quickhelp text. 2015-06-07 23:04:23 -04:00
person808
a34196506d Link vim migration guide in documentation. 2015-06-07 23:04:21 -04:00
person808
e6dedabcdc Show documentation in helm-spacemacs. 2015-06-07 23:04:19 -04:00
person808
a572f2edee Add link to vim migration guide in quickhelp. 2015-06-07 23:04:16 -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
Emmanuel Mwangi
3c41cd6507 Fixing link to Git Layers 2015-06-07 23:00:32 -04:00
syl20bnr
0980acb240 Update change log 2015-06-07 00:52:06 -04:00
syl20bnr
56d8505732 core: new function spacemacs/switch-to-version
Spacemacs can now be updated by clicking on the up arrow of the
modeline.
2015-06-07 00:42:23 -04:00
syl20bnr
2db488ad37 core: add support for spacemacs update
Move release management suff to newly created core-release-management.el
2015-06-06 23:26:14 -04:00
person808
8f3d65e59b Vim migration guide: Initial version. 2015-06-06 01:01:09 -04:00
syl20bnr
9621fcc60f Update change log 2015-06-06 00:55:49 -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
b17106482a Update change log 2015-06-05 22:53:13 -04:00
syl20bnr
86c94a2c7f core: auto-discover categories
Categories are directories whose names start with `!`
2015-06-05 22:47:23 -04:00
Eivind Fonn
a5a294cb33 Locate layers in arbitrary subdirectories
Conflicts:
	core/core-configuration-layer.el
2015-06-05 21:36:43 -04:00
syl20bnr
5fd8b4f5de Update change log 2015-06-05 00:37:51 -04:00
Tu Do
bef15e7689 [FIX] Remove kill-ring from save-hist
Since it is reported to have abnormal size on OS X and can freeze Emacs
without a way to recover: https://github.com/syl20bnr/spacemacs/issues/1300
2015-06-05 00:32:18 -04:00