Commit graph

785 commits

Author SHA1 Message Date
Tor Hedin Brønner a5d6171c28 Move keybinding setup to the ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 5199ddbfcf Rename moved scala functions
Functions under the ensime layer should start with `ensime/'
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner ab0ec8a777 Move ensime to it's own layer 2017-03-19 12:40:36 -04:00
bmag 6f463c4d0e TeX fold: add comment about not-autoloaded commands 2017-03-06 15:58:26 +02:00
nashamri f8306a4f5c Add shortcuts for missing latex folding functions 2017-03-06 15:51:03 +02:00
bmag f853b78148 Refactor long comment 2017-03-06 15:46:01 +02:00
kenkangxgwe f5c5fdd735 Add extension ".wl" for wolfram-mode 2017-03-06 15:44:23 +02:00
Juraj Martinka c48921ab2d Fix typo in Clojure layer README 2017-03-02 16:12:37 +01:00
syl20bnr 3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
syl20bnr 8f1a5d6fd5 coq: fix some configuration
- delete some diminish expressions which are not related to PG and user
  spacemacs|hide-lighter instead of spacemacs|diminish
- move company related configuration to the correct place
- move setq expressions to :init blocks to allow users to easily change them
2017-02-12 23:45:56 -05:00
syl20bnr 3da2f3702e emacs-lisp: don't use custom-set-variables
As it make evil to error when the delq form is written the customize file,
instead we call the set method manually and it works fine.

Would be better and more future proof to curry the set function into a named
function of 0 arity for evil-intercept-maps custom setting.
2017-02-12 22:59:26 -05:00
syl20bnr 76b0d3c48a csharp: comment typo 2017-02-12 22:24:25 -05:00
syl20bnr fe168f07b3 coq: update key bindings and README
README:
- add `SPC m` prefixes to follow the style of the other READMEs
- Sort key bindings alphabetically

Key bindings changes made to be more mnemocnic and/or to better fit the other
key bindings of other layers:

- SPC m p b --> SPC m p p (show prover process buffer)
- SPC m p c --> SPC m p i (interrupt prover process)
- SPC m p x --> SPC m p q (quit prover process, maybe SPC m p k for kill would
  be better ?)

- SPC m a p --> SPC m a a to print query
- SPC m a n p --> SPC m a A to print query showing all
- SPC m a i p --> SPC m a i i to print query showing implicits
- Ask showing all bindings use the same keys as regular Ask but the last key
  is capitalized, example: SPC m a b (ask about) and SPC m a B (ask about
  showing all)
- Ask showing implicits are still on SPC m a i (we could also use Control key,
  for instance SPC m a b (ask about) and SPC m a C-b (ask about show implicit),
  it depends on how frequent showing implicits are used).

- SPC m g . --> SPC m g l (go to end of Locked command)
- SPC m g d --> SPC m g g (using the jump handlers facility of Spacemacs)
- SPC m g a --> SPC m g s (to go to start of command)
2017-02-12 22:24:25 -05:00
Jeremy Bi 8b72130fc5 Add coq layer 2017-02-12 21:31:44 -05:00
syl20bnr d97143be08 emacs-lisp: remove SPC g f as it is already available with SPC j f 2017-02-12 13:49:40 -05:00
syl20bnr aa6cdd938e emacs-lisp: update README and add an interactive edebug quick start 2017-02-12 13:48:23 -05:00
syl20bnr a0bcbbd38a Add conventional evilified key bindings for edebug-mode 2017-02-12 13:48:02 -05:00
syl20bnr 87cd00eac7 conventions: update debug conventions
Step in and Step out are now, i and o respectively.
Inspect a value is now v.
Next step is now s.

These new conventions better fit evilificiation.
2017-02-12 13:02:55 -05:00
syl20bnr 36b6b29cde Fix evilification of edebug-mode-map 2017-02-12 12:50:07 -05:00
syl20bnr 6e713ed89f emacs-lisp: add support for debugger and edebug
Make edebug key bindings work in normal state.
Add evilification of debugger stack trace buffers.
2017-02-11 17:23:14 -05:00
syl20bnr 64e0787123 emacs-lisp: add SPC m g f to go to a selected known function definition 2017-02-11 17:23:14 -05:00
syl20bnr f6ccc1eb6f Add JR programming language layer 2017-02-10 14:48:37 -05:00
Tim Jaeger acaf0e31f5 Implement layer for developing in the Forth language 2017-02-09 18:00:32 -05:00
syl20bnr cbab7cac59 markdown: add SPC m i t key binding to instert toc 2017-02-09 17:02:50 -05:00
d12frosted 57e653a221
minor improvements in elixir README file 2017-02-03 11:10:40 +02:00
denin 52ea26a052
elixir: add support for credo
There was no flycheck-credo package in the layer.
Although it was described in documentation, how to install credo.
This commit fixes documentation and adds flycheck-credo package.
2017-02-03 11:09:07 +02:00
syl20bnr 6c1f221196 restructuredtext: mention auto-complete-rst to README 2017-02-02 15:01:07 -05:00
syl20bnr 42b2c4a144 restructuredtext: fix auto-complete conflicts with flyspell and linum 2017-02-02 14:56:13 -05:00
syl20bnr a1e63424e2 reST: Extract sphinx specific config to a stand alone sphinx layer 2017-02-02 14:55:18 -05:00
syl20bnr 7ced78089d restrucutredtext: rename deprecated extensions folder to local 2017-02-02 14:37:19 -05:00
syl20bnr 56377cf1b3 Rename ReST layer to restructuredtext and clean up layer
rest can be confusing since there is already a restclient layer.
2017-02-02 09:37:34 -05:00
Wei-Wei Guo 9399de0ddc Add ReST layer 2017-02-02 09:09:31 -05:00
d12frosted bb3e5c8289
fix go layer headers 2017-02-01 16:06:00 +02:00
d12frosted 2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +02:00
Benedek Fazekas 970acddacf Clojure refactor: replace cycle coll with convert to coll
Cycle collection type was recently removed from `clj-refactor` as the
feature was migrated and rewritten in `clojure-mode`. The new feature
lets the user convert a collection into a specific collection type
instead of cycling through them.

To added shortcuts correspond to the shortcuts of this feature in
`clojure-mode` and placed in the refactor submenu.
2017-01-26 12:09:50 +00:00
d12frosted ab878bd7ac
update cider keybindings doc 2017-01-23 13:25:48 +02:00
Ivan Plyusnin 15e86700ec
Fix number of arguments in calling cider-test- funcs 2017-01-23 13:21:38 +02:00
syl20bnr cf5dac00ad core: move and rename spacemacs//get-package-directory
Move it to core-configuration-layer.el
Rename it to configuration-layer/get-elpa-package-install-directory
2017-01-17 00:20:59 -05:00
syl20bnr 70c6fcef02 common-lisp: add SPC m h i to inspect a definition 2017-01-12 22:33:09 -05:00
Michał Herda e12f469aa2 Layer common-lisp - set jump handler to SLIME-EDIT-DEFINITION
https://github.com/syl20bnr/spacemacs/issues/8043

"Go to definition" should go to the definition - meaning, where the function is defined in the source code.

I am for changing the default keybinding to `slime-edit-definition` because it fulfills this - allows the user to see the source code for a given function.

`slime-inspect-definition` does not open the source code - it opens the SLIME inspector with the function **object** open in the inspector. While the function **object** contains some valuable data, it does not contain the *definition* itself - which is what the user wants in this case.
2017-01-12 22:29:54 -05:00
ilia acb2d379c0 Fix cider and cider-repl modes in company configuration 2017-01-07 00:21:45 +03:00
Eivind Fonn 3bbeaee2b2 Don’t configure company in init-cmake-mode
This is already taken care of in post-init-company
2017-01-06 12:01:18 +01:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
zilongshanren c22991d587
remove un-intended quote in company-anaconda 2017-01-05 08:58:01 +02:00
Brent Taylor 1ff7c10f19
Fix python path with virtualenv on Windows in Python nose package 2017-01-04 22:38:25 +02:00
Saulius Menkevičius 414396595b
Fix issue with jump handler in omnisharp-mode where the handler is async
This fixes an issue where default jump handler, like dump-jump-go runs
in sync and omnisharp-go-to-definition is not able to actually go to
definition until it completes thus slowing down the completion process.

A similar issue (for C++) was fixed in syl20bnr/spacemacs#6904
2017-01-04 22:35:45 +02:00
Steven Allen 9fb2634817
Fix eldoc initialization in typescript layer. 2017-01-04 22:04:25 +02:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
syl20bnr bdd4e6c23f typescript: move eldoc config to init function 2017-01-02 00:12:51 -05:00
syl20bnr c725823e73 javascript and react: reformat code and move funcs to funcs.el
Some conventional cleanup.
Note that the function `spacemacs/js2-refactor-set-key-bindings` has been
removed since it is not used anywhere.
2017-01-01 22:45:23 -05:00