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%\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" # 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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。