Skip to content

Instantly share code, notes, and snippets.

@eduardoarandah
Created August 12, 2020 17:59
Show Gist options
  • Save eduardoarandah/25104bf16e106a38f154ea3816580e77 to your computer and use it in GitHub Desktop.
Save eduardoarandah/25104bf16e106a38f154ea3816580e77 to your computer and use it in GitHub Desktop.
Compile special nvim branch and add vim-apm extension
# build requisites
sudo apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
# download
cd ~
git clone https://github.com/tjdevries/neovim.git -b tjdevries/keystrokes nvim2
cd nvim2
# Compile ( Install guide: https://github.com/neovim/neovim/wiki/Building-Neovim#building )
make CMAKE_BUILD_TYPE=Release
./build/bin/nvim --version | grep ^Build
alias nvim2=~/nvim2/build/bin/nvim
# Copy your .vimrc here and add the plugin
# Plug "ThePrimeagen/vim-apm"
cp ~/.vimrc .
nvim2 .vimrc
# Start with the plugin
nvim2 -u .vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment