Skip to content

theimpostor/termux-vim-ycm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

termux-vim-ycm

Installing YouCompleteMe and vim-go in Termux

  1. Install prereqs
pkg update && pkg upgrade && pkg install procps proot vim-python openssh git golang python python-dev libclang cmake patch curl libcrypt-dev
  1. Restart termux
  2. Setup proot
cd ~ && curl -fsSL https://raw.githubusercontent.com/theimpostor/termux-vim-ycm/master/bashrc.patch | patch
  1. Restart termux
  2. Install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  1. Setup .vimrc w/vundle, ycm, vim-go
curl -fsSL https://raw.githubusercontent.com/theimpostor/termux-vim-ycm/master/vundle.vimrc >> ~/.vimrc
  1. Install plugins
vim +PluginInstall +qall
  1. Patch YCM source to build on android
cd ~/.vim/bundle/YouCompleteMe/third_party/ycmd && curl https://raw.githubusercontent.com/theimpostor/termux-vim-ycm/master/ycmd.patch | patch -p 1
  1. Build ycm binary
cd ~/.vim/bundle/YouCompleteMe && ./install.py --go-completer --clang-completer --system-libclang
  1. Install binaries for vim-go
vim +GoInstallBinaries

About

Installing YouCompleteMe and vim-go in Termux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published