Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.58 KB

README.md

File metadata and controls

72 lines (45 loc) · 1.58 KB

Installation

  1. For Ubuntu users, run the following commands to install dependencies:
sudo -E ./install/ubuntu.sh
  1. Setup environment variables and soft links
./install/setup.sh

optional:

  • Setup $DOC2 manually
  • Run sync-scripts.sh and :PlugUpgrade to sync scripts
  • Reinstall lazy.nvim manually

Vim

Unofficial PPA for Vim: https://launchpad.net/~jonathonf/+archive/ubuntu/vim

Build from Source

sudo -E install/build_vim.sh

Neovim

Source code and executables: https://github.com/neovim/neovim/releases

Install from Package

Supported build needs glibc 2.29, while glibc versions of Ubuntu18.04 and CentOS 7.1 are lower than 2.28.

https://github.com/neovim/neovim/blob/nightly/INSTALL.md#install-from-package

Unstable PPA (requires Ubuntu 20.04+)

See also: https://github.com/neovim/neovim-releases

Build from Source

sudo -E install/build_nvim.sh

Node.js

coc.nvim and copilot.vim depend on Node.js.

:h nodejs

Command Line Tools

We install fzf via vim plugin.

Install Plugins Manually

vim-plug/lazy.nvim plugin directory: g:vim_plug_dir (~/plugged by default).

coc.nvim home: ~/coc, run :CocInstall.

vimspector gadgets home: ~/gadgets

You can manually pack them and upload to a remote server:

cd ~/plugged
tar -cf plugged.tar fzf LeaderF coc.nvim fzf.vim