oil.nvim
vim-eunuch
oil.nvim | vim-eunuch | |
---|---|---|
22 | 27 | |
2,690 | 1,783 | |
- | - | |
9.0 | 5.0 | |
10 days ago | 3 months ago | |
Lua | Vim Script | |
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.
oil.nvim
-
Practical Vim Command Workflow
Oil is great: https://github.com/stevearc/oil.nvim
It just treats your file structure as a buffer
-
Refactor files and update import paths
Hey , i'm using oil.nvim, it does integrate LSP rename file, but currently if you code in js you must apply this pull request https://github.com/stevearc/oil.nvim/pull/248 to fix refactor js ,ts file. (warning: the author says this pull request doesn't work with all pattern maybe it will be updated in future )
-
What are some plugins that you can't live without?
File explorer: oil.nvim
-
People who swear by Oil.nvim , why?
Hello, i've tried Oil.nvim and liked it , but when people talk about it , in general questions about FileTrees and File Browsers people really swear by Oil.nvim and got me wondering,what am i missing?
-
Best way to manipulate files inside neovim?
A very nice plugin which I use whenever I have to edit/create multiple files is oil.nvim
-
mini.files - navigate and manipulate file system (with column view and editing text)
For those that want this to replace `oil.nvim`, here are the keymaps I added to my config for it to behave the same as oil. The dash keymap will open `mini.files` in the current directory from the file you triggered the keymap. The `fe` keymap opens the `mini.files` at the root directory so you can use it like your file manager. I like that the location you leave the window when opening with `fe` is not affected by the location you leave the dash trigger. I hope that map makes sense. I use NvChad, so my mapping looks like this, but you should be able to use it in any distro or custom config.
-
Your favourite Neovim plugins?
https://github.com/stevearc/oil.nvim - file explorer
-
main file explorer plugin replacement?
Maybe https://github.com/stevearc/oil.nvim? Nvim tree and neotree both have floating mode as well which I prefer more.
- Oil.nvim is pretty cool
-
Which file explorer do you use?
I use oil.nvim.
vim-eunuch
-
Automatically make files with shebang executable using autocommands
Honorable mention : vim-eunch has this feature plus many other convenience commands.
-
Best way to manipulate files inside neovim?
I use eunuch.vim mostly by executing :Rename or :Remove or :Move. I also use this plugin whenever I have to manipulate multiple files in the working directory using :Cfind -name '*.lua' -type f which puts all .lua files in the cwd in the quickfix list then doing something like :cfdo lua vim.lsp.buf.format() to format all files.
-
Why :find is so slow compared to vscode/sublime file search feature?
If you are avoiding vim plugins due to external, non-standard dependencies (e.g. fzf), then you might be pleased to know that some plugins can solve this problem with standard linux utilities, like :Cfind and :Lfind from tpope/vim-eunuch which use the find linux utility.
-
Which file explorer do you use?
I use vim-dirvish(you probably want to pair this with vim-enunch), it's a more minimal version of Netrw.
- How can I rename (case sensitive) a buffer and reopen it?
-
Renaming current file
Try vim-eunuch lua {'tpope/vim-eunuch', config = function () vim.cmd('cnoreabbrev rename Rename') --:rgb + to trigger end},
-
Problems Moving Files with Netrw
I use netrw but I do moving, renaming etc with vim-eunuch and have done for about ten years. It just works how you'd expect it to.
- what is your startup time?
-
What shell commands do you invoke a lot from vi?
You might want to look into :Delete from tpope's vim-eunuch, along with wrappers for mkdir, chmod, etc.
-
Move file open in window relative to files location?
I did try: 1. Using the vim file explorer move command: 1. It does not implement autocomplete 1. I cannot use the vim movement shortcuts to move in the path, so I need to use the arrow keys to get before the file name. (dealbreaker) 1. It does not rename the buffer 1. Using eunuch plugin Move command: https://github.com/tpope/vim-eunuch 1. Relative paths were dependent on doing a change directory command first. That is fine but bothersome. 1. Required me to write the filename manually if I used the autocomplete. I did not find an efficient way to paste the current file name (without the path) to a command argument. 1. All in all quite close but still not good enough for me.
What are some alternatives?
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
nvim-tree.lua - A file explorer tree for neovim written in lua
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
barbar.nvim - The neovim tabline plugin.
ranger - A VIM-inspired filemanager for the console
neovim - Vim-fork focused on extensibility and usability
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
indentLine - A vim plugin to display the indention levels with thin vertical lines
harpoon
vim-bbye - Delete buffers and close files in Vim without closing your windows or messing up your layout. Like Bclose.vim, but rewritten and well maintained.