Commit graph

70 commits

Author SHA1 Message Date
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Miciah Masters
ef6e45f30e markdown: Update key bindings for Markdown Mode 2.3
Update key bindings to reflect some changes in Markdown Mode 2.3:

* markdown-exdent-region was renamed to markdown-outdent-region.
* markdown-insert-reference-image (SPC m i I) was folded
  into markdown-insert-image (SPC m i i).
* markdown-insert-inline-link-dwim (SPC m i l) and
  markdown-insert-reference-link-dwim (SPC m i L)
  were replaced by markdown-insert-link (SPC m i l).
* markdown-toggle-markup-hiding (SPC m t m) was added.
* markdown-jump (SPC m RET) was replaced by markdown-do (same).

Note that the documentation listed an incorrect key binding for
markdown-jump; this has been corrected.

* layers/+lang/markdown/packages.el (markdown/init-markdown-mode):
* layers/+lang/markdown/README.org: Update key bindings.
2018-07-27 00:50:17 +03:00
syl20bnr
b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
syl20bnr
834c39c2fd Update promotion and demotion conventions and apply them to markdown 2018-06-06 01:15:48 -04:00
Kechao CAI
49b21c4c3c markdown: fix M-h, M-j, M-k, M-l bindings.
These key bindings are very useful in emacs-editing mode and should not be
overwrited.

This fixes #10640.
2018-06-06 00:51:20 -04:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
CeleritasCelery
249efa31de remove org table lighter 2017-10-15 11:08:01 -04:00
J. Patrick Lanigan
df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03:00
JAremko
a1101eb38f fix links 2017-08-18 22:12:17 +03:00
Eivind Fonn
7ba2b3ed06 markdown: move function to funcs.el 2017-07-07 11:36:22 +02:00
Eivind Fonn
01d8ce76a1 markdown: make sure to evaluate the ‘mode’ binding 2017-07-07 11:36:03 +02:00
Codruț Constantin Gușoi
edd14b50af Makes all keybindings available in gfm-mode 2017-07-07 11:35:01 +02:00
Swaroop
f20bdfd90f [markdown] add key to toggle checkbox 2017-06-19 13:31:07 -07:00
duianto
0f85e60c29 Update markdown insert link, function renamed
Problem:
The insert link key binding `, i l` shows:
Wrong type argument: commandp, markdown-insert-link

Cause:
The markdown-mode package has renamed the `markdown-insert-link` function to:
`markdown-insert-inline-link-dwim`.

Solution:
Rename the key bindings function name.
Rename documentation to match the function name.
2017-06-14 10:52:08 +02:00
Swaroop
e1ed293987 [markdown] Add key bindings to toggle features, esp. hidden urls 2017-06-12 12:34:19 +02:00
Eivind Fonn
a5e6509695 Wrap markdown :mode as list 2017-05-23 11:00:09 +02:00
Han Wang
fbb5908a3e Render Madoko document using markdown mode
Madoko is a fast markdown processor with a special .mdk extension
from microsoft research. emacs should use markdown-mode to render
a .mdk file as markdown file.
2017-05-23 10:58:50 +02:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Eivind Fonn
3dde988212 Lambda -> named function 2017-05-18 18:20:05 +02:00
Codruț Constantin Gușoi
59d45d10d8 Fixes org table cleanup 2017-05-18 18:16:48 +02:00
syl20bnr
17ac76869c chrome: define markdown key bindings for gmail-message-mode 2017-05-07 22:02:03 -04:00
syl20bnr
afcef9e34f markdown: suppress mmm-global-mode
had bad side effects on magit buffers, like removing faces etc...
2017-05-01 12:51:10 -04:00
syl20bnr
4fd895a917 markdown: cleanup auto-modes for mmm and add support ini files 2017-04-29 11:08:03 -04:00
Christian Brassat
7fc758e3c2 markdown-mmm-auto-modes defines pairs of language and mode names
where the mode name is different from the language name
2017-04-29 10:57:04 -04:00
Christian Brassat
7caa91bf6c Credit where credit's due 2017-04-29 10:55:16 -04:00
Christian Brassat
e3307d0b17 Generate mmm-modes automatically based on a list.
Includes a config variable for use in `dotspacemacs-configuration-layers`
2017-04-29 10:55:12 -04:00
Christian Brassat
1f9fd7077e Add markdown-scala support to MMM
Fixes  #6571
2017-04-29 10:52:42 -04:00
JAremko
94205a3e81 Fix css links and various org links 2017-04-29 10:45:52 -04:00
Codruț Constantin Gușoi
be33df7dc8 Fixes keybindings for gfm-mode 2017-04-17 21:49:20 -04:00
Codruț Constantin Gușoi
6b4900940f Fixes markdown org table saving 2017-04-17 19:48:13 -04:00
syl20bnr
cbab7cac59 markdown: add SPC m i t key binding to instert toc 2017-02-09 17:02:50 -05:00
d12frosted
2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +02:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05: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
5d73a500c0 markdown: hide MMM linter in mode-line 2016-12-19 10:50:14 -05:00
syl20bnr
cb98c42ed8 markdown: correctly enable mmm-mode and add support for ini files 2016-12-19 10:46:46 -05:00
Robert O'Connor
8aa42a0719
Enable orgtbl-mode in markdown-mode
This makes working with tables much nicer.
2016-10-03 21:12:23 +03:00
Eivind Fonn
d365a2410a Re-fix SPC : -> SPC SPC 2016-08-22 14:51:33 +02:00
Marlin NA
bc3a9fd1a0 Fix description: command of generating TOC 2016-08-22 14:50:54 +02:00
Fabien Dubosson
5df76ed1d1 Fix the loading of vmd for daemon mode
When Spacemacs is used in daemon mode, the `PATH` is not always filled
up with user-defined run paths when Spacemacs load the packages. The
`toggle` of the `vmd` package is checking for the `vmd` executable which
may be in one of the user path, what prevent the package to be loaded,
even if the executable is available at execution time.

If people want to use `vmd`, setting `markdown-live-preview-engine`
should be enough, there is no need for checking for the executable to be
present, this is the responsability of the user to ensure this.
2016-07-05 00:23:16 -04:00
syl20bnr
ea77a5d764 markdown: new layer variable markdown-live-preview-engine 2016-06-06 23:39:41 -04:00
Jeremy Bi
c267c36be1 Add vmd support in markdown mode 2016-06-06 23:01:06 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -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
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
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Sebastian Wiesner
bd4fe19d4d markdown: Add binding for live preview mode 2016-04-11 21:00:24 +02:00