質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Vim

VimとはUnix / Linux 系のOSに標準搭載されているターミナル上で動くテキストエディタです。

Q&A

0回答

403閲覧

VimのDeniteプラグインでgrepが出来ない。

gadaio

総合スコア4

Vim

VimとはUnix / Linux 系のOSに標準搭載されているターミナル上で動くテキストエディタです。

0グッド

0クリップ

投稿2018/07/13 04:32

Windows64bit版 Vim KaoriYa版を使用しています。
DeniteというPluginを導入し、Vim上で「:Denite fire_rec」コマンドでファイル検索は動く状態になりましたが、
同じくVim上での「:Denite grep」コマンドによるgrep検索が出来ない状態です。
自力で解決を試みましたが、Vimの知識が乏しく苦戦しており限界と思い質問させて頂きます。
どのようにすればgrep検索出来るようになるでしょうか。

具体的には下記コマンドを入力すると、

:Denite -buffer-name=search -mode=normal grep
Pattern:

と出て、ここで何か文字を入力してEnterを押すと、
下記のエラーが出てしまいます。

[denite] Traceback (most recent call last): [denite] File "<string>", line 9, in _temporary_scope [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\ui\default.py", line 71, in start [denite] self._start(context['sources_queue'][0], context) [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\ui\default.py", line 120, in _start [denite] self.gather_candidates() [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\ui\default.py", line 668, in gather_candidates [denite] self._denite.gather_candidates(self._context) [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\denite.py", line 66, in gather_candidates [denite] source.context, source) [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\denite.py", line 75, in _gather_source_candidates [denite] candidates = source.gather_candidates(context) [denite] File "c:\users\username\vimfiles\bundles.cache\vimrc.dein\rplugin\python3\denite\source\grep.py", line 183, in gather_candidates [denite] context['__proc'] = process.Process(args, context, context['path']) [denite] File "C:\Users\username\vimfiles\bundles.cache\vimrc.dein/rplugin/python3\denite\process.py", line 25, in __init__ [denite] cwd=cwd) [denite] File "C:\Users\username\AppData\Local\Programs\Python\Python35\Lib\subprocess.py", line 676, in __init__ [denite] restore_signals, start_new_session) [denite] File "C:\Users\username\AppData\Local\Programs\Python\Python35\Lib\subprocess.py", line 957, in _execute_child [denite] startupinfo) [denite] FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。 [denite] Please execute :messages command.

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問