Commit graph

3209 commits

Author SHA1 Message Date
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
Tu Do
f0a804f4f9 Update quickhelp
Add info to help user know how to quickly access each layer and
.spacemacas file.

Also fix line end formatting: use unix by default.
2015-05-10 01:02:29 -04:00
Chris Sims
d333e86fa8 Add binding to connect to REPL in Cider 2015-05-10 01:01:57 -04:00
Allen Li
8716ee5433 Use helm-pp-bookmarks instead of helm-bookmarks
helm-pp-bookmarks provides the same functionality except it uses colors
to make the interface prettier.
2015-05-10 01:00:28 -04:00
person808
1c6fe70982 Add macrostep micro-state to emacs-lisp layer. 2015-05-10 01:00:09 -04:00
Suman Nandan
4317bbcae3 updated README of contrib/perforce 2015-05-10 00:59:23 -04:00
Suman Nandan
6793eda4a9 Added more keybindings to p4 2015-05-10 00:59:17 -04:00
Zhe Cao
2ab2725b2d add htmlize package to enable syntax highlight in export html 2015-05-10 00:58:04 -04:00
Török Edwin
e1d3f5adb2 remind to use fd when keybindings don't work
I found myself in <kbd>SPC : customize</kbd> without knowing how to switch out of it again when I was done, there was no menubar, and I couldn't turn it on either because the <kbd>SPC</kbd> keybindings or the Vim ones just didn't work at all.
Reading the documentation again I gave <kbd>fd</kbd> a try, and it brought the keybindings back, so I think it'd be helpful to mention that <kbd>fd</kbd> is also useful as an escape when the usual keybindings don't work.

Also wouldn't hurt if a message was displayed to use <kbd>fd</kbd> when trying to use <kbd>SPC</kbd> and it doesn't work.
2015-05-10 00:57:27 -04:00
syl20bnr
dd277ca00d Fix spray cursor issue when quitting
fixes #679
2015-05-10 00:39:07 -04:00
syl20bnr
b10e3c8b97 Move SPC b r to SPC f R (rename file)
fixes #707
2015-05-10 00:18:00 -04:00
syl20bnr
5c84cc9ff2 Add FAQ about emacs -q and after-init-hook
fixes #844
2015-05-10 00:08:33 -04:00
syl20bnr
69573d8afd Hack to speed up ace-jump-line as an evil motion
fixes #963
2015-05-09 23:45:34 -04:00
syl20bnr
482df58932 Fix global toggle of whitespace
fixes #1124
2015-05-09 23:32:43 -04:00