vim操作
参考:
1 Vim的终极配置方案,完美的写代码界面! ——.vimrc
3 Ubuntu20.04安装YouCompleteMe自动补齐插件 (推荐)
其中的git路径可改为:git clone https://github.com/ycm-core/YouCompleteMe.git ~/.vim/bundle/YouCompleteMe
# Linux配置vim环境
## 安装插件环境以及各种插件
- 前置安装git,cmake,python3
- 安装vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- 配置~/.vimrc
set nocompatible
filetype off " on
set rtp+=~/.vim/bundle/Vundle.vim
" vundle initialize
call vundle#begin()
" github repo plugin, should be the first, let vundle manager
" plugin version
" format Plugin 'user/plugin repo name'
Plugin 'VundleVim/Vundle.vim'
Plugin 'ycm-core/YouCompleteMe'
call vundle#end()
- 安装YouCompleteMe
# 该速度很慢,可直接通过git下载源码
$vim
:BundleInstall (或PluginInstall)
# 直接通过git下载源码
git clone https://github.com/ycm-core/YouCompleteMe.git ~/.vim/bundle/YouCompleteMe
# ModuleNotFoundError: No module named 'setuptools'
sudo apt-get install python-setuptools python3-setuptools
# ERROR: Python headers are missing in /usr/include/python3.8.
sudo apt-get install build-essential cmake python3-dev
" enter ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive
cd ~/.vim/bundle/YouCompleteMe
python3 ./install.py --clangd-completer
- 编译(需要C/C++语言补全支持,要加--clangd-completer, 不需要提前下好clang
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
2020-05-14 numpy中matrix使用方法