前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >0x03 spacemacs 的简单定制

0x03 spacemacs 的简单定制

作者头像
上善若水.夏
发布2018-09-28 11:35:04
6730
发布2018-09-28 11:35:04
举报
文章被收录于专栏:上善若水上善若水

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

显示行号

配置文件中.spacemacs

代码语言:javascript
复制
   ;; (default nil)
   ;;dotspacemacs-line-numbers nil
   dotspacemacs-line-numbers 'relative'

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

sapcemacs 打开python模式 自动补全等

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

代码语言:javascript
复制
   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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018.05.14 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 显示行号
  • sapcemacs 打开python模式 自动补全等
  • emacs --insecure
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档