Commit graph

1442 commits

Author SHA1 Message Date
syl20bnr
a025dc8f52 clojure: move functions to funcs.el 2016-04-21 19:08:41 -04:00
sooheon
e64c337b82 Remove obsolete clojure-defun-style-default-indent
clojure-defun-style-default-indent has been deprecated in favor of
clojure-indent-style. This is no longer a toggle but one of three
keywords. As it affects the way code is indented, and you should not
need to change your indentation style multiple times while editing, it
should not be a toggle. It's simple enough for the user to setq it to
desired value.

If desired, it may be added back as a completing-read selection (but I
don't think it's necessary).
2016-04-21 18:59:52 -04:00
syl20bnr
dd8e845f6e clojure: add docstrings to functions 2016-04-21 18:59:28 -04:00
sooheon
39f424bd45 Fix cider tests error, and improve implementation
Error was caused by unnecessarily wrapping cider test fns in
spacemacs//cider-eval-in-repl-no-focus. Test fns do not move focus to
repl anyways, and it caused a wrong-type-argument error.

The added bindings are to more closely match cider bindings (under C-c
C-t). Now spacemacs cider test fns mirror the cider ones.
2016-04-21 18:56:45 -04:00
sooheon
02ee0f2e54 Setup normal state cider-debug for hybrid mode
Hybrid means vim-like in normal and emacs-like in insert. This is a
normal-state compatibility tweak (has no effect on insert-state
bindings), so it belongs.
2016-04-21 18:55:02 -04:00
Eivind Fonn
7f95d250db python: Move smartparens config to correct place 2016-04-18 15:56:16 +02:00
syl20bnr
b123b21498 Add elm-mode to sensitive mode for auto-indent on paste 2016-04-17 12:59:30 -04:00
syl20bnr
ab95350d71 rebox: diminish rebox-mode lighter 2016-04-17 12:57:57 -04:00
syl20bnr
edfc5dea98 Remove some empty lines in doc 2016-04-17 00:37:47 -04:00
syl20bnr
7ed32a8d61 rebox: various modifications
README
- Remove header from README (we don't add such header by convention)
- Move sections in README to better the reflect the structure of the
  other READMEs
- Simplify documentation
- Remove Thanks section (we don't add such section by convention, it is
  very hard to maintain and keep accurate, user can see credits for a
  package in the package source code directly)
- Remove the package default key bindings (same reason, it is also hard
  to keep in sync if the bindings change upstream, the users should check
  the default bindings themselves).

CONFIGURATION
- Add spacemacs key bindings under `SPC x b` for text boxes (I prefer
to use `SPC x` instead of `SPC i` because rebox modify an existing text,
it does not _insert_ a box per se).
- Add a transient state for quick cycling
- Add a layer variable `rebox-enable-in-text-mode` to enable the mode
  in text-mode buffers
- Move functions to funcs.el

squash! rebox: various modifications
2016-04-17 00:37:47 -04:00
Christian E. Hopps
0f6186aa70 add rebox layer 2016-04-17 00:37:47 -04:00
syl20bnr
bbe2f06d64 ranger: fix error about void variable
Due to syl20bnr rebase of commit 9836979
2016-04-17 00:37:47 -04:00
syl20bnr
9160109110 bibtex: format layer
Remove packages-config.el
Fix format of README
2016-04-17 00:37:47 -04:00
JP-Ellis
97aff9d8db Add BibTeX layer.
Integrates with org mode and LaTeX in order to manage citations.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-04-17 00:37:47 -04:00
ralesi
05e99aa0a1 Add commands for ranger to make accessible when defered.
syl20bnr: move the code to dired post-init
2016-04-17 00:37:47 -04:00
Matt Jaffee
f0f2034a53 support underscores in Go test functions
When trying to run a single test function with LEADER m t t in a Golang
test file, spacemacs failed to find functions which had underscores in
their names. This commit simply adds an underscore to the regular
expression which spacemacs uses when searching for the current test
function.
2016-04-17 00:37:47 -04:00
sooheon
190962bc4b Colorize spacemacs/counsel-search results
Use counsel-git-grep-transformer for search results.
2016-04-17 00:37:47 -04:00
Junhui
c921eb6bbc Diminish space-doc-mode lighter 2016-04-17 00:37:47 -04:00
sooheon
8a64b2c28d Let counsel-search respect ivy-count-format
There is no reason to hardcode the formatting string for this search
function in particular.
2016-04-17 00:37:47 -04:00
Joe Hillenbrand
af6f3d0d87 Bind SPC p T to projectile-test-project
The purpose of `projectile-find-test-file` is not obvious
and it is not applicable to all languages.

Actually running the tests seems like a more useful and intuitive binding.
2016-04-17 00:37:47 -04:00
syl20bnr
47776e8999 python: move semantic config and fix error with semantic-idle-summary-mode
Move all semantic related config to semantic post-init and correctly
fix the error with void function semantic-idle-summary-mode when
opening a python without the semantic layer enabled.
2016-04-17 00:37:47 -04:00
Neal D. Becker
4ca8b55819 set semantic-idle-summary-mode on hook 2016-04-17 00:37:47 -04:00
Fabien Dubosson
0aafaecc4d Revert "Guard idris company setup on the auto-completion layer"
This reverts commit f2f23e6aa1 following
the comment of syl20bnr in
f2f23e6aa1
2016-04-13 11:25:51 +02:00
sooheon
09098c09cf Set popwin config for Help buffer :noselect t
Fixes issue #5546. Does not change behavior when calling help directly,
as with describe-function or describe-variable.
2016-04-13 00:09:18 -04:00
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
JAremko
29d484d4db Refactor space-doc.el 2016-04-12 23:16:59 -04:00
JAremko
f12bb5f090 Tie `space-doc-mode' and Spacemacs link opener
Make Spacemacs link opener buffer local and enabled it only
when the `space-doc' mode is enabled.
2016-04-12 23:10:50 -04:00
JAremko
52479f9df9 Change space-doc lighter
Change space-doc lighter from  ❤  to SD (solves #5642)
2016-04-12 23:08:49 -04:00
Eivind Fonn
052896e782 Fix ace-delete-window bindings 2016-04-12 23:02:03 -04:00
Christoph Paulik
a175de5b7a Use py-yapf from MELPA. 2016-04-12 22:58:41 -04:00
Eivind Fonn
dd6e1aea99 setq -> set 2016-04-12 22:57:14 -04:00
NJBS
16ec5b9289 Diminish helm-gtags mode 2016-04-12 22:52:18 -04:00
Allen Li
b9cd585d1a Set evil-want-Y-yank-to-eol properly
Use correct customize function, custom-set-variables is meant to be used
for the saved customize settings file.
2016-04-12 22:52:09 -04:00
Dominique Bégin
e243454de3 Add keybinding for rotating windows backwards 2016-04-12 22:49:56 -04:00
Eivind Fonn
bcea630826 Make matlab quasi-derived from prog-mode
Also make this a named function.
2016-04-12 22:48:34 -04:00
Muneeb Shaikh
d19c6eb566 spacemacs-evil: add evil-visual-mark-mode
This adds toggle for evil-visual-mark-mode on SPC t `

Fix #5619
2016-04-12 22:47:26 -04:00
syl20bnr
ad4e0d7817 perforce: fix duplicated :init and delete empty file config.el 2016-04-12 22:46:33 -04:00
Richard Kim
c2ebcc7d17 fix start up error if perforc layer is enabled
The fix is to move spacemacs/declare-prefix call out of config.el into
packages.el file of the layer. I don't know why this change fixes the
issue. I just made changes to perforce layer code to match what is done
in all other layers where the function is called within package.el
rather than in config.el.
2016-04-12 22:45:36 -04:00
syl20bnr
6c2665e0f7 python: move disable semantic hook to anaconda init function 2016-04-12 22:38:48 -04:00
syl20bnr
5d84473fca layouts: update arity for persp-before-switch-functions
The hooked functions must take 2 parameters, I just ignored the
second one as well. Not sure of the implication but it seems to work.
2016-04-12 22:09:19 -04:00
syl20bnr
859f28473b layouts: use MELPA version of persp-mode 2016-04-12 22:05:24 -04:00
Muneeb Shaikh
23168dbc84 Add "o" keybinding for opening links with ace-jump 2016-04-11 21:02:45 +02:00
Sebastian Wiesner
bd4fe19d4d markdown: Add binding for live preview mode 2016-04-11 21:00:24 +02:00
Daniel Luna
e0fd4f5cd3 <SPC> f y working in dired buffers 2016-04-11 20:57:54 +02:00
Steven Allen
dab234dbd9 Use toml-mode for all cargo configs
Specifically, `Cargo.lock` and `.cargo/config`.
2016-04-11 20:49:42 +02:00
Fabien Dubosson
39eebef067 [rust] Sort keybindings alphabetically 2016-04-11 20:45:47 +02:00
Dmitri Melnikov
8c6d154ffb Add key binding for cargo fmt 2016-04-11 20:43:03 +02:00
Junhui
95be4bce44 Fix 'makefile' for pylookup 2016-04-11 20:40:42 +02:00
Fabien Dubosson
ddc831e061 [python] Correct whitespaces in packages.el 2016-04-11 20:38:01 +02:00
Christoph Paulik
d38ce800bd Disable semantic-idle-summary in Python mode.
Anaconda provides more useful information but can not do it properly
when this mode is enabled since the minibuffer is cleared all the time.

Fix #5564
2016-04-11 20:35:40 +02:00