Daniel Wu
6711ae4bca
python layer: Add helm-pydoc
2015-04-04 00:18:00 -04:00
syl20bnr
57fcb93799
Rename *-declarep functions to *-usedp functions
...
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr
5d8be137e7
Define missing init functions
2015-04-03 17:35:33 -04:00
syl20bnr
318bd23dc4
Add pre and post init functions support to configuration-layers
...
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)
The init function is mandatory, if it is not present then the
package is ignored and not installed.
This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).
It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr
769d54da02
New layer auto-completion
...
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00
syl20bnr
46248b1e73
New local company backends
2015-03-31 22:24:01 -04:00
syl20bnr
0fa0409523
Restore reset of local company-backends and add with-yas
param
2015-03-30 00:48:41 -04:00
Tristan Hume
cb43a91a15
Add company backend add macro and use it everywhere
2015-03-30 00:01:33 -04:00
Diego Berrocal
78f8c6aae0
Change condition for company-mode detection
...
changed configuration-layer/package-declaredp for
configuration-layer/layer-declaredp in company-mode
2015-03-29 23:49:37 -04:00
syl20bnr
bdf1ec390b
New evil state evilified
+ support for dynamic toggle of holy-mode
...
Key binding on `SPC P <tab>` in the pair programming prefix.
2015-03-22 23:14:43 -04:00
syl20bnr
b1adef0626
Heavy refactoring of company-mode layer
...
- Enable lazy-loading of company.
- The company layer is now agnostic of any packages which use company
- company-backends is now buffer local and contains only the backends
which are relevant for the current modes
- New macro `spacemacs|reset-local-company-backends`
2015-03-22 02:23:12 -04:00
Christoph Paulik
7cc096e213
activate inferior-python-mode in comint buffer
...
this enables autocompletion
This code still has the bug that point stays in the comint buffer
2015-03-14 23:57:39 -04:00
Christoph Paulik
06a2d9ba47
fixes python compile command
...
- now sets the compile command correctly if python buffers are switched
- moves point to end of comint buffer, useful if a breakpoint is set
2015-03-14 23:57:37 -04:00
syl20bnr
3098a1a2d8
Refactor python compile command
2015-03-14 02:59:12 -04:00
Michael Hauser-Raspe
71a3bedff6
fixing yasnippet company-mode initialisation for python
2015-02-17 22:19:14 -05:00
syl20bnr
8d0dd8b25d
Update python REPL bindings to meet the conventions
2015-02-17 22:07:43 -05:00
syl20bnr
04054b75e7
Fix missing parameters for python-shell-send-region-switch
2015-02-17 22:00:26 -05:00
Daniel Wu
112fb44de4
Add function to clear python inferior buffer
...
Conflicts:
spacemacs/funcs.el
2015-02-17 20:03:31 -05:00
syl20bnr
fc84f13d72
Update python key bindings to fit conventions
...
`m g g` and `m h h`
resolves #496
2015-02-12 22:21:45 -05:00
syl20bnr
5f0078506f
Add a condition on yasnippet presence in init-company-anaconda
2015-02-10 23:33:54 -05:00
Michael Hauser-Raspe
45787dadb7
Add yasnippet to company-mode source for python
2015-02-10 23:31:25 -05:00
Andreas Liljeqvist
dd5e5c4b5a
Enable smartparens in inferior-python-mode
2015-02-07 23:28:18 -05:00
Jean-Christophe Petkovich
8b0c0a5c2e
Add vim-like anaconda-nav-mode bindings
...
Anaconda nav mode currently starts in evil mode which masks most of its
bindings. This just adds anaconda-nav-mode to the list of emacs states,
and throws in j/k bindings that make sense to me.
Fix using spacemacs|evilify
Add leader key, and next and previous error.
2015-02-04 00:53:27 -05:00
syl20bnr
ef34305403
Sort and modify key bindings in python layer packages.el
...
`mps` and `mpu` for pyenv have been moved to `mvs` and `mvu`
`mv` for pyvenv has been moved to `mV`
`mjtg` has been moved to `mjte`
2015-01-30 22:28:47 -05:00
Brian Hicks
08e68a3b1d
Add django via pony-mode to python layer
2015-01-30 22:24:51 -05:00
Diego Berrocal
60da87b4df
Add cython-mode to Python contrib layer
2015-01-23 22:11:02 -05:00
syl20bnr
22930c3d33
Change all SPC m g
bindings to SPC m g g
according to conventions
2015-01-20 22:32:13 -05:00
Daniel Wu
16177dfa30
resolve key binding conflict in python contrib
2015-01-14 22:48:44 -05:00
syl20bnr
ceefe88b75
Update CONTRIBUTE.md and add file headers
...
Also add default file header to layer templates.
2015-01-13 23:12:56 -05:00
syl20bnr
143ac02bf4
Simplify slime and eldoc config and adapt python eldoc config
2014-12-22 22:05:03 -05:00
syl20bnr
0051aa73c4
Update conventions for help/doc key bindings
...
`m d` goes under help commands so it is now `m h d`
2014-12-21 22:52:57 -05:00
syl20bnr
c7f9a9c07e
Move hy-mode package to python layer
2014-12-14 00:19:20 -05:00
syl20bnr
2ac8658385
Fix smartparens-strict-mode for python
2014-12-11 22:16:09 -05:00
Daniel Wu
801aaf5165
fixed bug in company-anaconda initilization
2014-12-11 18:48:51 -05:00
Daniel Wu
3fd12ac280
should be pyvenv instead of pyenv
2014-12-10 19:42:02 -05:00
syl20bnr
4dc648448f
Remove the s
prefix for send to REPL bindings in Python
2014-12-09 23:37:16 -05:00
syl20bnr
fb9f7cb084
Lazy loading of semantic for python layer
2014-12-09 23:27:28 -05:00
Daniel Wu
22b7246e19
enable semantic mode in python contrib by default
2014-12-09 23:10:50 -05:00
syl20bnr
ced8b7fbbe
Refactor python layer to be more modular
2014-12-08 22:19:55 -05:00
syl20bnr
825fa4ce3c
Update Python key bindings according to conventions
2014-12-08 20:58:35 -05:00
syl20bnr
2d726f21a0
Rename spacemacs//diminish to spacemacs|diminish
...
and spacemacs//hide-lighter to spacemacs|hide-lighter
to respect the conventions on macros name
2014-12-03 22:39:18 -05:00
syl20bnr
b30da551a6
Simplify inactive modeline
2014-11-29 01:20:50 -05:00
Daniel Wu
becd223d36
highlight TODO words in python mode
2014-11-26 18:29:53 -05:00
valrus
86c743db7d
Add anaconda-mode-view-doc.
...
Map anaconda-mode-view-doc to <SPC> m d and move pylookup to <SPC> m D.
2014-11-26 17:51:49 -05:00
Daniel Wu
aed0fc8ef8
use another way to not auto-indent in python mode
2014-11-22 00:10:06 -05:00
Daniel Wu
25f2bce641
bug fix: electric-indent-mode causes incorrent indentation when adding comma after if statement
2014-11-18 13:37:05 -05:00
Daniel Wu
fa06f188a1
separated python settings into a contrib
2014-11-14 22:41:45 -05:00