Skip to content

aubinlrx/telescope-yamlnav.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

telescope-yamlnav.nvim

yamlnav is telescope extension that allow you to navigate .yml file by path.

Requirements

Installation

vim-plug

Plug 'aubinlrx/telescope-yamlnav.nvim'

packer.nvim

use { 'aubinlrx/telescope-yamlnav.nvim', branch = 'main' }

Setup

-- You dont need to set any of these options. These are the default ones. Only
-- the loading is important
require('telescope').setup({
  extensions = {
    yamlnav = {
      remove_prefix = true
    }
  }
})

-- To get yamlnav loaded and working with telescope, you need to call
-- load_extension, somewhere after setup function:
require('telescope').load_extension('yamlnav')

-- To be able to copy path under the current cursor a user function is available
vim.keymap.set("n", "<leader>yy", "<cmd>YamlNavCopy<cr>")

About

Telescope extension to navigate through yaml file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages