Commit graph

2840 commits

Author SHA1 Message Date
Tu Do
f92a5e63a6 Replace show-paren-mode with show-smartparens-mode
show-smartparens-mode offers better highlighting: it can highlights pair
recognized by Smartparens, including pairs such as \\(\\) and XML tags.
2015-04-04 00:24:58 -04:00
Tu Do
fd1f524aff Improve SLIME layer
- Use slime for indentation
- Add extension for SBCL
- Allow to create a common lisp scratch buffer with slime-scratch
- Enable fuzzy completion with score.
- Don't enable SLIME in Emacs Lisp. It's not usable. The SLIME of Emacs
Lisp is Emacs itself.
2015-04-04 00:23:33 -04:00
Tu Do
835d565b3f Enable smartparens in eval-expression
Also don't treat ' as a pair, so we can quote lisp symbols.
2015-04-04 00:22:07 -04:00
Tu Do
284641c005 Enable eldoc in eval-expression and IELM
So, when using eval-expression (bound to "M-:") and IELM, we have eldoc
like in a code buffer.
2015-04-04 00:21:28 -04:00
syl20bnr
8f6f9dcff4 python layer: add documentation for SPC m h d 2015-04-04 00:19:17 -04:00
Daniel Wu
6711ae4bca python layer: Add helm-pydoc 2015-04-04 00:18:00 -04:00
Jeremy Huffman
cd3346c125 ghci-ng should now override mht rather than mt 2015-04-04 00:17:31 -04:00
person808
abfceb6a3b Add adaptive wrap. 2015-04-04 00:12:20 -04:00
Ben Gamari
2b7a496464 Associate .mkd with markdown-mode
This is a common enough extension that it seems reasonable to do this by
default.
2015-04-04 00:02:58 -04:00
Diego Berrocal
0cde3b1239 Rebind spacemacs/persp-switch-project
From `SPC p s` to `SPC p p`
2015-04-03 22:19:45 -04:00
Tu Do
179d8caeb3 Prevent cursor from moving into minibuffer prompt 2015-04-03 22:19:25 -04:00
syl20bnr
25316d6a00 auto-completion layer: Fix typo in funcs.el 2015-04-03 22:08:51 -04:00
syl20bnr
57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr
0a31c1fedb clojure-layer: fix AC sources 2015-04-03 18:33:37 -04:00
syl20bnr
69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr
1e17bb750f Fix various missing init functions 2015-04-03 18:02:00 -04:00
syl20bnr
8b1cf9a784 Move fish-mode to new layer: shell-scripts 2015-04-03 17:44:11 -04:00
syl20bnr
5d8be137e7 Define missing init functions 2015-04-03 17:35:33 -04:00
syl20bnr
318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr
9f3f2b9741 Fix automatic global toggle of auto-complete when loaded 2015-04-03 13:30:26 -04:00
syl20bnr
df061e494f Some other typos in auto-completion README 2015-04-03 00:47:37 -04:00
syl20bnr
a487230e94 Typo in auto-completion layer REAMDE 2015-04-03 00:37:14 -04:00
syl20bnr
769d54da02 New layer auto-completion
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00
syl20bnr
2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00
syl20bnr
cb259666bb Remove some not used packages from Spacemacs layer 2015-04-02 22:43:21 -04:00
syl20bnr
1b7facc48c Add magit-completing-read-function to magit init 2015-04-02 22:42:57 -04:00
syl20bnr
5f7579867a New update method
- backup the packages to be updated
- then delete them
- the user restart emacs and spacemacs will install the last version

Fixes some update errors related to byte-compilation like the one
which affected the powerline (void variable left)

This commit also adds some page break for clarity
2015-04-02 22:23:16 -04:00
Tu Do
61dce32ad6 Enable goto-address-prog-mode
So we can see web links easily and jump to the links with a mouse click
or a key binding.
2015-04-02 00:46:53 -04:00
syl20bnr
cf6f086e35 Simplify helm-descbinds configuration 2015-04-02 00:42:55 -04:00
Tu Do
fd5a8b0d7b Enable helm-descbinds globally
It offers superior key binding and command exploration interface compare
with stock Help buffer:

- It can search for key bindings or associated with Helm.
- Since using Helm, it can narrow to relevant matches.

Stock help-mode buffer has nothing on this. One useful example is using
`C-h b` to explore major mode key bindings.
2015-04-02 00:40:40 -04:00
person808
1b3a10b054 Add gotham theme. 2015-04-02 00:38:48 -04:00
syl20bnr
f5713f8d44 Startup lists at the end of the buffer with a page break line 2015-04-02 00:32:38 -04:00
dsdshcym
bdbefd7589 Make <escape> quit the isearch-mode like vim 2015-04-02 00:16:54 -04:00
syl20bnr
f42b686f4c Fix and tweaks for startup lists 2015-04-02 00:12:19 -04:00
Carl Lange
d478955481 Startify stuff 2015-04-02 00:03:06 -04:00
syl20bnr
5dd7383821 python layer: fix pylookup 2015-04-02 00:00:36 -04:00
syl20bnr
655e1a2c6b Move xkcd layer in "fun" category folder 2015-04-01 23:26:47 -04:00
syl20bnr
7dd500eb43 xkcd layer: edit readme and evilify the mode 2015-04-01 23:24:36 -04:00
syl20bnr
30872ee12f Fix error when displaying the missing layer warning 2015-04-01 23:14:48 -04:00
Diego Berrocal
0351469f20 Add xkcd-layer
xkcd greatness
2015-04-01 23:06:42 -04:00
syl20bnr
0b12f1ed70 Fix nyan cat starting rainbow on a light background 2015-04-01 22:59:20 -04:00
syl20bnr
b4c773b440 Move projectile switch project from SPC p S to SPC p p
Should be a quick command.
2015-04-01 22:54:58 -04:00
syl20bnr
66e1641c42 Rework the interface with search utilities
To search in an arbitrary directory
SPC s / -> do what I mean (select the first found utility)
SPC s a -> ag
SPC s g -> grep
SPC s k -> ack
SPC s p -> pt

To search in a project
SPC /     -> do what I mean (select the first found utility)
SPC p s a -> ag
SPC p s g -> grep
SPC p s k -> ack
SPC p s p -> pt

Note the symmetry.

helm-projectile-switch-project has been move on `SPC p S`
2015-04-01 22:37:25 -04:00
syl20bnr
411a7812ad Rename spacemacs/helm-projectile-dwim to spacemacs/helm-projectile-search-dwim 2015-04-01 21:51:42 -04:00
Rich Alesi
38c57a319d Add function spacemacs/helm-projectile-dwim
use ag / ack / pt or grep based on what is installed.
2015-04-01 21:47:46 -04:00
Rich Alesi
6fcb860050 Helm package for the platinum searcher 2015-04-01 21:46:36 -04:00
Rich Alesi
ff651964b0 elisp-slime binginds should be added to elisp-slime init 2015-04-01 21:10:02 -04:00
Rich Alesi
6def591674 Add bindings and functions to work with linum margin.
- single click selects line
- double click selects text block
- drag across lines selects all lines dragged across
2015-04-01 21:09:03 -04:00
syl20bnr
faca47e088 haskell layer: disable eletric-indent-mode 2015-04-01 12:08:31 -04:00
syl20bnr
d825f17874 haskell layer: Remove hi2 and reformat haskell/init-hakell-mode
Resolves #735
2015-04-01 12:04:43 -04:00