Skip to content

obaland/vfiler-action-yanktree

Repository files navigation

Lint

vfiler-action-yanktree

This project is an extension plugin for vfiler.vim that provides the functionality to copy the filesystem tree structure to the clipboard. This plugin uses the tree command internally, so the tree command is necessary.

Prerequisites

  • Linux or macOS
  • tree command installed

Installation

Use your favorite plugin manager to install vfiler-action-yanktree. For example, if you are using vim-plug, follow the steps below.

Using vim-plug

Plug 'your-github-username/vfiler-action-yanktree'

Using dein.vim

call dein#add('obaland/vfiler.vim')

Using packer.nvim

use {
  'obaland/vfiler.vim',
}

Configuration

After installation, to configure this plugin as an action in vfiler.vim, map the action to your preferred key as shown below.

local action = require('vfiler/actions/yanktree')

require('vfiler/config').setup({
  -- Please map to your preferred key.
  mappings = {
    ['<M-y>'] = action.yank_tree,
  }
})

License

This project is released under the MIT License.

About

The yanktree action extension plugin for vfiler.vim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published