spaceemacs

0x03 spacemacs 的简单定制

2018-05-14  本文已影响33人  夏大王2019

古语有说:工欲善其事,必先利其器;
Emacs无疑是编程的神器。通过这一系列的小文章,让我们一起记录熟练使用和打造这一神兵利器。

显示行号

配置文件中.spacemacs

   ;; (default nil)
   ;;dotspacemacs-line-numbers nil
   dotspacemacs-line-numbers 'relative'

这个功能做的很棒,原因自己发现

sapcemacs 打开python模式 自动补全等

如对markown ,python等功能,只要在配置文件中打开相应的配置

   dotspacemacs-configuration-layers
   '(
     html
     python
     markdown
     ;; ----------------------------------------------------------------
     ;; Example of useful layers you may want to use right away.
     ;; Uncomment some layer names and press <SPC f e R> (Vim style) or
     ;; <M-m f e R> (Emacs style) to install them.
     ;; ----------------------------------------------------------------
     helm
     auto-completion
     ;; better-defaults
     emacs-lisp

重启emacs,即会自动加载

emacs --insecure

Launch Emacs. Spacemacs will automatically install the packages it requires. If you get an error regarding package downloads then you may try to disable the HTTPS protocol by starting Emacs with

emacs --insecure

上一篇 下一篇

猜你喜欢

热点阅读