Vim

let mapleader=" "
set number
syntax on
set norelativenumber
set cursorline
set wrap
set showcmd
set wildmenu
set hlsearch
exec "nohlsearch"
set incsearch
noremap <LEADER><CR> :nohlsearch<CR>
map R :source $MYVIMRC<CR>

call plug#begin('~/.vim/plugged')

Plug 'vim-airline/vim-airline'
Plug 'connorholyday/vim-snazzy'

call plug#end()

color snazzy

let g:SnazzyTransparent = 1

安装 PlugInstall
ubuntu16.04 vim :PlugInstall 为什么会抛出错误E492: Not an editor command: PluginInstall?https://blog.csdn.net/caigen0001/article/details/97039343

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 解决方法
https://blog.csdn.net/sscc_learning/article/details/105574354

vim插件管理器vim-plug安装方法
https://blog.csdn.net/enoch612/article/details/82079081

https://github.com/junegunn/vim-plug

Last modification:June 20th, 2021 at 12:23 am
如果觉得我的文章对你有用,请随意赞赏