-
mini.nvim
Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
-
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.
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:
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!
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.)
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.
Related posts
-
What are some plugins that you can't live without?
-
What IDEA or Vscode feature/function you want to have in neovim eco-system?
-
Editing init.lua with lua_ls on gives "Undefined global : vim" ?
-
Set it and forget it plugins?
-
mini.files - navigate and manipulate file system (with column view and editing text)