Commit graph

1648 commits

Author SHA1 Message Date
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
syl20bnr d94b17d57b go: use :toggle for flycheck-gometalinter package
Turn the maybe function into an always since the package
flycheck-gometalinter is installed only if gometalinter is found.
2016-04-29 22:58:23 -04:00
JAremko ae512ee8f1 Use gometalinter if present. 2016-04-29 22:52:05 -04:00
syl20bnr d995f39e07 org-babel: fix redisplay of inline images 2016-04-29 22:47:26 -04:00
syl20bnr 354ca0b781 graphviz: use a use-package hook for org babel config 2016-04-29 22:47:03 -04:00
Christian E. Hopps 91942469b6 Enable graphviz mode in org babel blocks 2016-04-29 22:17:30 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
JAremko 42db6c7a41 Move space-doc to the Spacemacs core bundle 2016-04-29 20:01:56 -04:00
JAremko 31d2a149d5 Improve docs
Bug fix
Reorganize code
2016-04-29 20:00:12 -04:00
JAremko 0b9add2f0d Redesign space-doc 2016-04-29 20:00:12 -04:00
syl20bnr e3f5a12ba4 Fix error on startup (void-variable evil-normal-state-map) 2016-04-29 18:43:45 -04:00
syl20bnr 2434d0214b Add async to bootsrap packages 2016-04-29 18:37:42 -04:00
Christoph Paulik 421cb62783 Fix showing of indicators in the fringe.
Fix #5510
2016-04-29 18:27:08 -04:00
syl20bnr 5f8e24405a shell: document layer variable shell-default-term-shell 2016-04-29 18:20:59 -04:00
dubnde 80cccdce7c Add shell-default-full-span for shell window 2016-04-29 18:14:57 -04:00
James 0d20c77798 spacemacs/layers/+lang/latex/README.org typo
Docs: Folding keybindings are enabled by `latex-enable-folding`
2016-04-29 18:12:55 -04:00
Robert O'Connor cd13e0f885 Make pug files use jade-mode since jade is now called pug 2016-04-29 18:08:14 -04:00
syl20bnr e18b1cbe0e Move vi-tilde-fringe hook to shell layer
Also replace lambdas by named functions
2016-04-29 17:48:00 -04:00
Russell Sim c115a66210 Disable tilde fringe in shell/comint modes 2016-04-28 16:01:01 +02:00
Fabien Dubosson a63bf2ab13 Add more information regarding tern on windows 2016-04-28 15:58:12 +02:00
Fabien Dubosson a03aff8fa1 Apply fill-paragraph after previous commit 2016-04-28 15:50:11 +02:00
Liang Zhou d2486e3956 Update tern configuration for windows. 2016-04-28 15:48:38 +02:00
NJBS 32466ca272 Update go README to include goimports prereq
see #5855
2016-04-28 15:40:26 +02:00
sooheon a0d244d47f Remove duplicate definition of symbol-highlight 2016-04-28 15:38:02 +02:00
Fabien Dubosson ba7d050321 [autohotkey] reorder line alphabetically 2016-04-28 15:33:33 +02:00
krobelus 690d8eaed6 Fix autohotkey documentation 2016-04-28 15:32:08 +02:00
bmag 4967df79d7 Don't switch to error-list window if already on it 2016-04-28 15:20:03 +02:00
Jeremy Bi 2516703366 Enhance auto-completion support for Idris layer
Now auto-completion will ask Idris process for completions
2016-04-28 15:14:27 +02:00
ralesi ddffb9445b pcre2el is not loaded in spacemacs-base, but needed for ivy-ag support. 2016-04-28 15:12:49 +02:00
syl20bnr edc4493e19 org: fix missing parenthesis 2016-04-21 23:26:57 -04:00
syl20bnr 74ff0c2c70 auto-completion: fix definition of navigation key bindings 2016-04-21 23:26:20 -04:00
Eivind Fonn d80829b979 Revamp org-repo-todo 2016-04-21 22:29:12 -04:00
Xiao Hanyu c93e47028c Set comment-inline-offset to 2 for python-mode.
Since python's PEP8 recommends two spaces for inline spaces.

Ref:
- https://www.python.org/dev/peps/pep-0008/#inline-comments
2016-04-21 22:26:18 -04:00
syl20bnr 3ede905745 Apply doc-fmt to various READMEs 2016-04-21 22:25:51 -04:00
syl20bnr f3639da09e cfengine: reformat readme and various fixes
- Simplify README.org to follow the conventions and better integrate
with the other READMEs
- Remove unnecessary comments in code
- Add explicitly cfengine3-mode to the list of package
- Move eldoc hook to an eldoc post init function
- Defer loading of cfengine3-mode
- Move auto-mode-alist to init function
2016-04-21 22:22:02 -04:00
Nick Anderson 4d31afeef4 Add: Example including save hook
CFEngine considers files writable by other users a security exception. A
save hook to ensure restrictive permissions can be very useful to avoid
these kinds of errors.
2016-04-21 22:03:39 -04:00
Nick Anderson dcc3f2d5d9 Add: CFEngine config-files layer 2016-04-21 22:01:58 -04:00
syl20bnr 14d3529ae2 org: defer org-download 2016-04-21 21:49:57 -04:00
krakapwa 995f6df728 Added org-download support 2016-04-21 21:36:49 -04:00
syl20bnr e1a6f39e0b auto-completion: move functions to funcs.el 2016-04-21 21:35:27 -04:00
syl20bnr 667a7f61a4 auto-completion: support emacs style for navigation in company 2016-04-21 21:29:20 -04:00
sooheon da8b0294c5 Wrap company kb changes in check for user prefs
Only use evilified bindings in company-active-map if user wants vim
style or hjkl bindings.
2016-04-21 21:15:56 -04:00
Christoph Paulik 643553a0fe Only disable semantic-idle-summary in python if anaconda-mode is used.
Some people have problems with anaconda mode and exclude it. This
enables them to at least have the semantic summary in their modeline.
2016-04-21 21:13:53 -04:00
Szunti dacd5e2544 Don't mark request pacakage as built-in.
It's not a built-in package and this prevented updating. Fixes #5523.
2016-04-21 21:13:22 -04:00
Tim Jäger 172247c324 Added keybinding for ~org-insert-subheading~ 2016-04-21 21:11:18 -04:00
Eivind Fonn d0ae648ff3 Normalize keymaps in visual line toggle 2016-04-21 21:10:41 -04:00
Tu 34e669d49a Fix null error
char-after can return nil. For that reason, we check to ensure it does
not cause error.
2016-04-21 21:10:17 -04:00
NJBS f7c2f4ed15 Defer space-doc
space-doc currently adds a large chunk of time to initial load time
since it has to require org.
2016-04-21 21:09:54 -04:00
Eivind Fonn 076d624923 Fix offset detection in js2-mode 2016-04-21 21:09:40 -04:00
sooheon 291ec69a7d ivy: don't override prefix-help-command
counsel-descbinds is accessible through SPC-?, and shadowing the C-h key
for which key makes pagination impossible. As this deviates from
which-key defaults, this should be up to user to config, not a base in
spacemacs-ivy.
2016-04-21 21:09:11 -04:00
Junhui 9d1b574554 Make pylookup.py compatible with Python 2 and 3 2016-04-21 21:08:31 -04:00
Stefan VanBuren 048da9d320 Fix typo in README.org 2016-04-21 21:08:11 -04:00
Andrea Moretti c80c9583db add import React magic-mode-alist
as suggested by @tko on #4735
2016-04-21 21:07:38 -04:00
Andrea Moretti 5c07ce0118 enforce smartparens 2016-04-21 21:07:38 -04:00
Andrea Moretti a3e802b2ff remove js2 and fix eslint loading 2016-04-21 21:07:38 -04:00
Eivind Fonn ba7254f522 Fix transparency transient state docstring 2016-04-21 21:04:52 -04:00
Severen Redwood 1fe5f4b6dd Fix broken keybindings in the Rust layer 2016-04-21 21:04:32 -04:00
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