Skip to content

masaakif/nerdtree-useful-plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

nerdtree-useful-plugins

This repository has below 2 plugins

  1. grep_menuitem.vim
  2. open_by_win_menuitem.vim

grep_menuitem.vim

A really rough integration of :grep or :Rg with nerdtree. Adds a 'g' menu item that prompts the user for a search pattern to use with :grep/:Rg. :grep/:Rg is run on the selected dir (using the parent if a file is selected).

Originally written by scrooloose, enhanced by masaakif, converted to plugin style by MarSoft.

Requiremnts for ripgrep users

Ripgrep vim-ripgrep The vim-ripgrep plugin must be download before nerdtree-useful-plugins Because, the plugin check the g:loaded_rg value.

open_by_win_menuitem.vim

Open selected node(file/dir) by file assocition with WindowsOS. Adds a 'o'menu item that opens selected file/dir in WindowsOS. If you selected *.pdf, the file should be opened by associated Windows prgramm. If dir is selected, open by Explorer. This supports WindowsOS and Cygwin.

Installation

For Pathogen

git clone https://github.com/masaakif/nerdtree-grep-plugin.git ~/.vim/bundle/nerdtree-grep-plugin

Now reload vim.

For Vundle

Plugin 'jremmen/vim-ripgrep' 
Plugin 'scrooloose/nerdtree'
Plugin 'masaakif/nerdtree-useful-plugins'

For NeoBundle

NeoBundle 'jremmen/vim-ripgrep' 
NeoBundle 'scrooloose/nerdtree'
NeoBundle 'masaakif/nerdtree-useful-plugins'

For Plug

Plug 'jremmen/vim-ripgrep' 
Plug 'scrooloose/nerdtree'
Plug 'masaakif/nerdtree-useful-plugins'

For dein(plugins.toml)

[[plugins]]
repo = 'jremmen/vim-ripgrep'

[[plugins]]
repo = 'scrooloose/nerdtree`

[[plugins]]
repo = 'masaakif/nerdtree-useful-plugins'

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%