Commit graph

62 commits

Author SHA1 Message Date
syl20bnr
5dd7383821 python layer: fix pylookup 2015-04-02 00:00:36 -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
Daniel Wu
41efc0e263 python layer: Update README 2015-03-23 21:54:06 -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
Christoph Paulik
ca7048c971 Add python compile command
- automatically changes compile command to
  ```python (buffer-file-name```
  for python buffers
- automatically starts comint mode in python mode to allow interaction
  with debugger
2015-03-14 02:56:51 -04:00
syl20bnr
96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05: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
1a02477d51 Remove prefix commands in python and ruby layers
Resolves #569
2015-02-12 22:08:07 -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
Brian Hicks
4834a7949c contrib(python): document Django keys 2015-02-01 22:55:06 -05:00
syl20bnr
579f8eb649 Add django logo in python layer README 2015-01-30 22:42:32 -05:00
syl20bnr
aa5b9e4d3b Update python layer README with Django support 2015-01-30 22:41:55 -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
2554d16c16 Rename config-system.el to configuration-layer.el 2014-12-25 14:45:27 -05:00
syl20bnr
fd0e9abbe7 Move layer images into img directories 2014-12-24 01:03:49 -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
syl20bnr
1f1c86393f Light refactor of python layer README 2014-12-11 20:10:40 -05:00
syl20bnr
4add1b7a62 Remove absolute links in READMEs 2014-12-11 19:55:44 -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
68fbb286de Fix defvar instead of setq in readme 2014-12-09 23:50:48 -05:00
syl20bnr
c44e3dc58b Update key bindings for running tests according to the conventions
For ruby and python layers
2014-12-09 23:40:26 -05:00
syl20bnr
4dc648448f Remove the s prefix for send to REPL bindings in Python 2014-12-09 23:37:16 -05:00
syl20bnr
209b52eedc Update Python readme 2014-12-09 23:36:33 -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