localでnvimをbuild

管理者権限なしでのnvimのbuild(RHLE7)

前にもよく似た記事を書いたが、今回はRHLE7でやったためうまくいかないところがあったので修正している。
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/neovim"
make install
export PATH="$HOME/neovim/bin:$PATH"
だけでいけた。~/.config/nvim/init.vimは自分で作成すること。以下、deinを用いたプラグインのインストール。init.vimと同じディレクトリにdein.tomlというファイルを置いておく

init.vim

let  s:dein_dir  =  expand('~/.cache/dein')
if &runtimepath !~#  '/dein.vim'
 let  s:dein_repo_dir  =  s:dein_dir '/repos/github.com/Shougo/dein.vim'
 if !isdirectory(s:dein_repo_dir)
  call system('git clone https://github.com/Shougo/dein.vim ' . shellescape(s:dein_repo_dir))
 endif
 execute  'set runtimepath^='  .  s:dein_repo_dir
endif

if dein#load_state(s:dein_dir)
 call dein#begin(s:dein_dir)
 let s:toml_dir  =  expand('~/.config/nvim')
 call dein#load_toml(s:toml_dir .  '/dein.toml', {'lazy': 0})
 call dein#end()
 call dein#save_state()
endif

if  has('vim_starting')  && dein#check_install()
 call dein#install()
endif

dein.toml

#[dein.toml]
[[plugins]]
repo = 'Shougo/dein.vim'

[[plugins]]
repo = 'Shougo/deoplete.nvim'

[[plugins]]
repo = 'kassio/neoterm'

がしかし、python3がない、だと・・・

このブログの人気の投稿

Inverse-normal transformation

SKAT

locuszoom