Commit graph

8425 commits

Author SHA1 Message Date
syl20bnr
302d272ae3 python: sort key bindings in doc and package config 2018-01-05 21:45:57 -05:00
Volodymyr Vitvitskyi
b63039a6a4 Support importmagic in the Python layer
Problem
-------
If the symbol is not resolved due to a missing import there is no automatic way
in the Python layer to import it.

Solution
--------
Use 'importmagic' package.

Pressing `SPC m r f` at point that requires an import will suggest a list of
possible options.
2018-01-05 21:44:11 -05:00
syl20bnr
6a345b86a0 python: document python-save-before-test 2018-01-05 21:41:26 -05:00
Benoit Coste
3f01fd5fed Add defvar python-save-before-test
If true, buffer is automatically saved when calling
python-test-* functions
2018-01-05 21:38:28 -05:00
lostmarble
572820e618 Update funcs.el
fix python/:init: Invalid version syntax: '5.1.0^M' bug, for "ipython --version" will return '5.1.0\r\n' on windows with Anaconda3
2018-01-05 21:37:08 -05:00
Muneeb Shaikh
ef36bdfb06 python: update anaconda-mode view mode variable names
Fix #10047
2018-01-05 21:37:03 -05:00
Muneeb Shaikh
3289e0d114 python: update invalid cython mode keybindings 2018-01-05 21:35:58 -05:00
syl20bnr
3b24f451f8 emacs-lisp: add dotspacemacs alias for nameless 2018-01-04 02:13:22 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr
f142ea6a32 org: hide lighter for evil-org
It is not conventional and missleading.
2018-01-04 01:40:52 -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
8bc9060af8 javascript: change key binding for repl live eval toggle
To respect convention move the key binding under `SPC m T l` and change
the lighter to a plain squared `l`.
2018-01-04 01:40:52 -05:00
syl20bnr
6265c057bf emacs-lisp: change nameless key binding to respect conventions
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.

Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
syl20bnr
6b865deebf core: add support for major mode specific toggles
Modify macro spacemacs|add-toggle to create additional sets of functions for
each supported modes when the toggle is major mode specific.

A toggle is major mode specific when it is bound to keys using the keyword
:evil-leader-for-mode

Updare documentation to add a section on toggles in the Spacemacs concepts.
2018-01-04 01:40:52 -05:00
timor
debd7a010b use evil-smartparens-mode for smartparens-strict mode
This is more dwim in the sense that the normal deleting commands now behave more
like paredit, i.e. region deletion is adjusted to always keep the pairs
balanced.
2018-01-04 01:40:52 -05:00
Sunghyun Hwang
1de9bde5f7 Add note about helm-spotify specific key bindings 2018-01-04 01:40:52 -05:00
Tim Stewart
ce03968302 Changed 'the value is in second' to 'the value is in seconds'. 2018-01-04 01:40:52 -05:00
Josh Santos
a18eab6026 Add Troubleshooting section 2018-01-04 01:40:52 -05:00
JAremko
020eee4501
Update Docker distro 2017-12-31 18:04:09 +02:00
JAremko
c47d88a098 Format docs 2017-12-31 02:41:22 +02:00
smile13241324
b4d663dcb5 Fix doc for cscope, geolocation, wakatime, prodigy and smex layer 2017-12-27 20:20:32 +02:00
Gunnar Bastkowski
857f6304c7 Add keybinding to align by percent 2017-12-23 10:54:01 -05:00
Guido Kraemer
502a62a640 start julia repl with spacemacs/ess-start-repl 2017-12-23 17:46:02 +02:00
bmag
88a952fb33 ess: declare prefixes in loop 2017-12-23 17:46:02 +02:00
Guido Kraemer
99d575b9c8 fix julia keybindings and nice prefixes 2017-12-23 17:36:31 +02:00
nashamri
f50626c353 Latest updates of spacemacs-theme 2017-12-23 17:28:31 +02:00
Leonard Lausen
e26e9c0eae Fix org-projectile capture-template keyword argument
Introduced by
d57062569e
Unfortunately that commit prevents specifying &additional-options, which should
be fixed by https://github.com/IvanMalison/org-projectile/pull/35
2017-12-23 17:27:29 +02:00
Fredrik Bergstrand
5ec172d7bd c-c++: Improve the header include auto completion
This change makes the c-c++ layer configure company-c-headers to search for and
list completion alternatives according to the priority list found in 'man gcc'.
If supported, the default system include paths are also fetched from gcc's
configuration instead of being hard coded to "/usr/include" and
"/usr/local/include". This also remedies the problem where the C++ standard
library headers does not show up as completion alternatives without manual
addition of include paths (see #4493, #8655).
2017-12-19 00:31:43 -05:00
Dela Anthonio
01ddc98cef c-c++: Add clang-format functions and key bindings
Solve part of #7628. Additionally, #7629 is no longer needed.

Add support for formatting lines, functions, and buffers with clang-format. Each
function produces a clear message on success.

The README was updated to reflect the usage of the new key bindings. References
to binding clang-format to the tab key were removed.
2017-12-19 00:25:20 -05:00
Evan Klitzke
77ee302f16 enable c++11 mode in company-clang-arguments if c-c++-enable-c++11 is not nil 2017-12-19 00:23:43 -05:00
Evan Klitzke
16fd3e85a4 add an option to use google-c-style 2017-12-19 00:20:00 -05:00
Nir Friedman
f3dbeec5dc Add manual semantic completion function for company to ycmd layer 2017-12-19 00:14:01 -05:00
Nir Friedman
2ce1e367c0 Remove ycmd warning for unset var; always fires 2017-12-19 00:09:02 -05:00
Nir Friedman
589d341d67 Add manual completion function to ycmd layer 2017-12-19 00:02:50 -05:00
Alexander Dalshov
24827b6f08 c-c++ add option to control cmake-ide package 2017-12-18 23:51:28 -05:00
Richard Kim
7bab83c09e fixed a typo by moving one closing parenthesis 2017-12-18 23:49:13 -05:00
syl20bnr
2ed3946d7b emacs-lisp: improve nameless configuration
- Change nameless prefix to > instead of default :
- Change toggle to SPC m >
- Set nameless separator to nil in order to make it work with any type or separator
- Add diminish unicode ⧁
- Define some default global aliases for Spacemacs source code
- Rename layer variable emacs-lisp-nameless-mode to emacs-lisp-hide-namespace-prefix
- Make variable nameless-current-name safe as a local variable for string values
- Set nameless prefix for core-configuration-layer.el
2017-12-17 23:30:24 -05:00
AdrieanKhisbe
71f8919ebf fix typo and use a layer variable for auto nameless-mode 2017-12-17 22:17:05 -05:00
Adriean Khisbe
48b0484348 add documentation for Nameless and Overseer bindings 2017-12-17 22:16:49 -05:00
Adriean Khisbe
3dc09cfc4d hide automatic nameless behind a nameless-auto-mode switch 2017-12-17 22:16:32 -05:00
AdrieanKhisbe
2d40793804 setup nameless package (replacing package prefix with :) 2017-12-17 22:16:08 -05:00
AdrieanKhisbe
ad5ac65263 add overseer (ert test runner) to emacs layer, bindings with prefix 2017-12-17 22:15:33 -05:00
AdrieanKhisbe
295b4752ca identify Cask files as emacs-lisp-ones 2017-12-17 22:15:04 -05:00
syl20bnr
0bae94fe4d go: sort key bindings in README.org 2017-12-17 22:12:44 -05:00
brantou
d9065de1cb Add go-tag to go-layer 2017-12-17 22:10:24 -05:00
Robbert van der Helm
c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
Dominik Schrempf
591ca203a7 ggtags diminish plus toggle 2017-12-17 21:59:23 -05:00
Dominik Schrempf
28d57c4248 diminish ggtags into doc 2017-12-17 21:59:23 -05:00
Max Beutelspacher
eaa00be5a9 fix spelling of variable in documentation
dotspacemacs-lines-numbers -> dotspacemacs-line-numbers
2017-12-17 21:55:56 -05:00