[PYTHON] Spacemacs settings (for beginners)


Setting emacs on Windows became troublesome. It is mainly used for editing python scripts, markdown, and MATLAB scripts. I set it to use emacs-jedi and MATLAB-mode. I am proud that my Emacs proficiency level is about beginners after passing beginners.



If you read Honke Repository https://github.com/syl20bnr/spacemacs), you won't get stuck.

When you install NTEmcs


I think that .emacs.d has been created, so just clone the spacemacs repository instead of that directory and start Emacs. There was no particular clogging. Is it vimmer? Is it set for vimmer? I remember answering NO when asked.


I read the reference article below, but I couldn't understand what the "Configuration Layer" was, so I wrote it all in .spcemacs (I used to write all the settings in init.el).


Just by writing various things in the file, it worked as expected.

Package related

If you read .spacemacs,


There is a line that becomes. If the package is in MELPA etc.


If you execute M-x sync-configuration-layer, installation and loading will be done automatically. Also, spacemacs comes with helm and various other packages in advance, so if you put a package you don't like in the following part, it probably won't be loaded.

   ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
   dotspacemacs-excluded-packages '()


I'm only playing with fonts

    dotspacemacs-default-font '("Ricty"
                               :size 19
                               :weight normal
                               :width normal
                               :powerline-scale 1.3)


Most of the things you write in normal init.el

(defun dotspacemacs/user-config ()
  "Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."

  ;; helm
  (global-set-key (kbd "C-;") 'helm-for-files)
  (global-set-key (kbd "C-x SPC") 'helm-M-x)
  (global-set-key (kbd "M-x") 'helm-M-x)
  (global-set-key (kbd "C-]") 'helm-ls-git-ls)
  (global-set-key (kbd "C-z") 'helm-show-kill-ring)

  ;; windmove
  (global-set-key (kbd "C-x w w") 'windmove-up)
  (global-set-key (kbd "C-x w s") 'windmove-down)
  (global-set-key (kbd "C-x w d") 'windmove-right)
  (global-set-key (kbd "C-x w a") 'windmove-left)
  (global-set-key (kbd "M-[") 'rotate-layout)

  (add-hook 'python-mode-hook 'jedi:setup)



I wrote it like this and it worked.


--Helm and most of the classics are included from the beginning and it's easy ――It looks pretty --No problem with windows ――Not so heavy -(I think I don't use Vimmer ...)

Reference article

Recommended Posts

Spacemacs settings (for beginners)
Roadmap for beginners
python textbook for beginners
Dijkstra algorithm for beginners
OpenCV for Python beginners
Proxy settings for urllib.request
Learning flow for Python beginners
Anaconda 4.4.0 Initial Settings for Windows
[For beginners] kaggle exercise (merucari)
Linux distribution recommended for beginners
CNN (1) for image classification (for beginners)
Python3 environment construction (for beginners)
Overview of Docker (for beginners)
Python #function 2 for super beginners
Seaborn basics for beginners ④ pairplot
Basic Python grammar for beginners
100 Pandas knocks for Python beginners
Python for super beginners Python #functions 1
Python #list for super beginners
~ Tips for beginners to Python ③ ~
[For Kaggle beginners] Titanic (LightGBM)
Reference resource summary (for beginners)
Linux command memorandum [for beginners]
Convenient Linux shortcuts (for beginners)
[Explanation for beginners] TensorFlow tutorial MNIST (for beginners)
Pandas basics for beginners ① Reading & processing
TensorFlow MNIST For ML Beginners Translation
Snippet settings for python jupyter notebook
Pandas basics for beginners ⑧ Digit processing
Python Exercise for Beginners # 2 [for Statement / While Statement]
Python for super beginners Python # dictionary type 1 for super beginners
Seaborn basics for beginners ② Histogram (distplot)
[For beginners] Django -Development environment construction-
[For beginners] Script within 10 lines (1.folium)
Logistic Regression (for beginners) -Code Edition-
What is scraping? [Summary for beginners]
Python #index for super beginners, slices
<For beginners> python library <For machine learning>
TensorFlow Tutorial MNIST For ML Beginners
Emacs settings for Python development environment
Frequently used Linux commands (for beginners)
[Must-see for beginners] Basics of Linux
Proxy settings for apt-get are lowercase! !! !! !! !!
Python #len function for super beginners
Beginners use Python for web scraping (1)
Run unittests in Python (for beginners)
What is xg boost (1) (for beginners)
Beginners use Python for web scraping (4) ―― 1
Python #Hello World for super beginners
Linear regression (for beginners) -Code edition-
Python for super beginners Python # dictionary type 2 for super beginners
Pandas basics summary link for beginners
[For beginners] Process monitoring using cron
LSTM (1) for time series forecasting (for beginners)
[Deprecated] Chainer v1.24.0 Tutorial for beginners
Initial settings for Mac (for data analysts)
TensorFlow Tutorial -MNIST For ML Beginners
Ridge Regression (for beginners) -Code Edition-
[Explanation for beginners] TensorFlow tutorial Deep MNIST
INSERT into MySQL with Python [For beginners]
Jupyter Notebook extension, nbextensions settings for myself