project.nvim
mini.nvim
Our great sponsors
project.nvim | mini.nvim | |
---|---|---|
28 | 146 | |
1,182 | 3,638 | |
- | - | |
0.0 | 9.6 | |
21 days ago | 7 days ago | |
Lua | Lua | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
project.nvim
-
Is there a way of setting a global variable when switching the project?
Hello, I am using https://github.com/ahmedkhalf/project.nvim for managing projects, and I would like to change a global variable's value depending on the project I switched to. Something like an event when switching, and also the an api with the current project information. I don't find anything
If someone is interested on this, there is an issue for a feature: https://github.com/ahmedkhalf/project.nvim/issues/73
-
Telescope: how to search project directory?
You can use one of the "rooter" plugins like this one to dynamically change your working directory: https://github.com/ahmedkhalf/project.nvim
-
R code chunks not showing using Nvim-R for R Markdown
https://github.com/ahmedkhalf/project.nvim I have never used this but it seems to involve defining "projects", and any time you enter a project, whatever settings you require (such as current working directory) will get set up for you.
-
How to manage projects efficiently in neovim using telescope
Not sure if this is what you are looking for, but projects.nvim automatically changes your pwd in nvim. If you then use telescope's find_files and to search in the pwd, you basically get project-scoped searches. https://github.com/ahmedkhalf/project.nvim
-
Noob question about projects
Not sure what you mean by that. Perhaps your looking for a fuzzy finder. I use telescope for most of this. It can be used to find any file in your project and there's extensions for pulling up projects
-
olddirs.nvim: oldfiles, but for directories
project.nvim
Sharing a lightweight plugin I wrote yesterday which provides some functions for accessing previously used current working directories. I know that this is similar to some other "workspace" / "project" plugins which already exist, so I've pasted the motivation section from the README. >I work in a large monorepo and change my working directory depending on what part of the codebase I'm looking at to give my LSP (gopls) a chance and to improve the usefulness of fuzzy finding files. I want to change the current working directory back to a previously used one without having to configure a "project" or "workspace" beforehand. This requirement is not satisfied (as far as I can tell) by existing similar plugins: > - project.nvim > - telescope-project.nvim > - workspaces.nvim. > - neovim-session-manager > olddirs.nvim is very lightweight and doesn't provide any niceties (out of the box) like some of the above plugins, it's literally just :oldfiles for directories. > \ I say "out of the box" since some features like the searching or browsing of files inside a previous directory can be implemented by adding actions to the olddirs.nvim Telescope picker.
-
Switching between projects
There I also this one: https://github.com/ahmedkhalf/project.nvim
-
Could use some advice for managing projects in a way that fits my mental model and codebase. Monolithic codebase with project files spread around different working directories. Or just help me change my mental model.
Here's my suggestion: 1. Change current working directory to your logical folder, so you can open file/buffers within logical folder. 2. Use different tabs for different logical folders. Because you can set different tab-local working directories. Or use plugin that automatically change working directory to the logical folder the file belongs to. project.nvim does this well. 3. If you want to open or search monolithic folder, then find file with git files or search using git root as current working folder.
mini.nvim
- FLaNK AI Weekly 18 March 2024
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
This is essentially a tagline of mini.move.
-
Refactor files and update import paths
Just as the others suggested, oil.nvim solves this outta the box. I freaking love it (here my config in case ya need it). Apparently also mini.files handles this by default
-
Looking for good tutorials for learning to use neovim as an IDE.
For example: I spent a lot of time configuring file tree plugins to have the same sorting as VS Code, tweaking their icons, etc. But then I realized I barely used the file explorer at all, and now I'm super happy with the minimal approach of mini.files. I had similar experiences with other plugins that were just adding "fluff" instead of the functionality I was looking for.
- F/f/T/t highlight plugin?
-
mini.files updates - file preview, prefix customization, change target window, and more
Around two weeks ago I've announced the release of mini.files - a file explorer module of mini.nvim with column view navigation and "edit text to manipulate file system" design. This resulted into a great feedback from the community, much of which turned into new features.
-
New plugin: Notebook Navigator - Execute and manipulate code cells a la VSCode
A mini.ai textobject specification that you can use standalone
-
Set it and forget it plugins?
Most of mini.nvim modules are designed for require('mini.xxx').setup() to provide the best possible features out of the box. The ones with biggest quality of life improvement utilities for me are 'mini.ai', 'mini.surround', 'mini.pairs', 'mini.basics', 'mini.bracketed', 'mini.bufremove', 'mini.cursorword'. Of course, there are more UI stuff which I like but not necessarily fit others taste.
-
Which one is better?
MiniFuzzy.get_telescope_sorter() from mini.fuzzy. I found that it better represents what I expect from fuzzy matching than fzy: all that "favor with certain weight matching after certain characters" makes it less intuitive for me.
What are some alternatives?
vim-rooter - Changes Vim working directory to project root.
neovim-session-manager - A simple wrapper around :mksession.
telescope-project.nvim
surround.nvim - A surround text object plugin for neovim written in lua. (Fork from blackCauldron7/surround.nvim)
peek.nvim - Markdown preview plugin for Neovim
specs.nvim - 👓 A fast and lightweight Neovim lua plugin to keep an eye on where your cursor has jumped.
leap.nvim - Neovim's answer to the mouse 🦘
lsp_lines.nvim - Mirror of https://git.sr.ht/~whynothugo/lsp_lines.nvim
persistence.nvim - 💾 Simple session management for Neovim
clever-f.vim - Extended f, F, t and T key mappings for Vim.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
vim-buffer-history - A vim plugin to maintain a buffer jump history per window