Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
F12でタグを取得するようにマップしたいctagsので、次のように書きましたvimrc:
F12
ctags
vimrc
map <F12> :call Do_CsTag()<CR> function Do_CsTag() if(executable('ctags')) silent! execute "!ctags -R --c-types=+p --fields=+S *" endif endf
ソース ファイルを押すF12とC、画面が白くなります。どうすれば修正できますか?
C
この場合に使用system()してみてください: replace
system()
silent! execute "!ctags -R --c-types=+p --fields=+S *"
と
call system('ctags -R --c-types=+p --fields=+S *')
.