vim-eunuch
bufferline.nvim
vim-eunuch | bufferline.nvim | |
---|---|---|
27 | 70 | |
1,783 | 3,150 | |
- | - | |
5.0 | 7.6 | |
3 months ago | 3 days ago | |
Vim Script | Lua | |
- | GNU General Public License v3.0 only |
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-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.
bufferline.nvim
-
Get vim background on plugin configuration
So, I'm using bufferline and I want to setup some highlight colors based on the current Neovim theme (light or dark). While Neovim is working, if I run :lua print(vim.o.background) effectively gives me light or dark according to the current Neovim theme. BUT, doing so in the plugin's configuration does not work:
-
How do i get rid of the "NvimTree_1"
if you use bufferline you can override with: lua options = { offsets = { { filetype = "NvimTree", text = "File Explorer", text\_align = "center" } } }
-
File Browser
I’m not familiar with Nvchad but I’m sure they’re using some kind of plugin that show buffers as tabs, you could try something like bufferline.nvim
- Your favourite Neovim plugins?
-
Where can I get these fancy looking tabs?
there are many ways to achieve that. i recommend bufferline.
-
edgy.nvim: Easily create and manage predefined window layouts, bringing a new edge to your workflow
🧩 Works with any plugin. Check Show and Tell for snippets to integrate even better with plugins like neo-tree.nvim, bufferline.nvim
-
What's a very simple config change that you can't live without?
Left and right arrows to switch between buffers. I used to pair this with giving every buffer its own tab, but now I just use Bufferline which functions similarly.
-
Customized Everblush Theme
I'm currently using bufferline.nvim with scope.nvim. I made a github repo with the modifications and credits to Everblush, but I'm not sure if it's allowed, since Everblush doesn't have a License. If It's not allowed, then I'll just delete the repo and forke the Everblush repo.
-
i want to be able to see all my buffers at once. is it possible to have a buffer tree, or multiline buffers?
I used bufferline https://github.com/akinsho/bufferline.nvim
-
[Fix] "E5108...Segments must be a list" Bufferline Error Message
I believe this bug was fixed in bufferline.nvim's PR#727.
What are some alternatives?
nvim-tree.lua - A file explorer tree for neovim written in lua
barbar.nvim - The neovim tabline plugin.
nvim-tabline - Tabline for neovim written in lua
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
neovim - Vim-fork focused on extensibility and usability
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
indentLine - A vim plugin to display the indention levels with thin vertical lines
neovim-config - My Neovim configuration.
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.
buftabline.nvim - A low-config, minimalistic buffer tabline Neovim plugin written in Lua.