There are many stuff that we have in spacemacs which are creating new
layers and also creating micro-states. This Snippets try to help with
the process (the micro-state is a work in progress).
I also set the binding `C-s-/` to `(yas-next-field-or-maybe-expand)`
because `tab` doesn't have the behaviour I quite want (to be able to
expand a snippet like (defun) inside the new-package snippet and still
be able to continue in the outer snippet afterwards. With `tab` this
is *not* possible, but with `C-M-/` it *is*.
Changed variable name
Changed keybinding
Renamed snip-dir to spacemacs-snippets-dir
Moved `setq` outsidde of inizialization function, and the keybindning
too
- Copy and paste now uses emacs commands
- `s-a` selects all
- `s-w` closes the window not the buffer
- `s-W` closes the frame
Conflicts:
contrib/osx/keybindings.el
We add this key mapping because an Emacs user can change
`dotspacemacs-major-mode-emacs-leader-key' to `C-c' and the key binding
C-c ' is shadowed by `spacemacs/default-pop-shell', effectively making
the Emacs user unable to exit src block editing.
Also, I think it best to not automatically enable electric sup- and
sub-scripts as they can be quite annoying to some people (but amazingly
useful to some others). Perhaps it is best to leave these two with the
AucTeX default and let users enable them in their config?
Signed-off-by: JP-Ellis <coujellis@gmail.com>
- Move function definitions from inside package.el to funcs.el;
- Add a few variables to allow some configuration with .spacemacs;
- Enable RefTeX support;
- Move key-binding-prefixes to config.el (similar to git layer);
- Use auto-fill-mode, with a environment-aware auto-fill function;
- Provide a few additional sane defaults (some of the more "annoying"
ones are configurable from .spacemacs)
- Remove `build-view` in favour of just `build` as it seemed to be
broken and introduce `SPC m v` to view;
- Add support to LatexMk.
!squash Added auctex-reftex-plugin variable.
Signed-off-by: JP-Ellis <coujellis@gmail.com>
Currently, when tab is pressed, spaces are inserted. It makes Python
REPL unable to recognize code indentation. We must use tab to indent.
Setting indent-tabs-mode is buffer local, so it does not affect its
value in other buffers.
Remove default auto-mode-alist mapping from *.h to c++-mode.
Introduce a variable and use that in the init: section of cc-mode to
conditionally update the auto-mode-alist.
Updated the documentation.
Conflicts:
contrib/!lang/c-c++/README.md
- enable ocamldoc in company completion
- enable merlin-document binding
- add binding for ML <-> MLI switch
- bind most merlin commands
user visible change:
printing type at point was moved to SPC mht, and SPC mhT asks for an expression
SPC mgg/mgG is now consistent with CONVENTIONS.md, and
SPC mgb can be used to go back(in addition to default C-c &)