erlang vim

mkdir -p ~/.vim/bundle  ~/.vim/autoload

cd ~/.vim/autoload

下载 vim-pathogen

git clone https://github.com/tpope/vim-pathogen.git

下载 pathogen.vim

curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

打开网站https://www.ipaddress.com/

查询raw.githubusercontent.com 对应的ip

199.232.68.133

vim /etc/hosts 

添加 199.232.68.133 raw.githubusercontent.com

修改~/.vimrc

call pathogen#infect()

call pathogen#helptags()

syntax on

filetype plugin indent on

 

cd ~/.vim/bundle
git clone https://github.com/jimenezrick/vimerl.git

下载man

wget https://erlang.org/download/otp_doc_man_23.1.tar.gz

tar -xzf otp_doc_man_23.1.tar.gz

mv man /usr/local/erlang

erl -man app

修改~/.vimrc

filetype plugin indent on
let g:erlangManPath="/usr/local/erlang/man"

 

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...