Commit Graph

58 Commits

Author SHA1 Message Date
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Alex Argunov c1bde286e4 clojure: move browse to help submenu, add cider-find-ns under gn 2018-07-11 00:26:33 +03:00
JAremko 7ce071b4be Format documentation 2018-02-28 03:29:48 +02:00
syl20bnr fd90547908 clojure: fix key bindings location in README.org 2018-02-25 12:44:25 -05:00
syl20bnr a40b79a781 clojure: sort key bindings alphabetically 2018-02-24 19:49:39 -05:00
Luo Tianj 280c7b4cef add key bindings for profiling and spec browsing 2018-02-24 19:49:38 -05:00
Adam Frey 5da932541b Fix typo in clojure/README 2018-02-17 16:09:06 -05:00
syl20bnr 5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr 2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr 19b42377bb clojure: document clojure-cheatsheet in README.org 2017-12-17 19:51:13 -05:00
Michael van der Nest e3e94b8568 Added clojure-cheatsheet to clojure documentation.
see https://github.com/clojure-emacs/clojure-cheatsheet
2017-12-17 19:43:59 -05:00
J. Patrick Lanigan df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
John Stevenson 2ecfbef20a Add keybinding to toggle between a keyword & a string
The function `clojure-toggle-keyword-string` will convert a string to a keyword,
or keyword to a string.

The keybinding is added under the Clojure refactor menu, in the
"cycle/clean/convert" section.

`SPC m r c :`

As this is a `clojure-mode` function, it is defined in the clojure-mode
refactoring keybinding section of packages.el.
2017-07-21 14:46:12 +03:00
Tim Jäger 2985a26901 Add keybinding for cider-pprint-eval-last-sexp 2017-06-21 09:34:37 +02:00
Eivind Fonn 9014197722 clojure: fix spacefmt tests 2017-05-30 12:34:31 +02:00
James Conroy-Finn c56c927641 Bind <leader>msX to restart Cider 2017-05-30 12:00:35 +02:00
Ivan Kryvoruchko 1d2392ad1d Fix sayid clojure debugger documentation typo 2017-05-26 10:47:34 +02:00
Corey Ling 21c3e2fc2d Fix Clojure layer cider-repl-mode keybindings
Clojure layer attempted to provide `C-j` and `C-k` keybindings
  to the cider-repl-mode but there was a bug.

  This fixes the bug and adds those keybindings to the documentation.
2017-05-24 12:04:13 +02:00
Kristoffer Haugsbakk 79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Daniel Manila cfe0295875 Add sayid, a debugger, to the clojure language
"Sayid (siy EED) is a tool for debugging and profiling clojure code."
(https://bpiel.github.io/sayid/) it allows viewing the results of each line of
code in a clojure function, without editing the code at all.

This commit evilifies the plugin and adds its commands to the "debug" submenu
of the main clojure mode menu.
2017-05-22 17:25:25 +02:00
John Stevenson 18a244269b New Keybinding for cider-eval-defun-to-comment
Added a Spacemacs style keybinding for the function cider-eval-defun-to-comment

This function evaluates and expression and displays the result as a comment
on the following line.

The CIDER keybinding is `C-C M-;` so the Spacemacs binding uses the `;`
convention, which is also the general character for comments in Emacs.

As this is an evaluation function, the keybinding is placed under the evaluation
part of the major mode menu.

Included documentation in the README.org file
2017-05-03 22:47:10 -04:00
JAremko f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
Juraj Martinka c48921ab2d Fix typo in Clojure layer README 2017-03-02 16:12:37 +01: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
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
carbohydratesn ca5ea34196 Completed instructions for a quick start with boot
Moved to develop branch, original pull request -

https://github.com/syl20bnr/spacemacs/pull/7003

As an absolute beginner, this took a while to figure out, and eventually required reading through Cider's source files.

Currently, there must be a build.boot file present - an empty one works - if you want to start a repl through cider with boot.

https://github.com/clojure-emacs/cider/issues/1835
2016-10-17 19:46:45 +02:00
syl20bnr a3750146c3 clojure: move SPC m s k to SPC m s C 2016-10-03 00:23:52 -04:00
syl20bnr 5f759f6df0 clojure: add SPC m = key binding
per convention
2016-10-03 00:23:15 -04:00
mahinshaw cf951a5114 Update bindings. Add toggle clojure-enlighten-mode 2016-09-23 22:50:09 +02:00
Tim Jäger 2181decd81
Add clear REPL keybinding for Clojure 2016-09-23 10:48:48 +03:00
Sebastian Poeplau 781532d4d2
Improve README of the Clojure layer
Explicit configuration of leiningen or boot is not necessary anymore as
of CIDER 0.11.
2016-08-27 14:41:57 +03:00
Antonis Kalou 27098315e8 Added support for extra cider commands
Also moved enlighten-mode toggle to toggles
2016-08-22 15:07:25 +02:00
syl20bnr 07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
Caleb Jones d983bf7ec7 Improve Leiningen installation instructions in Clojure layer
The previous installation instructions suggested that you install lein
via your OS package manager, but since the minimum required version to
run the plugins is 2.5.2 and some OS package managers are still
packaging versions in 1.x, linking to the official install instructions
is better.

Fixes #5612
2016-03-30 18:52:31 -04:00
Patrik Plihal 097887104f add 'cider-apropos functionalty to clojure layer 2016-02-25 20:31:31 +01:00
mahinshaw 8029222b26 Add mapping for switching between repl connections. 2016-02-23 20:51:07 +01:00
Martino Visintin a5fdf43845 substitute align-cljlet with clojure-align
align-cljlet was deprecated in favour of the vertical alignment in the
clojure-mode package.
2016-01-31 23:04:48 -05:00
Ernestas Lisauskas 28907bbeff Add development notes to Clojure's Readme
Related to #4608
2016-01-21 21:53:52 +01:00
syl20bnr cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
KK 5dfbc5f3cd Update package version in Quick Start with lein 2015-12-19 22:35:00 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Aku Kotkavuo d5a63a2794 Clojure: recommend using :repl profile with CIDER
See http://blog.maio.cz/2015/11/cider-slows-down-leiningen-startup-here.html.
2015-11-27 10:32:51 +01:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Eivind Fonn 13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Eivind Fonn 812d35a100 Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
David Mohl 7947e2ee5b added documentation link to lisp-state to lispy languages 2015-10-09 12:12:19 +02:00