Skip to content

delphinus/rtr.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtr.nvim

Simple & small implementation for chdir'ing accordingly

What's this?

This is a yet another plugin to change the current directory according to the file on each buffer. There are similar plugins: airblade/vim-rooter, ahmedkhalf/project.nvim, but rtr.nvim has the most simple implementation to achieve the same feature with using vim.fs.find API.

Install & Usage

packer.nvim

use {
  "delphinus/rtr.nvim",
  config = function()
    require("rtr").setup {}
  end,
}

lazy.nvim

require("lazy").setup {
  { "delphinus/rtr.nvim", config = true },
}

Just done. Simple!

See more detail usage in doc.

Caveats

This plugin needs vim.fs.find to work. You chould use newer Neovim (>= 0.8.2).

About

Simple & small implementation for chdir'ing accordingly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages