我无法让NERDTree-ack插件正常工作;当我尝试从NERDTree搜索时遇到以下错误:
Enter the pattern: ack.txtError detected while processing function nerdtree#ui_glue#invokeKeyMap..72..71..<SNR>36_showMenu..46..63..NERDTreeAck:
line 10:
E477: No ! allowed: Ack! ack.txt /home/autodidacticon/.vim/bundle/ack.vim/doc
这是我.vimrc的相关部分
" let Vundle manage Vundle
88 " " required!
89 Bundle 'gmarik/vundle'
90
91 " Bundles here
92 Bundle 'ervandew/supertab'
93 Bundle 'scrooloose/nerdtree'
94 Bundle 'ack.vim'
95 "yunowerk
96 Bundle 'nerdtree-ack'
97 Bundle 'Syntastic'
98 Bundle 'Tagbar'
99 Bundle 'scrooloose/nerdcommenter'
100 Bundle 'elzr/vim-json'
101 Bundle 'vim-ruby/vim-ruby'
102 Bundle 'moll/vim-node'
103 Bundle 'kchmck/vim-coffee-script'
104 filetype plugin indent on " required!
105 syntax enable
106
答案 0 :(得分:1)
nerdtree-ack
取决于ack.vim
的更高版本,而不是vim.org
上可用的版本(例如,在the install details here中提及)。而不是指定
Bundle 'ack.vim'
您应该指定
Bundle 'mileszs/ack.vim'