Commit graph

1748 commits

Author SHA1 Message Date
syl20bnr
47988be186 ivy: use :toggle keywork for counsel-projectile 2016-05-31 23:09:55 -04:00
ralesi
0c3ab2f3d1 Use counsel-projectile for projects with ivy. 2016-05-31 23:07:57 -04:00
Jean-Francois Chevrette
e104f49889 Fix typo in layers/+tools/shell/README.org
fix typo
2016-05-31 23:01:51 -04:00
syl20bnr
430a3e4797 fold method: split config and add dot variable to template
Move the evil part to evil config and used :toggle keyword
Also add the variable to the dotfile template
2016-05-31 22:59:39 -04:00
Muneeb Shaikh
371dd85ff2 core: add another code folding method using origami to spacemacs-editing
* layers/+spacemacs/spacemacs-editing/packages.el (spacemacs-editing/init-origami):
  add origami package and initialize it
* core/core-dotspacemacs.el (dotspacemacs-override-evil-folding): new
  variable to allow choosing between different code folding methods.
  Currently supported `evil' and `origami'
2016-05-31 22:46:04 -04:00
Eivind Fonn
845c42d252 core: add predicate function for toggles
Also use output in Spacemacs help sources
2016-05-31 22:33:44 -04:00
Eivind Fonn
62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
Eivind Fonn
6b3e1452cf core: misc. goodies for describe-package
- Use completing-read when called interactively
- Check for string locations in addition to built-in etc.
- Don’t double-princ on/off for toggles
- Bind to SPC hdP
2016-05-31 22:26:59 -04:00
syl20bnr
e825ad9be0 elixir: update doc 2016-05-31 22:23:18 -04:00
syl20bnr
4996f5248c elixir: add flycheck support for test results 2016-05-31 22:15:19 -04:00
syl20bnr
5b97df814e elixir: add flycheck support for credo 2016-05-31 21:51:49 -04:00
syl20bnr
dd572af071 elixir: add flycheck support for mix compile 2016-05-31 21:34:51 -04:00
syl20bnr
8fc53ae311 elixir: fix major mode face in mode-line
when a file is opened.
2016-05-31 20:21:50 -04:00
syl20bnr
5af1e453c6 elixir: fix smartparens setup 2016-05-31 13:49:09 -04:00
Yasuharu Iida
4ef24c27f7 ocaml: Add support for ocamllex , ocamlyacc file. 2016-05-30 21:06:02 -04:00
syl20bnr
fb97b87cc6 Call spacemacs/set-leader-keys-for-major-mode only once 2016-05-30 21:04:04 -04:00
Eivind Fonn
e63478049a shell: fix projectile-multi-term-in-root 2016-05-30 21:02:59 -04:00
syl20bnr
3359efcb8e erc: Quote arguments to with-eval-after-load 2016-05-30 20:58:09 -04:00
Diego Berrocal
a4cd306558 Breaking Bug Fix ERC related errors 2016-05-30 20:58:09 -04:00
Eivind Fonn
92d735483e Revert "agda: fix executable name"
This reverts commit 2477a3bf89.
2016-05-30 15:04:49 +02:00
Eivind Fonn
2477a3bf89 agda: fix executable name 2016-05-30 14:59:42 +02:00
sooheon
06efe3e6ae Typo fix for ipython layer: S-return to s-return
Also add "o" binding in ein:notebooklist-mode-map for ace-buffer-links.
It works just as in the spacemacs buffer.
2016-05-29 23:17:42 -04:00
Julian Ospald
d320d1af4b Fix proposed ghc-mod workaround in haskell layer README
"m" is extraneous.

Also see #4770 and #4790
2016-05-29 23:14:24 -04:00
JP-Ellis
e49c41adf9 Add make-frame shortcut, SPC w F
Placed it under the `SPC w` prefix since the related `other-frame` is
set to `SPC w o`.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-05-29 23:13:47 -04:00
ralesi
10d2dce0be Fixes #6051, checks for existance of git-gutter. 2016-05-29 23:05:04 -04:00
JAremko
74e0644759 add more checkers 2016-05-29 23:03:23 -04:00
Fredrik Bergroth
dad78fbdef spacemacs-base: evilify tar-mode 2016-05-29 23:01:13 -04:00
d12frosted
ce88cdfca7 [haskell] fix type and info hey bindings 2016-05-29 23:00:24 -04:00
Jean-Martin Archer
71c731aaf6 Use scala-mode instead of scala-mode-2 which is deprecated 2016-05-29 22:53:19 -04:00
Eivind Fonn
a2a331cb8f Don’t explicitly set box attribute
Since the face inherits from mode-line this is unnecessary, and makes it
difficult to change the mode-line box property.
2016-05-29 22:51:22 -04:00
Dave Aitken
2f7218e4c2 add-flycheck-hook expects a mode in purescript layer 2016-05-29 22:50:19 -04:00
syl20bnr
5e448a60ed Remove loading of funcs.el and config.el for helm and ivy spacemacs help 2016-05-29 22:39:56 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
syl20bnr
818867e012 Fix package sources for ivy and helm 2016-05-29 21:12:54 -04:00
Eivind Fonn
1623ff6044 bepo: dotspacemacs-verbose-loading was removed 2016-05-29 19:10:50 +02:00
Eivind Fonn
2c3243a178 shell: fix layer variable documentation 2016-05-29 19:10:13 +02:00
Eivind Fonn
ed8c0ca1dc latex: fix auctex-latexmk error 2016-05-29 18:23:51 +02:00
syl20bnr
46138cd25a Move declare-layers functions to new layers.el file 2016-05-28 21:26:00 -04:00
syl20bnr
ee59df2ab0 evernote: remove unneeded file 2016-05-28 19:49:36 -04:00
Eivind Fonn
439ce31bc5 asm: minor fixes
- Don’t need to enable company mode that way
- Disable electric local mode, and not global
- Properly handle electric indent disabling
2016-05-28 22:23:30 +02:00
syl20bnr
2a74c60fde theming: encapsulate theming config in init function 2016-05-27 07:24:23 -04:00
Peng Liu
584cae8d6f Fix the dependencies missing in bibtex layer. 2016-05-27 00:32:05 -04:00
syl20bnr
303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
syl20bnr
2b6292ef10 spacemacs-bootstrap: remove f and s in package list
It is unneeded to list them.
2016-05-27 00:32:05 -04:00
sooheon
ec3ea5b41e Move custom-set-faces out of company config
Keep it in a recommendation in the README for the layer. Eval'ing the
custom-set-faces directly in the config makes it difficult to revert the
customizations.
2016-05-27 00:32:05 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
sooheon
0a85d04892 Check for flycheck, not syntax-checking layer
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
syl20bnr
818afdfc71 Update diminish-hook to make it work with emacs daemon
And move the function to funcs.el
2016-05-27 00:32:05 -04:00
sooheon
671a4d21b7 Workaround for diminish without spaceline
@justbur's workaround, addresses #5194.
https://github.com/syl20bnr/spacemacs/issues/5194#issuecomment-189389164
2016-05-27 00:32:05 -04:00
Diego Alvarez
9cb0c1e109 Use new command to generate config
Old command doesn't exist anymore
2016-05-27 00:32:05 -04:00
syl20bnr
519d42e7c6 ivy: remove pcre2el from package list 2016-05-27 00:32:05 -04:00
sooheon
cd848d7e28 We don't need to declare pcre2el in ivy 2016-05-27 00:32:05 -04:00
syl20bnr
dbf82d3136 common-lisp: move helm specific stuff to post-init function
Also move defined functions to funcs.el
2016-05-27 00:32:05 -04:00
kr5x
5eba263448 common-lisp: add helm for choose lisp implementation 2016-05-27 00:32:05 -04:00
Eivind Fonn
ac104d2739 Move helm setq out of with-eval-after-load 2016-05-23 12:59:11 +02:00
syl20bnr
e4b7536510 Remove smooth scrolling from packages list 2016-05-22 10:00:57 -04:00
Allen Li
a9c95142b9 Remove smooth scroll margin
User changing the scroll margin should handle these cases themselves.
2016-05-22 09:58:40 -04:00
syl20bnr
fd756a124e New layer nlinum + revert default support for linum
To use nlinum + nlinum-relative add the nlinum layer

Note: there are still work to do on nlinum-relative, at some point we
may replace linum by nlinum completely.
2016-05-20 23:57:32 -04:00
syl20bnr
e06929ddaf Replace smooth-scrolling package by a native alternative
My tests show that scroll-conservatively does the job, need your
feedback on this.

See https://github.com/syl20bnr/spacemacs/issues/6097
2016-05-20 23:36:13 -04:00
syl20bnr
46b880668c Fix neotree key bindings 2016-05-20 17:00:27 -04:00
syl20bnr
da55a898ee Fix diminish for hi-lock mode 2016-05-20 09:03:00 -04:00
syl20bnr
0b84b1be66 Fix errors with last revert and move neotree funcs 2016-05-19 20:22:07 -04:00
syl20bnr
ee1d7d4bfa Revert "New layer spacemacs-projects containing projectile and neotree"
This reverts commit 3f22eeaa03.

Projectile is used in various places and can be considered a base
package.
2016-05-19 20:22:07 -04:00
syl20bnr
156cead380 Revert "Experimenting with 0.2 delay to redraw relative line number"
This reverts commit 8fd78b06f3.
2016-05-19 14:33:36 -04:00
syl20bnr
8fd78b06f3 Experimenting with 0.2 delay to redraw relative line number
0.2 is the same delay for additional UI improvements like matching
parens and highlighting.
2016-05-19 13:46:06 -04:00
syl20bnr
463e477fd1 Revert "scroll transient state: invert up and down"
This reverts commit c9f7fc097e.

Motivation: prefer to match the behavior of `[`, `]`, `{`, `}` etc...
instead of `j` and `k`.
2016-05-17 11:00:50 -04:00
syl20bnr
3aa77e45d2 deft: move setq to :init 2016-05-17 00:19:38 -04:00
Andrew Schwartzmeyer
9cd73d61f7 deft: Fix create new file with filter text
The binding of `SPC m n` calls `deft-new-file`, which only uses the
filter text `(when deft-use-filter-string-for-filename)`, which is set
to nil originally. So we need to make it true.
2016-05-17 00:18:22 -04:00
syl20bnr
27a665e616 Move nlinum-relative to spacemacs-evil layer
Make more sense in this layer since it is used mainly by Vim style users
2016-05-17 00:05:14 -04:00
codefalling
fa4eeb49f0 Replace linum by nlinum and nlinum-relative 2016-05-17 00:02:41 -04:00
Boris
b4b4491019 fix link in spell-checking readme file 2016-05-16 23:58:29 -04:00
km
c61205a657 Add prefixes for the Org layer bindings 2016-05-16 23:58:07 -04:00
km
9c4bf48d3e Add prefixes to the OCaml bindings 2016-05-16 23:57:47 -04:00
syl20bnr
9b3f5cac05 ocaml: add doc for SPC m = 2016-05-16 23:57:15 -04:00
km
e70796882d Add OCaml binding to indent buffer with ocp-indent 2016-05-16 23:55:25 -04:00
Matthew Egan Odendahl
bef3f838fd add prefix names for which-key 2016-05-16 23:55:18 -04:00
syl20bnr
a086a5ba17 Fix hs-minor-mode activation in prog modes 2016-05-16 21:02:33 -04:00
syl20bnr
c9f7fc097e scroll transient state: invert up and down
In order to map j and k (that is the left key goes down and the right
key goes up)
2016-05-16 14:29:30 -04:00
syl20bnr
1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
syl20bnr
1aa0e4bfa3 Rename default-org to default-org-config 2016-05-15 22:03:46 -04:00
syl20bnr
70aa0105a4 Move default config for ivy to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
Disable ivy-hydra for now.

With this default configuration users using helm instead of ivy still
get a good ivy base configuration (UI and Key bindings).
2016-05-15 22:03:25 -04:00
syl20bnr
cbda059ea0 Move default config for helm to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
With this default configuration users using ivy instead of helm still
get a good helm base configuration (UI and Key bindings).
2016-05-15 22:02:18 -04:00
syl20bnr
bb3e8eca42 Move ido config to new layer spacemacs-completion 2016-05-15 21:55:57 -04:00
syl20bnr
c8ec0fa063 Move smex layer functions to funcs.el 2016-05-15 21:52:10 -04:00
syl20bnr
8fb5d86be0 Fix dumb error with spacemacs-projects-packages variable 2016-05-15 19:39:49 -04:00
syl20bnr
0709d936d6 semantic: Fix srecode-map.el in root folder at install 2016-05-14 12:51:30 -04:00
syl20bnr
1f2d817708 New spacemacs-misc layer, move request to it 2016-05-14 12:28:57 -04:00
syl20bnr
3f22eeaa03 New layer spacemacs-projects containing projectile and neotree 2016-05-14 11:57:32 -04:00
syl20bnr
0319216b28 Remove dash from spacemacs-bootstrap 2016-05-14 11:57:32 -04:00
syl20bnr
c2de2271eb Move page-break-lines to spacemacs-bootstrap 2016-05-14 11:57:28 -04:00
syl20bnr
cf202d60f3 Move undo-tree and ws-butler to spacemacs-editing 2016-05-14 11:57:28 -04:00
syl20bnr
f959bc4b19 Move popup, popwin, fill-ci, hl-todo to spacemacs-ui-visual 2016-05-14 11:57:27 -04:00
syl20bnr
3f2bdcc03b Move restart-emacs to spacemacs-ui 2016-05-14 11:57:27 -04:00
syl20bnr
7d25e9dab4 Move some evil related packages to spacemacs-evil 2016-05-14 11:57:27 -04:00
syl20bnr
bb2e582703 move diminish to spacemacs-bootstrap
Also cleanup diminish init function
2016-05-14 11:57:23 -04:00
JAremko
73d48338c8 remove tslint package 2016-05-11 20:59:05 -04:00
JAremko
75754a3a9e Make tide formatter default 2016-05-11 20:59:05 -04:00
JAremko
bf4baf0646 make tsfmt use config file 2016-05-11 20:59:00 -04:00
JAremko
adebb01358 Add 'send to playground'
remove unnecessary init

refactoring

typo
2016-05-11 20:58:20 -04:00
JAremko
0f36dd44d7 fmt typescript docs
formatting

formatting
2016-05-11 20:58:20 -04:00
Overmind JIANG
5eac955cd3 Allow tsfmt to use the local project's config.
By adding `--baseDir=.` to the command line arguments.
2016-05-11 20:58:12 -04:00
d12frosted
9f57a0da63 use flyspell-correct instead of helm-flyspell
flyspell-correct plays nicely with custom front-ends, and it has support
of ivy and helm out of box
2016-05-11 20:52:02 -04:00
JAremko
4f37acdfae add go coverage key bindings
fix copypasta
2016-05-11 20:50:16 -04:00
NJBS
c44bcf88ac Fix Elisp = prefix 2016-05-11 20:49:28 -04:00
Christoph Paulik
4d080a65fb Diminish tern and skewer mode. 2016-05-11 20:47:04 -04:00
bmag
50bd692e98 Layouts: gui/terminal frames should have different workspaces
Use two different sets of workspaces for each perspective - one
set for graphical frames, and one set for terminal frames.
This is required because workspaces from graphical frames are not
compatible for use in terminal frames.
2016-05-11 20:46:53 -04:00
syl20bnr
738f425276 Add spaceline-compile to spacemacs-post-user-config-hook
Also improve support for GUI client using a server launcher with
emacs --daemon.
2016-05-11 20:07:26 -04:00
Eivind Fonn
a652a66e45 spaceline: don’t use :when in new-version segment
This will be necessary with the new version of Spaceline, but it works
fine with the old version too.
2016-05-09 23:24:44 +02:00
Eivind Fonn
92e2ab3e2f typography: Use :toggle for tildify 2016-05-08 20:18:43 +02:00
Daniel Luna
76610294a7 long-lines' toggle now accepts prefix arguments.
This commit introduces two new options to add-toggle:

:prefix, a symbol that is bound to the raw prefix argument (as
in `(interactive "P") forms).

:on-message, an expression overriding the default 'on' toggle
message (useful to document a toggle's argument).

These new options are applied to long-lines' toggle, so we can choose
how many lines to toggle it on via a raw prefix argument.
2016-05-06 13:53:41 +02:00
NJBS
ddede916cf Add binding for opening tag in another window
Adds a binding to gtags which opens the found tag in another window
similar to gg and gG.
2016-05-06 13:53:41 +02:00
Eivind Fonn
2136a8e74f bracketed-paste: Use :toggle instead of :if
Also fix the actual expression :-)
2016-05-06 13:53:30 +02:00
Aaron Jensen
9d186c5f4c spacemacs-editing: disable bracketed paste for 25+
Bracketed paste is built into emacs 25+
2016-05-06 13:47:17 +02:00
Eivind Fonn
5b719df500 Some fixes for visual shift variable
- Rename mode to state (preferred nomenclature in evil)
- Change default value
- Add to dotspacemacs template
- Fix parens
2016-05-06 13:46:41 +02:00
Steven Allen
bd4bdd3119 core: make retaining visual mode on shift optional
default to disabled to follow vim's behavior.

fixes #5273
2016-05-06 13:36:46 +02:00
Eivind Fonn
3d0787baa2 scala: Clean up README 2016-05-06 13:35:30 +02:00
Eivind Fonn
3a6db330a8 scala: Remove superfluous variable 2016-05-06 13:35:10 +02:00
tintin
eabd3b859b Add java-doc-style config to scala layer 2016-05-06 13:32:03 +02:00
Eivind Fonn
b416d83d8b Add code block surround in org-mode
Also:
- don't pad drawer surround with extra newlines
- upcase the drawer surround as per org conventions
2016-05-06 13:30:20 +02:00
Eivind Fonn
325067bc10 unimpaired: Move hunk commands to version-control 2016-05-06 13:27:44 +02:00
Iuri Fernandes
cc6d315ea6 Adapt hunk commands to other diff tools 2016-05-06 13:26:12 +02:00
Eivind Fonn
48402c7295 syntax-checking: Update list of bindings 2016-05-06 13:25:19 +02:00
Eivind Fonn
3145e70f72 haskell: Clean up README 2016-05-06 13:24:12 +02:00
Maxime Bourget
df669900da Update haskell layer documenation.
Add syntax checking section and improve FAQ so solve syntax checker problems.
2016-05-06 13:07:15 +02:00
Robert O'Connor
55ebd1e679 git: add submodule popup keybinding 2016-05-06 13:04:06 +02:00
Eivind Fonn
3b6f12f409 bibtex: Compress key bindings table 2016-05-06 13:03:30 +02:00
Christoph Paulik
8bc2329b3d Fix bibtex keybinding loading and add more navigation options.
Fix #5985
2016-05-06 13:01:27 +02:00
bmag
6edef36b17 Call python-setup-shell only once, not from hook 2016-05-06 12:59:51 +02:00
Eivind Fonn
46446df83d Make boot file regexp more restrictive 2016-05-06 12:59:05 +02:00
Eivind Fonn
975b83b68b Diminish visual-line-mode as L
See discussion in #5894
2016-05-06 10:09:44 +02:00
Eivind Fonn
ff8d4dada8 Move lua setup to init block 2016-05-05 14:15:25 +02:00
Christoph Paulik
67aeb73655 Defer loading of persp mode until after user-config
fix #3881
2016-05-05 13:01:47 +02:00
Martin Yrjölä
169d6873c9 Disable large file check for certain major-modes
Introduce a variable spacemacs-large-file-modes-list to determine these
modes.
2016-05-05 13:00:34 +02:00
willian ver valen
ceef7f8650 fix the README
the prefix on the README didn't correspond to the real keybindings on the package.el
2016-05-05 12:59:22 +02:00
Eivind Fonn
a114c88bf1 Fix indentation in syntax-checking/packages.el 2016-05-05 12:58:45 +02:00
Maxime Bourget
b146598472 Set flycheck errors severity.
This fix the bug when errors are not being filtered in error list or
`flycheck-navigation-minimum-level` not taken into account.
2016-05-05 12:57:57 +02:00
sindikat
5fab3f087d Fixed agda-post-packages -> agda-packages (develop) 2016-05-05 12:56:40 +02:00
Xiao Hanyu
6d2de9ebcb Diminish setting for visual-line-mode. 2016-05-05 12:52:08 +02:00
Kalle Lindqvist
865773c04b Fix tramp history file path
The variable 'tramp-persistency-file-name' is supposed to be a filename,
currently it is pointing to a directory which means tramp will not be
able to save and reuse connection information.
2016-05-05 12:51:07 +02:00
Eivind Fonn
7383bac3a3 SPC cd: close more compilation windows 2016-05-05 12:50:27 +02:00
Eivind Fonn
3561b4dcf9 Fix go/README.org 2016-05-05 12:47:04 +02:00
JAremko
11e696ad06 add var go-use-gometalinter 2016-05-04 08:34:32 +03:00
syl20bnr
17fbeaf861 haskell: move haskell-modes variable def to config.el 2016-05-01 11:41:38 -04:00
syl20bnr
425e6ba7de haskell: use package toggles for company packages 2016-05-01 11:40:54 -04:00
Tim Dysinger
5cc4e16f4d Adds company-ghci to haskell layer
You don't need ghc-mod to do code completion with ghc 7.10+. GHCI has built-in code-completion suggestions you can aske for.  This is what company-ghci does.
2016-05-01 11:30:58 -04:00
bmag
2a669648aa layouts: don't double activate persp-mode
If persp-mode is already activated, don't re-activate it. Should fix bug
where running dotspacemacs/sync-configuration-layers (SPC-f-e-R) resets
all the layouts.
2016-05-01 11:14:32 -04:00
Andrea Moretti
b772734394 react: remove probably useless snippet 2016-04-29 23:30:44 -04:00
Andrea Moretti
cb55e3da3c react: fix tern and docs 2016-04-29 23:30:21 -04:00
Andrea Moretti
f88a7889a4 react: use node_modules version of eslint or global if not available 2016-04-29 23:30:05 -04:00
bmag
cf3068e4ef layouts: persp-activated-hook -> persp-activated-functions
persp-mode has renamed persp-activated-hook to
persp-activated-functions, so we gotta update the hook.
2016-04-29 23:01:48 -04:00