deinやemmetのインストールをしようとしていますが、そもそもインストールがうまくいっていないのか、自分の操作の仕方がわかっていないのかがわかりません。
OSはMac10.13.2、
vimのバージョンは8.0
$ vim --version VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 26 2017 19:10:24)
(必要かどうかわかりませんが一応gitにもPATHは通っていると思います)
hiroshi-no-MacBook-Air:~ hiroshi$ git --version git version 2.14.3 (Apple Git-98)
(→これが表示できるってことはPATH通ってるってことでいいですよね。。。?)
いろいろ調べながら行って
"dein Scripts----------------------------- if &compatible set nocompatible " Be iMproved endif " Required: set runtimepath+=/Users/hiroshi/.cache/dein/repos/github.com/Shougo/dein.vim " Required: if dein#load_state('/Users/hiroshi/.cache/dein') call dein#begin('/Users/hiroshi/.cache/dein') " Let dein manage dein " Required: call dein#add('/Users/hiroshi/.cache/dein/repos/github.com/Shougo/dein.vim') " Add or remove your plugins here: call dein#add('Shougo/neosnippet.vim') call dein#add('Shougo/neosnippet-snippets') " You can specify revision/branch/tag. call dein#add('Shougo/deol.nvim', { 'rev': 'a1b5108fd' }) " Required: call dein#end() call dein#save_state() endif " Required: filetype plugin indent on syntax enable " If you want to install not installed plugins on startup. "if dein#check_install() " call dein#install() "endif
というスクリプトが掃き出され、それを.vimrcのほうに貼り付けて、vimを再起動するとcomplete的な感じになりました。
その上で、再度vimrcを開き call dein#add('Shougo/neosnippet-snippets')の一行したに
call dein#add('mattn/emmet-vim')
と書いて再起動してみました。
vimの挿入モードで試しにdivと打ってcontrol+pにしてみても、control+yにしてみても補完されません。。。
お力添え頂ければ幸いです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/01/27 15:33