0x03 spacemacs 的簡單定製

古語有說:工欲善其事,必先利其器; 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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章