ReplaceWithSameIndentRegister
dirbuf.nvim
ReplaceWithSameIndentRegister | dirbuf.nvim | |
---|---|---|
1 | 23 | |
9 | 421 | |
- | - | |
10.0 | 0.0 | |
over 9 years ago | over 1 year ago | |
VimL | Lua | |
- | GNU Affero General Public License v3.0 |
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.
ReplaceWithSameIndentRegister
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
2 essential plugins for me that I don’t see talked about much anymore are vim-scripts/ReplaceWithRegister and vim-scripts/ReplaceWithSameIndentRegister. The vanilla way to do this is not super difficult, delete into the black hole register, then paste. Or visually select, then paste. And afterwards clean up the formatting if necessary. But I do this hundreds of times a day, the convenience of having a dedicated command for it is massive.
dirbuf.nvim
-
People who swear by Oil.nvim , why?
For me I think it’s the best at what it does (with mini.files coming in a close second. It would probably be my first, but I prefer the whole buffer approach over the floating popups.) I’ve tried dirbuf.nvim as well, but I didn’t like that I couldn’t copy/move files.
-
Workflow with nvim
Big fan of https://github.com/elihunter173/dirbuf.nvim
-
What are the plugins you consider necessary to have a great neovim experience?
Shout-out to dirbuf.nvim as it is one of my favorite plugins I cannot live without, but I see it rarely mentioned. It allows you to do file management by editing a file, so you can do anything you would do to edit any regular file. There are no new keymaps to learn, you just use any regular motion, :s, :g, or anything you can think of. Great for bulk renaming!
-
My thoughts about editors in 2022
While I do use file managers often (ranger and dolphin are pretty nice overall), within Neovim my file management is fairly reduced. I use dirbuf when I need to browse through files (for refactors or something), and since it's dired-like its a lot more built into the "vim-as-a-language" mindset. Not to say I do a whole lot in it, but it is quicker than having to do shell stuff within Neovim. I think file-tree plugins tend to just miss the concept for me, as I never found them to be anything more than just "look and see" due to disconnect from the aforementioned "vim-as-a-language"
-
What file explorer do you use?
https://github.com/elihunter173/dirbuf.nvim, it's basically netrw done right.
-
netwr like file explorer for neovim?
https://github.com/elihunter173/dirbuf.nvim might just be the thing. In terms of navigating it's as minimal as it can be:
-
What file manager do you use?
I use fish shell with z plugin to quickly jump to directories and nnn file manager mainly to select files for deletion. I also use dirbuf plugin for neovim when working inside this editor.
-
neovim plugins that have improved your workflow
dirbuf.nvim!
-
Which file browser do you use ?
dirbuf mostly. Anything really advanced and I'll just open a new ranger session
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
dirbuf doesn't get enough attention. It's a robust, simple, yet featureful replacement for the netrw plugin built into Vim/NeoVim. It allows directories to be treated somewhat like files - edit a directory, and you get a directory listing. That listing can be modified - add files, edit files, delete files, and the result ends up on disk. A much simpler and more-Vimy alternative to tree plugins like NeoTree, in my view.
What are some alternatives?
dial.nvim - enhanced increment/decrement plugin for Neovim.
vimv - Batch-rename files using Vim
nvim-bufdel - A Neovim plugin to improve buffer deletion
nvim-tree.lua - A file explorer tree for neovim written in lua
vim-search-pulse - Easily locate the cursor after a search
vim-filebeagle - A VINE-spired (Vim Is Not Emacs) file system explorer.
vim-textobj-variable-segment - A text object to turn foo_bar_baz into foo_baz *and* quuxSpamEggs into quuxEggs *and* shine your shoes
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
nvim-miniyank - killring-alike plugin for neovim and vim 8 with no default mappings
nnn.nvim - File manager for Neovim powered by nnn.
diffconflicts - A better Vimdiff Git mergetool
lir.nvim - Neovim file explorer