Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjianbo/vimrc
My vimrc file
https://github.com/hjianbo/vimrc
Last synced: 2 days ago
JSON representation
My vimrc file
- Host: GitHub
- URL: https://github.com/hjianbo/vimrc
- Owner: HJianBo
- Created: 2017-06-19T13:53:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T03:27:26.000Z (5 months ago)
- Last Synced: 2024-11-11T12:46:56.332Z (about 1 month ago)
- Language: Vim Script
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vimrc
自用 vim 配置, 主要用于 Erlang 开发## 使用
本 vim 配置, 使用 [Vundle](https://github.com/VundleVim/Vundle.Vim) 进行插件管理1. 安装 vim-plug
```shell
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
```2. 配置 vimrc 文件
```shell
curl -L -o ~/.vimrc https://raw.githubusercontent.com/HJianBo/vimrc/master/vimrc
```3. 安装已配置的插件
```shell
# 在 vim 命令行中输入
:PlugIntall
```## 配置
1. 安装 nodejs 以完成对 coc.nvim 的配置
```
sudo su
curl -sL install-node.vercel.app/lts | bash
```
或者使用 nvm: https://github.com/nvm-sh/nvm2. 安装 Copilot.nvim (需求 vim9)
```
https://github.com/github/copilot.vim#getting-started
```Ubuntu 安装 vim9 参考:https://itsfoss.com/install-latest-vim-ubuntu/
打开 vim 执行,`Copilot setup`
3. 完成