Commit graph

3222 commits

Author SHA1 Message Date
syl20bnr
2da8982d06 ibuffer layer: refactor use-package sexps and simplify variables 2015-05-12 23:34:04 -04:00
Aleksandr Guljajev
80a134c7e8 Add ibuffer layer 2015-05-12 23:02:16 -04:00
syl20bnr
56d028c7a7 Lazy load clean-aindent-mode loading 2015-05-12 22:51:00 -04:00
Tu Do
50baa15e25 Add clean-aindent-mode package
When we press RET to move to next line without inserting anything, the
trailing whitespace (used for indentation) is left there
forever. clean-aindent-mode is used for cleaning up such whitespace
automatically. See Emacswiki page for demo:
http://www.emacswiki.org/emacs/CleanAutoIndent.
2015-05-12 22:45:34 -04:00
person808
172dde934d Fix typos in ocaml layer. 2015-05-12 20:17:10 -04:00
syl20bnr
db1821a97f ocaml: refactor layer to make it better for spacemacs idioms
Fix activation of auto-complete
Sort packages
Improvement with hook usage
Move opam init function in funcs.el and call it only in tuareg config
Fix errors if opam is not installed, warn if it has not been found
Small edition of the README
Rename additional REPL functions with spacemacs prefix
2015-05-11 23:45:26 -04:00
Török Edwin
626b4d644c ocaml: various tweaks 2015-05-11 20:38:40 -04:00
Török Edwin
54f5179a83 ocaml: add note about additional config layers supported 2015-05-11 20:38:14 -04:00
Török Edwin
1ec4ce2282 ocaml: basic REPL(utop) and merlin key bindings 2015-05-11 20:38:10 -04:00
Török Edwin
9b598b1d72 ocaml: flycheck support
if syntax-checking configuration layer is turned on in .spacemacs
2015-05-11 20:38:06 -04:00
Török Edwin
a4d6c78ef3 ocaml: auto-complete with merlin and company mode
if auto-completion configuration layer is turned on in .spacemacs
2015-05-11 20:38:01 -04:00
Török Edwin
4450058b08 ocaml: use utop and ocp-indent plugins
utop as REPL
ocp-indent for indentation
2015-05-11 20:37:46 -04:00
syl20bnr
60052b3168 Remove unnecessary append of class symbol in spacemacs|advise-commands 2015-05-10 23:42:11 -04:00
syl20bnr
6f7505abf9 Fix advice deactivation for paste micro-state 2015-05-10 23:32:12 -04:00
syl20bnr
7dc0ddd984 Better naming of advice for spacemacs|advise-commands 2015-05-10 23:31:36 -04:00
syl20bnr
d587dd9db9 Use universal argument for auto-indent pasted text and add doc
Using the prefix argument does not work nicely with evil since it is
already used to paste several times. Instead we use the universal
argument. To make it work with the evil functions we have to do some
trick to hide the universal argument temporarily (see around advice).
2015-05-10 22:49:07 -04:00
Tu Do
fe5c6ec1bc Auto-indent when pasting
This is a nice feature taken from Prelude. This commit advises yank and
yank-pop and evil-paste-after to indent after pasting, unless a prefix
arugment is specified or the major mode is one of
spacemacs-indent-sensitive-modes.

Conflicts:
	contrib/better-defaults/README.md
2015-05-10 21:51:24 -04:00
syl20bnr
7a3f32be72 Move SPC p $ to SPC p $ t 2015-05-10 21:48:08 -04:00
Tony Lotts
a8e7870ae0 Add 'SPC p $' to run multi-term at project root 2015-05-10 21:43:20 -04:00
person808
f77035da9a [Fix #1547] Make org-ctrl-c-ctrl-c fallback to <Leader>m,.
Fixes errors when dotspacemacs-major-mode-leader-key is nil.
2015-05-10 21:42:57 -04:00
syl20bnr
744b9ef656 core: better warning message with duplicated layers 2015-05-10 19:01:31 -04:00
syl20bnr
c39f6e4b98 puppet layer: Remove conditional sexp for post-init-company
It is not needed in this case because a post-init does not mark
the package as used (so if there is not init function for company
it won't be installed and the post-init function won't be evaluated)
2015-05-10 12:12:12 -04:00
Pierre Radermecker
76e3bdf4fc Fix #1557: Add auto-completion to puppet 2015-05-10 12:11:43 -04:00
Bjarke Vad
c786435fd2 Fixed ghci-ng loading 2015-05-10 12:10:55 -04:00
person808
0f967a79d3 Load evil-snipe conditionally.
This fixes a bug that caused magit-status to launch in a blank split.
2015-05-10 12:09:31 -04:00
syl20bnr
68eb5fcc35 auto-completion layer: SPC t a toggle company backend by default
fixes #1289
2015-05-10 10:52:39 -04:00
syl20bnr
b46a200fa6 colors layer: new variable colors-theme-identifiers-sat&light
add support for jazz theme
2015-05-10 10:36:07 -04:00
Kosta Harlan
fc8dc9c285 php-layer: Fix ggtags hook.
Follow up to #1140

temp
2015-05-10 01:40:16 -04:00
Tu Do
50092b904f [Fix #960] Add open-junk-file
open-junk-file allows quickly create a junk file, for example, to test
programming language features and allows easy saving the file when
needed.
2015-05-10 01:38:25 -04:00
Carl Lange
093b2e1135 add markdown render buffer command 2015-05-10 01:38:03 -04:00
Tu Do
b89ce54df3 Fix company and fci-mode incompatibility
It is reported in this issue: https://github.com/company-mode/company-mode/issues/180
that company has distorted completion popup with fci-mode turned on.
Company maintainer proposed a fix for this issue that is added in this
commit.
2015-05-10 01:35:32 -04:00
Tu Do
9f715a5cf7 Enable fci-mode in git-commit-mode
Having fci-mode to visually indicate the limit of commit message region
is nice. With it, we know exactly our text does not cross the limit (i.e
72 columns). Sometimes, text can cross the boundary if we add something
but use C-n or j to move to next line.
2015-05-10 01:35:24 -04:00
Tu Do
e6ffbd0023 Fix fci-mode rule color
The current color is unreadable in dark theme since it uses
black. Change it to a color that readable in both dark and light theme.

Bonus: it looks nice in solarized light.
2015-05-10 01:35:19 -04:00
syl20bnr
a48d39b74f Convolute last change to define the advice only if evil-jump is used 2015-05-10 01:32:13 -04:00
luxbock
f4fd948725 Advice evil-jump-to-var with evil-set-jump 2015-05-10 01:31:07 -04:00
syl20bnr
10c96ce44d Set sentence-end-double-space to nil by default 2015-05-10 01:30:43 -04:00
roryk
f0005b2fcd When using vim editing style use single space sentence delimiter. 2015-05-10 01:28:17 -04:00
Tu Do
e2dea377b7 Disable smartparens in SLIME REPL 2015-05-10 01:18:44 -04:00
Bjarke Vad
7c3d95c962 Fixed ghci-ng keybindings being overriden 2015-05-10 01:18:01 -04:00
jupl
7f8fa1de8d Remove editorconfig layer
Since it does not bring anything to spacemacs
Use `dotspacemacs-additional-packages` instead to install it.
2015-05-10 01:16:00 -04:00
syl20bnr
f4670d6c7a osx layer: add documentation for coreutils' gls 2015-05-10 01:15:00 -04:00
Uri Sharf
0a21a28165 Make dired use coreutils' gls, if installed 2015-05-10 01:12:17 -04:00
Chris Barrett
e1d2cbd1c4 haskell: fix haskell-indentation eval-after-load
The `progn` in the eval-after-load was not quoted, so it was being
evaluated unconditionally. This led to the haskell-indentation guides
being unconditionally enabled.

Additionally, only enable the indentation guides when
haskell-indentation-mode is on.

Resolves #1136.
2015-05-10 01:10:16 -04:00
Tu Do
0e2662dc3c Replace C-o with M-o in Dired buffer
Since `C-o` is replaced with evil-execute-in-normal-state.
2015-05-10 01:09:51 -04:00
Tu Do
a68a75f028 Make helm-find-files backspace behave like Ido
To make it easier for people to switch to helm-find-files from Ido.
2015-05-10 01:08:42 -04:00
Michishige Kaito
24da945166 Move Rust to own layer 2015-05-10 01:07:53 -04:00
Brian Hicks
5532d8e0d5 spotify: add layer 2015-05-10 01:04:41 -04:00
person808
79988f375d Disable evil-snipe in magit-status-mode.
Evil-snipe takes over the keybinding for s, making it impossible to
stage part of a hunk.
2015-05-10 01:03:33 -04:00
Eivind Fonn
3749668e24 Add matlab to extra-langs layer 2015-05-10 01:02:56 -04:00
Tu Do
20c0bbe89b Make window inactive face less distracting
Currently using font-lock-preprocessor-face can make window number too
bright and distract. Use font-lock-comment-face to make it less
distracting while still visible since it's an inherent part of the
theme.
2015-05-10 01:02:41 -04:00