You don't need 'vim-rooter' (usually) or How to set up smart autochange of current directory

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • vim-rooter

    Changes Vim working directory to project root.

  • The airblade/vim-rooter plugin is an essential part of my Neovim workflow. It automatically changes current directory (:h current-directory) for every buffer to a more natural one (like to path of its Git repository). For me this has the following benefits:

  • mini.nvim

    Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort

  • Initially I planned to make a separate 'mini.root' module, but realized that it would mostly be a reimplementation of vim.fs. So instead I decided to add setup_auto_root() function to mini.misc. If you want a more tested and documented solution, check it out and tell me what you think. Thanks!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • NeoRoot.lua

    Discontinued Yet another light-weight rooter written in Lua

  • Firstly, I respect your sharing here, but I still discourage people(especially newcomers) from using this kind of plugin/script to auto-changing "current directory". (So yes, I myself discourage people from using my own root plugin NeoRoot.lua anymore, and I've decided to execute my plan to abandon it recently.)

  • suave.lua

    Multi-tabs project session automation

  • There are indeed three levels of Vim's "current directory", I made a summary during my development of the not well-known multi-tab project session automation plugin: https://github.com/nyngwang/suave.lua/issues/1. In short: it is not that simple.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What are some plugins that you can't live without?

    16 projects | /r/neovim | 4 Dec 2023
  • What IDEA or Vscode feature/function you want to have in neovim eco-system?

    16 projects | /r/neovim | 28 Jun 2023
  • Editing init.lua with lua_ls on gives "Undefined global : vim" ?

    3 projects | /r/neovim | 27 Jun 2023
  • Set it and forget it plugins?

    16 projects | /r/neovim | 27 Jun 2023
  • mini.files - navigate and manipulate file system (with column view and editing text)

    9 projects | /r/neovim | 22 Jun 2023