vim with space-vim
Posted bob-wei
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vim with space-vim相关的知识,希望对你有一定的参考价值。
space-vim https://github.com/liuchengxu/space-vim macOS # homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # macvim brew install macvim brew link macvim # space-vim brew install fzf rg ag bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh) # run macvim mvim linux # linuxbrew sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile && echo "eval $($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval $($(brew --prefix)/bin/brew shellenv)" >>~/.profile # vim brew install vim # space-vim brew install fzf rg ag bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh) Windows # chocolatey (cmd) @"%SystemRoot%System32WindowsPowerShellv1.0powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin" # chocolatey (powershell) Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘)) # vim and tools choco install -y vim git fzf rg ag curl wget sudo # vim-plug (git-bash) curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # space-vim (git-bash) cd ~ git clone --depth 1 https://github.com/liuchengxu/space-vim.git ~/.space-vim ln -s ~/.space-vim/init.vim ~/.vimrc cp ~/.space-vim/init.spacevim ~/.spacevim # open gvim (note: not vim in git-bash) # input command to install plugins :PlugInstall # fix menubar chars to english :e ~/.vimrc # append to last line source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim
以上是关于vim with space-vim的主要内容,如果未能解决你的问题,请参考以下文章