This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/conda
smile13241324 25dbbd1e5a [conda] Revise conda layer
Conda layer needed some additions to be spacemacs
conform. In detail I did:
* Add missing features block and TOC declaration in README
* Change bindings to extent the existing python bindings
  rather than adding new general bindings.
* Make conda layer require python layer
2019-10-19 21:06:57 +02:00
..
layers.el [conda] Revise conda layer 2019-10-19 21:06:57 +02:00
packages.el [conda] Revise conda layer 2019-10-19 21:06:57 +02:00
README.org [conda] Revise conda layer 2019-10-19 21:06:57 +02:00

Conda Layer

Description

This layer adds support for the Anaconda python environment for numerical computations to Spacemacs.

Features:

  • Controlling Anaconda or Miniconda environments directly from emacs with conda.el

Install

To add this layer to Spacemacs, add conda to your dotspacemacs-configuration-layers list.

Configuration

To use this layer you need to tell spacemacs where your anaconda environment can be found. By default Spacemacs will check in ~/.anaconda3.

If it is installed somewhere else just set conda-anaconda-home in your dotfile:

  (setq-default dotspacemacs-configuration-layers
    '((conda :variables conda-anaconda-home "/your/path/here")))

Key bindings

Key binding Description
SPC m n a Open a helm buffer to select an environment
SPC m n A Toggle automatic activation of environments
SPC m n b Activate environment for buffer based on conda-project-env-name
SPC m n d Deactivate current environment
SPC m n l Open a help buffer that lists envs