denite-dirmark


Ⅰ. 插件描述

denite.nvim source and kind to mark and list directories

Ⅱ. 基本信息

创建日期:  2018-07-15
使用用户:  1
Github星:  5
插件作者:  KMNK

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'kmnk/denite-dirmark'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'kmnk/denite-dirmark'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'kmnk/denite-dirmark'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/kmnk/denite-dirmark

Ⅳ. 文档说明

# denite-dirmark
denite.nvim source and kind to mark and list directories.

Features

  • Add mark (and group) information of directory, and save information.
  • Show marked directory list, and provide directory kind actions.

Requirements

Usage

Add mark

  1. Execute :Denite command with source name dirmark/add . Then directories are displayed

    • This candidates are generated by file source. So, you can pass argument for specifying search directory.
  2. Select target directory, and select add action.
  3. Input any group and mark name.

List marked directories

  1. Execute :Denite command with source name dirmark . Then marked directories are displayed.

    • By default, default group list is displayed. If you want to specify group, pass group name as argument to dirmark source.
  2. Select target directory, and select any action of directory kind.

Delete mark

  1. Execute :Denite command with source name dirmark . Then marked directories are displayed.

    • By default, default group list is displayed. If you want to specify group, pass group name as argument to dirmark source.
  2. Select target directory, and select delete action.

Settings

Some setting methods are provided.

dirmark#set_cache_directory_path(path)

Set cache directory path for save dirmarks.

Default: ~/.cache/denite-dirmark

dirmark#set_default_group(group)

Set default group name for using denite-dirmark.

Default: default

Futures

  1. add tests
  2. multi marks adding and deleting
  3. rename action
  4. regroup action
  5. dirmark/group source (for add/delete/rename group)
  6. separate cache file
  7. add cool highlighting

添加新评论