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
C:\Users\hoge\AppData\Roaming\
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).
C:\Users\rysk\AppData\Roaming\.spacemacs
Just by writing various things in the file, it worked as expected.
If you read .spacemacs,
dotspacemacs-additional-packages
'(
)
There is a line that becomes. If the package is in MELPA etc.
dotspacemacs-additional-packages
'(
helm-ls-git
epc
jedi
jedi-core
rotate
matlab-mode
)
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)
;;jedi
(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 ...)
Recommended Posts