Commit graph

4577 commits

Author SHA1 Message Date
syl20bnr
cd50d9c069 core: defer distro insertion in home buffer 2015-09-11 23:14:16 -04:00
justbur
89443ad220 hybrid-mode: Cleaner implementation
Using setf is better than using the previous advice, because it was
ignoring the arguments passed to evil-insert-state and the arguments
control whether the state message displays in the minibuffer. In this
version we just switch out the function definition for
evil-insert-state, and all arguments are handled perfectly.

spacemacs-core: Don't defer hybrid-mode

hybrid-mode is now extremely lightweight, and deferring it causes
problems if someone wants to bind keys in hybrid-mode but doesn't have
it selected as their editing style on startup. The reason is the
hybrid-mode keymap will not be available and an error will be thrown.
This requires using eval-after-load in this case, and this seems overly
complicated just to avoid loading this file.
2015-09-11 23:06:03 -04:00
syl20bnr
3b7d66d118 sync-configuration-layers: add option to skip tests 2015-09-11 23:04:55 -04:00
syl20bnr
77161bd591 core: restore default mode line in home buffer 2015-09-11 23:04:01 -04:00
syl20bnr
6e0ca23db8 core: set default distribution in template to spacemacs-core
Also remove version-control layer from template and add emacs-lisp
to initial value for dotspacemacs-configuration-layers
2015-09-11 23:00:33 -04:00
syl20bnr
62fb20c7c5 Move ido-vertical-mode package to spacemacs-core 2015-09-11 22:59:14 -04:00
justbur
f59cb5b215 core: Add choice of distro on install
Ref #2926
2015-09-11 21:27:36 -04:00
syl20bnr
520fa4bdb8 spacemacs: fix undo of auto-indentation of pasted text
Fixes #2346
2015-09-11 21:01:11 -04:00
Bar Magal
44672329fb hybrid-mode: fix error when using vim/emacs style 2015-09-11 12:15:27 +03:00
Bar Magal
1f3e6fabac Adding back hybrid-mode.el 2015-09-11 11:38:37 +03:00
syl20bnr
b45911f3d5 spacemacs: remove duplicated files 2015-09-11 00:16:56 -04:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
syl20bnr
30e6d213aa spacemacs-core: revert layout-double-columns and layout-triple-columns 2015-09-11 00:05:08 -04:00
d12frosted
82be34d36f restore spacemacs/new-empty-buffer 2015-09-11 00:02:22 -04:00
Christoph Paulik
c33a1db41a python: use quit-window to close documentation popup 2015-09-11 00:00:07 -04:00
Eivind Fonn
5e2fe96f35 Temporarily exclude evil-terminal-cursor-changer 2015-09-10 23:59:53 -04:00
justbur
631778ac84 hybrid-mode: Define hybrid-emacs state
This state is functionally equivalent to insert state but uses a new
keymap `evil-hybrid-emacs-state-map` that is just populated with escape
and the evil-leader bindings.
2015-09-10 14:38:36 -04:00
syl20bnr
71ce9968d9 tests: update configuration layers func. tests 2015-09-09 23:51:05 -04:00
Kai von Fintel
a767ad6e21 markdown: fix smartparens configuration
If smartparens package is not installed (perhaps, because spacemacs-core
option is chosen), smartparens-mode should not be added to the
markdown-mode-hook.
2015-09-09 23:45:06 -04:00
Andrew Burkett
ad0f26abde Attempt to delete-frame first in frame-killer
This is needed to get the frame to properly close when running a client
from the terminal. server-kill-buffer will close the frame for the
terminal only if the terminal was opened with a file argument and you
haven't changed buffers. make-frame-invisible is still needed as a fall
back if you are still working from the first emacs window since it won't
let you delete the last frame.
2015-09-09 23:45:05 -04:00
syl20bnr
91bb21788f core: simplify and fix visual state in evilified buffers
Fix cherry-pick of selected commit in visual state
2015-09-09 23:45:05 -04:00
Ben Hayden
e6843a94ea Fix salt layer keybinding. 2015-09-09 23:45:05 -04:00
syl20bnr
ea5ac6b1ad php: sort package configuration 2015-09-09 23:45:05 -04:00
Martin Račák
ef7dc66612 Turn flycheck on by default for php files 2015-09-09 23:45:05 -04:00
luxbock
5d86782101 Fix SPC u not repeating universal-argument
- Addresses #371
2015-09-09 23:45:05 -04:00
syl20bnr
bb24c36304 org: tweak gnuplot package configuration
- remove variable org-disable-github-support, users can excluded it
the usual way (updated the documentation to mention this)
- lazy load gnuplot
2015-09-09 23:45:05 -04:00
JP-Ellis
df3a0a5fab Add gnuplot as a dependency to the org layer.
It is possible to plot data from tables in org-mode; however, this
requires `gnuplot.el`.  Shortcut also added to plot (the single shortcut
is added to the README.org in another pull request).

http://orgmode.org/worg/org-tutorials/org-plot.html

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-09-09 23:45:05 -04:00
syl20bnr
4e87c1286b org: tweak and sort org table key bindings
Use hjkl whenever possible.
Arrow are not defined for now, should be done when we have a micro-state
2015-09-09 23:45:05 -04:00
JP-Ellis
1968f7ce95 Add table related shortcuts to org-mode.
Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-09-09 23:45:05 -04:00
syl20bnr
0c0f537893 spacemacs: remove call to set-default-evil-insert-state-cursor in spray 2015-09-09 23:45:05 -04:00
justbur
b034e7c7d8 spacemacs-core: Cleanup the init function for evil
There were a bunch of functions being defined to just be called once. It
was all very repetitive, and I thought this was a simpler way to
organize things. This just does the required work in one loop.
2015-09-09 23:45:05 -04:00
syl20bnr
c17db0dcb0 core: minor update of warning message when a layer does not exist 2015-09-09 23:45:04 -04:00
justbur
cc9287863b core: Fix #2952 by not loading missing layer
This issues a warning if the layer was declared in the dotfile but not
found through the layer discovery mechanism.
2015-09-09 23:45:04 -04:00
Boris
b8f3d395fd Update doc string for haskell-enable-hindent-style
Info was updated in README file, but not in doc string. Following #1786.
2015-09-08 18:51:20 +02:00
Vivien Moreau
44d9b0c1d9 Remove a duplicate of the ToC in the project's README 2015-09-08 18:47:34 +02:00
syl20bnr
b53b5db967 spacemacs-core: remove SPC f e s and SPC f e c
Now the user should use `SPC f e h` helm-spacemacs.
This is due to the fact that spacemacs layer is now a regular layer
stored in the "layers" directory.
2015-09-08 01:01:46 -04:00
syl20bnr
27f0cd7374 spacemacs: remove spacemacs-theme (it is part of spacemacs-core) 2015-09-08 00:42:29 -04:00
ralesi
8bcd42b33e Better accomodate helm on left and right. 2015-09-08 00:40:22 -04:00
d12frosted
14ef7d7c88 disable global-hl-line mode only locally 2015-09-08 00:36:43 -04:00
person808
f53620a1c8 Update hybrid mode documentation. 2015-09-08 00:36:31 -04:00
justbur
2ecfdb84fe spacemacs-layer: Correct use of setq-local in ahs 2015-09-08 00:35:34 -04:00
syl20bnr
f7d7374802 spacemacs: fix vertical-ido-mode configuration 2015-09-08 00:05:55 -04:00
syl20bnr
6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00
syl20bnr
37609161c8 tests: Add configuration layer functional tests 2015-09-07 19:42:22 -04:00
syl20bnr
78eee42f1b ranger: fix define-key error
Foxes #2920
2015-09-07 18:01:07 -04:00
Christoph Paulik
296e469057 fix anaconda keybindings for latest anaconda mode 2015-09-07 22:42:58 +02:00
justbur
7560d0b8ff spacemacs-layer: Fix ahs search 2015-09-07 14:47:19 -04:00
d12frosted
c43a8e958e respect setting startup banner to nil #2911 2015-09-07 14:26:33 -04:00
syl20bnr
d2d0891abc spacemacs: revert SPC s e and remove SPC s E (iedit)
Fixes #2884
2015-09-07 14:12:45 -04:00
syl20bnr
d66a285437 org: move ox-pandoc to pandoc layer 2015-09-07 01:06:31 -04:00