vim-rooter
Vim
Our great sponsors
vim-rooter | Vim | |
---|---|---|
24 | 52 | |
1,190 | 13,279 | |
- | 2.0% | |
4.4 | 9.4 | |
4 days ago | 2 days ago | |
Vim Script | TypeScript | |
MIT License | 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.
vim-rooter
-
netrw made better
This or users may have monorepo style projects and vim-rooter to auto-set cwd to specific directories within the project based on certain file markers (e.g. makefile, package.json, ...etc), to accomplish something like :e dir1/file.go | make would run make and then :e dir2/file2.ts | make would run npm.
-
How to go up a directory while inside of telescope.nvim?
maybe you are already doing this and you want to access files outside the project directory but if not I use vim-rooter to set the root dir of the project automatically when I open vim
-
You don't need 'vim-rooter' (usually) or How to set up smart autochange of current directory
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:
-
Vim Issue with opened buffer file location
It depends where you open vim. If you are in home and open a file (even in sub directories) like nvim directory/file.txt, uour vim's current working directory (aka cwd) will be home. A way to make this automatic I think is the built in autocd (or something like that) and plugins like vim-rooter.
-
How to stop Telescope from changing the root directory after opening a file?
An alternative would be using a plugin like vim-rooter : https://github.com/airblade/vim-rooter
- NvimTree - how to get this behaviour?
-
How to properly cd, so plugins pick up project root?
I just use rooter and avoid thinking about it...
-
How to automatically cd to the git root of the current buffer?
There's vim-rooter, which is great.
- Whenever I'm looking for plugins these days [OC]
-
What’s the best start up screen written in Lua?
No, it doesn't change current directory. For that, use sessions or airblade/vim-rooter (or wait around couple of months for planned 'mini.root' :) ). And, of course, you can create custom items which will change current directory.
Vim
- The IDEs we had 30 years ago and we lost
- The Loneliness of the Mid-Level Vimmer
-
Multiple Notepad++ Flaws Let Attackers Execute Arbitrary Code
I find the Vim extension for VS Code has macro support that is good enough for most of my use cases (if you’re a fan of Vim key bindings - obviously).
https://github.com/VSCodeVim/Vim/blob/master/ROADMAP.md#repe...
-
VSCode with Neovim?
that's why I just use https://github.com/VSCodeVim/Vim if I have to use VSCode
-
Can i change a with i and vice versa in command mode.
They have discussions enabled on the GitHub repository; eventually r/vscode might be of help.
-
Neovim vs VSCode Neovim - what are the tradeoffs?
What you would learn from using a neovim addon for VS Code covers most of the first point and some of the second - VSCode Vim lets you run neovim in a headless mode that relays keypresses to it, and emulates several popular addons. It also comes without quite as much hassle as comes from the second step of learning to configure vim/neovim yourself. Most VSCode extensions work pretty well out of the box, maybe requiring you to add the path to a compiler/interpreter that is not on your PATH.
-
Vim extension for VS Code lacks "virtualedit" option and cursor doesn't reach the end
The extension does have visualedit. You can check the list of supported features here: https://github.com/VSCodeVim/Vim/blob/HEAD/ROADMAP.md
-
How to achieve VSCode's vim like jsx and imports folding in doom emacs
I though VSCode's vim emulation had issues with code folding
-
I'm stuck between CB-GK-16 and 617, I like 617 more cause it looks better. Now the situation is I'm a programmer, I don't mind learning new bindings but is it worth it? If you have any experiences that would help me, please share them with me :)
Either I go with K552 or save for RK84 if not CB-GK-16 and both of these are pretty good choice that's certain, or I go with 617 Fizz and use VIM keybinding which Isn't an issue for me cause I've been using NeoVim for more than 1 year, you can grab my dotfiles if you want. Most people won't go with 60% cause they are used to arrow, home, end ... keys so am I with vs code but today I found out about vscodevim extension which enables vim keybinding , these keybindings pretty easy to use more than arrow, home, end .. keys if yo're a vim user like Shift + $ = end, Shift + 0 = home, in visual mode V to select text etc ...
- Undo (“u”) stopped working as intend – Issue #8157 – VSCodeVim/Vim
What are some alternatives?
project.nvim - The superior project management solution for neovim.
vscode-live-server - Launch a development local Server with live reload feature for static & dynamic pages.
vim-startify - :link: The fancy start screen for Vim.
vscode-neovim - Vim mode for VSCode, powered by Neovim
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
nvim-spectre - Find the enemy and replace them with dark power.
SpaceVim - A community-driven modular vim/neovim distribution - The ultimate vimrc
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vimrc - The ultimate Vim configuration (vimrc)
replacer.nvim - A powerful refactoring tool for nvim.
coc-java - Java extension for coc.nvim