当前位置:网站首页>NEOVIM下载安装与配置
NEOVIM下载安装与配置
2022-07-30 21:30:00 【三境界】
1 python模块下载
sudo apt-get install python-dev python-pip python3-dev python3-pip
2 添加仓库并下载
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
检查版本:
nvim -v
3 更改域名解析
访问这个网站:https://ipaddress.com/website/raw.githubusercontent.com
出现403就点击Goto Homepage
选择Data项下面的第一个就可以了 复制下来
然后打开/etc/hosts追加下面一行,保存就行
注意可能要使用root身份:sudo nvim /etc/hosts
182.199.105.133 raw.githubusercontent.com
加快git访问速度
安装插件管理器:vim-plug
有了上面一步,就可以快速下载vim-plug了:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
一般来说会秒下成功,但是如果遇到错误类似errorno104:
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错
git config --global http.sslVerify "false"
VIM-PLUG下载插件
插件下载的NVIM语句的模板是这样的:
这两句之间填充你要下载的插件就可以了
call plug#begin('~/.vim/plugged')
call plug#end()
但是如果你下载出现了问题,你需要在plug开始声明之后添加这一句才能成功访问到github:
let g:plug_url_format='[email protected]:%s.git'
好了现在你可以放肆的往其中插入plug声明了,想要什么只要按格式:
plug ' xxxxxx'
记录下来就可以了,最后保存,再执行:PlugInstall即可出现下载插件的分屏界面
放心吧,应该没有问题了,vim-plug支持多线程下载的,比vundle快很多倍
插件推荐
NERDTree 文件树
Airline 状态栏
https://blog.csdn.net/weixin_42910064/article/details/113522043
coc.vim 代码补全与检测
https://blog.csdn.net/weixin_42910064/article/details/113522043
ranger 文件浏览器
https://blog.csdn.net/weixin_42910064/article/details/113522043
snazzy 主题美化
https://blog.csdn.net/weixin_42910064/article/details/113522043
indentLine 缩进显示
ctags cscope 阅读代码的函数跳转和查找
https://blog.csdn.net/weixin_42910064/article/details/113522043
配置init.vim基本设置
找一篇经典的复制粘贴上去就行,都差不多。
边栏推荐
- 用于命名实体识别的模块化交互网络
- How do I refresh the company's background management system (Part 1) - performance optimization
- chrome extension: how to make the dialog be on the right side of the current window?
- uni-app开发微信小程序踩坑
- Typescript 严格模式有多严格?
- LeetCode·每日一题·952.按公因数计算最大组件大小·并查集
- mysql死锁
- Navicat连接MySQL时弹出:1045:Access denied for user ‘root’@’localhost’
- mysql deadlock
- Swift RegexBuilder Vs. Raku Grammar
猜你喜欢
![[The Beauty of Software Engineering - Column Notes] 31 | Is software testing responsible for product quality?](/img/6a/640763e3bd6c28f3e7fa762798b0ae.png)
[The Beauty of Software Engineering - Column Notes] 31 | Is software testing responsible for product quality?

Image Restoration by Estimating Frequency Distribution of Local Patches

基于ABP实现DDD--领域服务、应用服务和DTO实践

mysql deadlock

ClickHouse 数据插入、更新与删除操作 SQL

LeetCode·23.合并K个升序链表·递归·迭代

你需要知道的ES6—ES13开发技巧

ENS emoji domain name is on fire!Hype or opportunity?

A simple rich text editor

Deep Kalman Filter Network for Video Compression Artifact Removal
随机推荐
系统结构考点之PM2I单级网络
基于ABP实现DDD--仓储实践
文字的选择与排版
MySQL笔记1(数据库的好处,数据库的概念,数据库的特点,MySQL的启动,数据模型,SQL)
【网络安全专栏目录】--企鹅专栏导航
What is the common factor
CISP-PTE真题演示
Generate OOM records in a production environment. Conclusion: Don't be lazy to query useless fields unless you are completely sure.
Google Earth Engine ——ee.List.sequence函数的使用
chrome extension: how to make the dialog be on the right side of the current window?
不用bs4的原因居然是名字太长?爬取彩票开奖信息
ENS emoji domain name is on fire!Hype or opportunity?
MySQL 游标
手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
openim支持十万超级大群
导航栏----个人中心 Dropdown
ClickHouse 创建数据库建表视图字典 SQL
[Deep Learning] Understanding of Domain Adaptation in Transfer Learning and Introduction of 3 Techniques
活动推荐 | 2022年深圳最值得参加的边缘计算活动
JS中获取元素属性的8大方法