go配置emacs编辑器代码自动提示的”.emacs“文件在哪里?

ameyume ameyume 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
ubutnu设置emacs编辑器go代码自动提示,其中有一步是
“Add these lines to your .emacs”,那这个".emacs"在哪里呢?下载的emacs-26.2目录下没有这个文件,ubutnu用户根目录下也没有这个隐藏文件。

https://github.com/mdempsky/gocode
Emacs setup
In order to install emacs script, you need to fulfill the following steps:

Install auto-complete-mode

Copy emacs/go-autocomplete.el file from the gocode source distribution to a directory which is in your 'load-path' in emacs.

Add these lines to your .emacs:

(require 'go-autocomplete)
(require 'auto-complete-config)
(ac-config-default)
...全文

相关推荐

评论 3
收藏 已收藏
分享
返回顶部
ameyume
ameyume 领域专家: 操作系统技术领域 领域专家: 操作系统技术领域
go语言 2,351 成员 924 内容